[PATCH v2 0/2] cpufreq: cppc: Add update_limits support for Highest Performance changes

Xueqin Luo posted 2 patches 1 month ago
There is a newer version of this series
drivers/cpufreq/cppc_cpufreq.c | 89 +++++++++++++++++++++++++++++-----
1 file changed, 76 insertions(+), 13 deletions(-)
[PATCH v2 0/2] cpufreq: cppc: Add update_limits support for Highest Performance changes
Posted by Xueqin Luo 1 month ago
Hi,

This series adds update_limits support for cppc_cpufreq to handle
dynamic Highest Performance updates triggered by ACPI Notify(0x85).

According to the ACPI CPPC specification, OSPM is required to
re-evaluate the Highest Performance register when Notify(0x85)
is received for a processor device.

Patch 1 refactors the autonomous performance limit programming
logic into a helper function.

Patch 2 implements cppc_cpufreq_update_limits() to refresh the
cached highest_perf capability and update autonomous performance
bounds when needed.

Changes in v2:

Fix incorrect variable name causing build issue

Thanks.

Xueqin Luo (2):
  cpufreq: cppc: Refactor autonomous perf limit programming
  cpufreq: cppc: Add update_limits support for Highest Performance
    changes

 drivers/cpufreq/cppc_cpufreq.c | 89 +++++++++++++++++++++++++++++-----
 1 file changed, 76 insertions(+), 13 deletions(-)

-- 
2.43.0