Commit 56d3ea8a authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by sanglipeng
Browse files

cpufreq: intel_pstate: Drop ACPI _PSS states table patching

stable inclusion
from stable-v5.10.190
commit f0acd6c3a2cd9d65f385d8ef9ecce206c1418743
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

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



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

commit e8a0e30b upstream.

After making acpi_processor_get_platform_limit() use the "no limit"
value for its frequency QoS request when _PPC returns 0, it is not
necessary to replace the frequency corresponding to the first _PSS
return package entry with the maximum turbo frequency of the given
CPU in intel_pstate_init_acpi_perf_limits() any more, so drop the
code doing that along with the comment explaining it.

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: default avatarHagar Hemdan <hagarhem@amazon.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 5c906f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment