]> git.baikalelectronics.ru Git - kernel.git/commit
x86/aperfmperf: Separate AP/BP frequency invariance init
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Apr 2022 19:19:53 +0000 (21:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 Apr 2022 13:51:08 +0000 (15:51 +0200)
commitfdbb94ddd7b171453c05f19a7f000c37e0dcc324
treeb72037da2554e7af9dcd468ae68322ad3a713388
parente57522f3ad91dda5fed5c15b3a5ca578895883c3
x86/aperfmperf: Separate AP/BP frequency invariance init

This code is convoluted and because it can be invoked post init via the
ACPI/CPPC code, all of the initialization functionality is built in instead
of being part of init text and init data.

As a first step create separate calls for the boot and the application
processors.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lore.kernel.org/r/20220415161206.536733494@linutronix.de
arch/x86/include/asm/topology.h
arch/x86/kernel/acpi/cppc.c
arch/x86/kernel/cpu/aperfmperf.c
arch/x86/kernel/smpboot.c