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

ACPI: processor: perflib: Use the "no limit" frequency QoS

stable inclusion
from stable-v5.10.190
commit ad938dd2af281a63ed8fb66a7b169a937f0a8369
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=ad938dd2af281a63ed8fb66a7b169a937f0a8369



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

commit c02d5feb upstream.

When _PPC returns 0, it means that the CPU frequency is not limited by
the platform firmware, so make acpi_processor_get_platform_limit()
update the frequency QoS request used by it to "no limit" in that case.

This addresses a problem with limiting CPU frequency artificially on
some systems after CPU offline/online to the frequency that corresponds
to the first entry in the _PSS return package.

Reported-by: default avatarPratyush Yadav <ptyadav@amazon.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarPratyush Yadav <ptyadav@amazon.de>
Tested-by: default avatarPratyush Yadav <ptyadav@amazon.de>
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 4435bc80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment