]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: processor: Remove freq Qos request for all CPUs
authorRiwen Lu <luriwen@kylinos.cn>
Tue, 23 Aug 2022 07:43:42 +0000 (15:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:15:23 +0000 (17:15 +0200)
commit8d5f8a4f25b1cb88e5a75e83e223e1197f9d734d
treeb39b5e10412a10b8f1e05b1f1bbdf6cec5964c19
parent297ae7e87a87a001dd3dfeac1cb26a42fd929708
ACPI: processor: Remove freq Qos request for all CPUs

commit 36527b9d882362567ceb4eea8666813280f30e6f upstream.

The freq Qos request would be removed repeatedly if the cpufreq policy
relates to more than one CPU. Then, it would cause the "called for unknown
object" warning.

Remove the freq Qos request for each CPU relates to the cpufreq policy,
instead of removing repeatedly for the last CPU of it.

Fixes: a1bb46c36ce3 ("ACPI: processor: Add QoS requests for all CPUs")
Reported-by: Jeremy Linton <Jeremy.Linton@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Riwen Lu <luriwen@kylinos.cn>
Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/processor_thermal.c