[PATCH v2 0/3] Add support for frequency invariance to AMD EPYC Zen2

From: Giovanni Gherdovich
Date: Tue Nov 10 2020 - 13:31:12 EST


v1 at https://lore.kernel.org/lkml/20201110083936.31994-1-ggherdovich@xxxxxxx/

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(-)

--
2.26.2