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:Pratyush Yadav <ptyadav@amazon.de> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by:
Pratyush Yadav <ptyadav@amazon.de> Tested-by:
Pratyush Yadav <ptyadav@amazon.de> Tested-by:
Hagar Hemdan <hagarhem@amazon.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment