[v2,0/3] Add support for frequency invariance to AMD EPYC Zen2
mbox series

Message ID 20201110183054.15883-1-ggherdovich@suse.cz
Headers show
Series
  • Add support for frequency invariance to AMD EPYC Zen2
Related show

Message

Giovanni Gherdovich Nov. 10, 2020, 6:30 p.m. UTC
v1 at https://lore.kernel.org/lkml/20201110083936.31994-1-ggherdovich@suse.cz/

Changes wrt v1:

- made initialization safe under CPU hotplug.
  The function init_freq_invariance_cppc now lets only the first caller
  into init_freq_invariance().

Giovanni Gherdovich (2):
  x86, sched: Use midpoint of max_boost and max_P for frequency
    invariance on AMD EPYC
  x86: Print ratio freq_max/freq_base used in frequency invariance
    calculations

Nathan Fontenot (1):
  x86, sched: Calculate frequency invariance for AMD systems

 arch/x86/include/asm/topology.h |  8 ++++
 arch/x86/kernel/smpboot.c       | 84 +++++++++++++++++++++++++++++++--
 drivers/acpi/cppc_acpi.c        |  3 ++
 3 files changed, 90 insertions(+), 5 deletions(-)

Comments

Giovanni Gherdovich Nov. 10, 2020, 8:10 p.m. UTC | #1
On Tue, 2020-11-10 at 19:30 +0100, Giovanni Gherdovich wrote:
> v1 at https://lore.kernel.org/lkml/20201110083936.31994-1-ggherdovich@suse.cz/
> 
> Changes wrt v1:
> 
> - made initialization safe under CPU hotplug.
>   The function init_freq_invariance_cppc now lets only the first caller
>   into init_freq_invariance().
> 
> Giovanni Gherdovich (2):
>   x86, sched: Use midpoint of max_boost and max_P for frequency
>     invariance on AMD EPYC
>   x86: Print ratio freq_max/freq_base used in frequency invariance
>     calculations
> 
> Nathan Fontenot (1):
>   x86, sched: Calculate frequency invariance for AMD systems
> 
>  arch/x86/include/asm/topology.h |  8 ++++
>  arch/x86/kernel/smpboot.c       | 84 +++++++++++++++++++++++++++++++--
>  drivers/acpi/cppc_acpi.c        |  3 ++
>  3 files changed, 90 insertions(+), 5 deletions(-)
> 

Hello,

I've sent a V3 at
https://lore.kernel.org/lkml/20201110200519.18180-1-ggherdovich@suse.cz/
which is slightly better than this V2.

Please ignore V2, the V3 submission is the most up-to-date.
Sorry for the noise.


Giovanni