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

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Jun 23 10:36:41 UTC 2021


On Wed, Jun 23, 2021 at 6:31 PM Timo Aaltonen <tjaalton at ubuntu.com> 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?

Maybe "include" is more accurate.

>
> looks like it's just two patches, maybe best to send to the list instead

I think I did...
https://lists.ubuntu.com/archives/kernel-team/2021-June/121585.html
https://lists.ubuntu.com/archives/kernel-team/2021-June/121586.html

Kai-Heng

>

>
> --
> t



More information about the kernel-team mailing list