Adjustments for preferred core detection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest11 patches 6 repliesIn review
- v211 patches 6 repliesSuperseded
- v18 patches 26 repliesSuperseded
Changes in v3 from the cover letter · 16 lines
* Pick up tags
* Fix LKP reported issue
Mario Limonciello (11):
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() to
amd_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() into
amd_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 for
amd_pstate_prefcore_ranking
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | x86/amd: Move amd_get_highest_perf() from amd.c to cppc.carch/ arch/ | +16 | 0 replies | |
| 2/11 | ACPI: CPPC: Adjust return code for inline functions in !CONFIG_ACPI_CPPC_LIBinclude/ | +13 | 0 replies | |
| 3/11 | x86/amd: Rename amd_get_highest_perf() to amd_get_boost_ratio_numerator()arch/ arch/ drivers/ +1 more | +46 | 0 replies | |
| 4/11 | ACPI: CPPC: Drop check for non zero perf ratioarch/ | +1 | 0 replies | |
| 5/11 | ACPI: CPPC: Adjust debug messages in amd_set_max_freq_ratio() to warnarch/ | +3 | 0 replies | |
| 6/11 | x86/amd: Move amd_get_highest_perf() out of amd-pstatearch/ drivers/ include/ | +37 | 0 replies | |
| 7/11 | x86/amd: Detect preferred cores in amd_get_boost_ratio_numerator()arch/ drivers/ include/ | +101 | 0 replies | |
| 8/11 | cpufreq: amd-pstate: Merge amd_pstate_highest_perf_set() into amd_get_boost_ratio_numerator()Documentation/ arch/ drivers/ | +28 | 0 replies | |
| 9/11 | cpufreq: amd-pstate: Optimize amd_pstate_update_limits()drivers/ | +5 | 0 replies | |
| 10/11 | cpufreq: amd-pstate: Add documentation for `amd_pstate_hw_prefcore`Documentation/ | +5 | 2 replies | |
| 11/11 | amd-pstate: Add missing documentation for `amd_pstate_prefcore_ranking`Documentation/ | +8 | 0 replies |
Reviews trailers per patch
All 11 patches have a Reviewed-by or Acked-by.
| Patch | Perry Yuan | Gautham R. Shenoy |
|---|---|---|
| 1/11 | R-b | R-b |
| 2/11 | R-b | |
| 3/11 | R-b | |
| 4/11 | R-b | |
| 5/11 | R-b | R-b |
| 6/11 | R-b | R-b |
| 7/11 | R-b | |
| 8/11 | R-b | |
| 9/11 | R-b | R-b |
| 10/11 | R-b | |
| 11/11 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/11] Adjustments for preferred core detection
From: Mario Limonciello <[email protected]>
Preferred core detection is fragile in that any CPU that reports less than 255 for any core is assumed to be a preferred core design. This might not always be true, so it's better to check all CPUs and see that varying values are actually reported.
Furthermore, preferred core detection isn't used by acpi-cpufreq. So incorrect frequencies are used unless amd-pstate is active.
This series moves preferred core detection out of amd-pstate in a more robust fashion. It also removes some tech debt of hardcoded values for platforms that are actually preferred core platforms.
This branch is based off v6.11-rc6.
v2->v3:
* Pick up tags
* Fix LKP reported issue
Mario Limonciello (11):
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() to
amd_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() into
amd_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 for
amd_pstate_prefcore_ranking
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.c | 128 ++++----------- include/acpi/cppc_acpi.h | 41 +++-- 7 files changed, 241 insertions(+), 146 deletions(-)
Signature · 1 line
2.43.0