[SRU] [OEM-5.10] [PATCH 0/2] Pull in AMD Ryzen CPPC fixes

Timo Aaltonen tjaalton at ubuntu.com
Wed Jun 23 10:41:22 UTC 2021


On 23.6.2021 13.31, Timo Aaltonen wrote:
> On 22.6.2021 20.16, Kai-Heng Feng wrote:
>> BugLink: https://bugs.launchpad.net/bugs/1928482
>>
>> [Impact]
>> Incorrect frequencies are calculated, so the performance can be
>> affected.
>>
>> [Fix]
>>
>> [Test]
>> Without the fix:
>> $ lscpu | grep MHz
>> CPU MHz:                         1391.161
>> CPU max MHz:                     4806.6401
>> CPU min MHz:                     1600.0000
>>
>> Witht he fix:
>> $ lscpu | grep MHz
>> CPU MHz:                         1600.000
>> CPU max MHz:                     4287.7920
>> CPU min MHz:                     1600.0000
>>
>> [Where problems could occur]
>> This change is specific to limited AMD CPU models, unless there's a
>> typo on the numbers, regression risk is rather low.
>>
>> Huang Rui (1):
>>    x86, sched: Fix the AMD CPPC maximum performance value on certain AMD
>>      Ryzen generations
>>
>> Nathan Fontenot (1):
>>    x86, sched: Calculate frequency invariance for AMD systems
>>
>>   arch/x86/include/asm/processor.h |  2 +
>>   arch/x86/include/asm/topology.h  |  5 +++
>>   arch/x86/kernel/cpu/amd.c        | 16 +++++++
>>   arch/x86/kernel/smpboot.c        | 76 +++++++++++++++++++++++++++++---
>>   drivers/acpi/cppc_acpi.c         |  7 +++
>>   drivers/cpufreq/acpi-cpufreq.c   |  6 ++-
>>   6 files changed, 106 insertions(+), 6 deletions(-)
>>
> 
> pull from where?
> 
> looks like it's just two patches, maybe best to send to the list instead

ahah, they didn't have 'oem-5.10' in the subject, so the silly email 
client didn't show them :)


-- 
t



More information about the kernel-team mailing list