Commit ec3c28d1 authored by Riwen Lu's avatar Riwen Lu Committed by Zheng Zengkai
Browse files

ACPI: processor: Remove freq Qos request for all CPUs

stable inclusion
from stable-v5.10.140
commit 8d5f8a4f25b1cb88e5a75e83e223e1197f9d734d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I63FTT

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8d5f8a4f25b1cb88e5a75e83e223e1197f9d734d



--------------------------------

commit 36527b9d 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: a1bb46c3 ("ACPI: processor: Add QoS requests for all CPUs")
Reported-by: default avatarJeremy Linton <Jeremy.Linton@arm.com>
Tested-by: default avatarJeremy Linton <jeremy.linton@arm.com>
Signed-off-by: default avatarRiwen Lu <luriwen@kylinos.cn>
Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent b175f5de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment