ACPI: cpufreq: Add highest perf change notification
authorMeng Li <li.meng@amd.com>
Fri, 19 Jan 2024 09:04:59 +0000 (17:04 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Jan 2024 13:54:50 +0000 (14:54 +0100)
commit9c4a13a08a9b7afa4bc33f57675358f0195e302c
tree881d7bcb597fa83f92d793d84a9c07b0434dbab0
parentf3a052391822b772b4e27f2594526cf1eb103cab
ACPI: cpufreq: Add highest perf change notification

Platform firmware sends notify 0x85 to inform the OS that the highest
performance of a CPU has changed.

This will be used by the AMD P-state driver to update the ranking of
preferred cores and set the priority of cores accordingly.

Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Meng Li <li.meng@amd.com>
Link: https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#processor-device-notification-values
[ rjw: New subject, changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_driver.c
include/linux/cpufreq.h