second round of amd-pstate changess for 6.12 (second try)
The following changes since commit 6b612d1bac67b0f483fde7779a45f6310274d4eb:
cpufreq: ti-cpufreq: Use socinfo to get revision in AM62 family
(2024-09-04 20:43:59 +0530)
are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.12-2024-09-11
for you to fetch changes up to93497752dfed196b41d2804503e80b9a04318adb:
cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
(2024-09-11 10:53:03 -0500)
----------------------------------------------------------------
second round of amd-pstate changes for 6.12 (second try):
* Move the calculation of the AMD boost numerator outside of amd-pstate, correcting acpi-cpufreq on systems with preferred cores
* Harden preferred core detection to avoid potential false positives
* Add extra unit test coverage for mode state machine
----------------------------------------------------------------
Mario Limonciello (13):
x86/amd: Move amd_get_highest_perf() from amd.c to cppc.c
ACPI: CPPC: Adjust return code for inline functions in
!CONFIG_ACPI_CPPC_LIB
x86/amd: Rename amd_get_highest_perf() toamd_get_boost_ratio_numerator()
ACPI: CPPC: Drop check for non zero perf ratio
ACPI: CPPC: Adjust debug messages in amd_set_max_freq_ratio() to warn x86/amd: Move amd_get_highest_perf() out of amd-pstate x86/amd: Detect preferred cores in amd_get_boost_ratio_numerator()
cpufreq: amd-pstate: Merge amd_pstate_highest_perf_set() intoamd_get_boost_ratio_numerator()
cpufreq: amd-pstate: Optimize amd_pstate_update_limits()
cpufreq: amd-pstate: Add documentation for amd_pstate_hw_prefcore
amd-pstate: Add missing documentation foramd_pstate_prefcore_ranking
cpufreq/amd-pstate: Export symbols for changing modes cpufreq/amd-pstate-ut: Add test case for mode switches
Qianqiang Liu (1):
cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
Documentation/admin-guide/pm/amd-pstate.rst | 15 ++++++++++++++- arch/x86/include/asm/processor.h | 3 --- arch/x86/kernel/acpi/cppc.c | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------- arch/x86/kernel/cpu/amd.c | 16 ---------------- drivers/cpufreq/acpi-cpufreq.c | 12 +++++++++--- drivers/cpufreq/amd-pstate-ut.c | 41 ++++++++++++++++++++++++++++++++++++++++- drivers/cpufreq/amd-pstate.c | 151 +++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- drivers/cpufreq/amd-pstate.h | 14 ++++++++++++++ include/acpi/cppc_acpi.h | 41 ++++++++++++++++++++++++++++------------- 9 files changed, 305 insertions(+), 160 deletions(-)
Hi Mario,
Quoted 54 lines · Mario Limonciello
The following changes since commit
6b612d1bac67b0f483fde7779a45f6310274d4eb:cpufreq: ti-cpufreq: Use socinfo to get revision in AM62 family
(2024-09-04 20:43:59 +0530)are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.12-2024-09-11
for you to fetch changes up to
93497752dfed196b41d2804503e80b9a04318adb:cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
(2024-09-11 10:53:03 -0500)----------------------------------------------------------------
second round of amd-pstate changes for 6.12 (second try):* Move the calculation of the AMD boost numerator outside of amd-pstate, correcting acpi-cpufreq on systems with preferred cores
* Harden preferred core detection to avoid potential false positives
* Add extra unit test coverage for mode state machine----------------------------------------------------------------
Mario Limonciello (13):
x86/amd: Moveamd_get_highest_perf()fromamd.ctocppc.c
ACPI: CPPC: Adjust return code for inline functions in
!CONFIG_ACPI_CPPC_LIB
x86/amd: Renameamd_get_highest_perf()toamd_get_boost_ratio_numerator()
ACPI: CPPC: Drop check for non zero perf ratio
ACPI: CPPC: Adjust debug messages inamd_set_max_freq_ratio()to warn x86/amd: Moveamd_get_highest_perf()out of amd-pstate x86/amd: Detect preferred cores inamd_get_boost_ratio_numerator()
cpufreq: amd-pstate: Mergeamd_pstate_highest_perf_set()intoamd_get_boost_ratio_numerator()
cpufreq: amd-pstate: Optimizeamd_pstate_update_limits()
cpufreq: amd-pstate: Add documentation foramd_pstate_hw_prefcore
amd-pstate: Add missing documentation foramd_pstate_prefcore_ranking
cpufreq/amd-pstate: Export symbols for changing modes cpufreq/amd-pstate-ut: Add test case for mode switchesQianqiang Liu (1):
cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
Quoted 14 lines
Documentation/admin-guide/pm/amd-pstate.rst | 15 ++++++++++++++- arch/x86/include/asm/processor.h | 3 --- arch/x86/kernel/acpi/cppc.c | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------- arch/x86/kernel/cpu/amd.c | 16 ---------------- drivers/cpufreq/acpi-cpufreq.c | 12 +++++++++--- drivers/cpufreq/amd-pstate-ut.c | 41 ++++++++++++++++++++++++++++++++++++++++- drivers/cpufreq/amd-pstate.c | 151 +++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- drivers/cpufreq/amd-pstate.h | 14 ++++++++++++++ include/acpi/cppc_acpi.h | 41 ++++++++++++++++++++++++++++------------- 9 files changed, 305 insertions(+), 160 deletions(-)
Pulled and added to the linux-next branch in linux-pm.git, thanks!