Rafael J. Wysocki 99387b0160 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
Modify acpi_processor_get_platform_limit() to avoid updating its
frequency QoS request when the _PPC return value has not changed
by comparing that value to the previous _PPC return value stored in
the performance_platform_limit field of the struct acpi_processor
corresponding to the given CPU.

While at it, do the _PPC return value check against the state count
earlier, to avoid setting performance_platform_limit to an invalid
value, and make acpi_processor_ppc_init() use FREQ_QOS_MAX_DEFAULT_VALUE
as the "no limit" frequency QoS for consistency.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-12-30 19:10:02 +01:00
..
2022-12-12 13:55:31 -08:00
2022-12-13 19:29:45 -08:00
2022-10-03 20:09:22 +02:00
2022-12-12 13:38:17 -08:00
2022-12-12 13:38:17 -08:00
2022-12-15 18:38:22 +01:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2022-12-12 13:38:17 -08:00
2022-01-22 08:33:37 +02:00
2022-09-30 20:05:16 +02:00
2022-10-03 20:09:22 +02:00
2022-09-09 09:26:22 +02:00