summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpuid.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-04-15 21:19:54 +0200
committerThomas Gleixner <tglx@linutronix.de>2022-04-27 20:22:19 +0200
commit0dfaf3f6ecc0c7f4f876255aa82e8959d3721365 (patch)
tree18882f052822ae061437d6f1c7485187d1429262 /arch/x86/kernel/cpuid.c
parent138a7f9c6beae8d652113b8e7a44994b4200bbcd (diff)
downloadlinux-stable-0dfaf3f6ecc0c7f4f876255aa82e8959d3721365.tar.gz
linux-stable-0dfaf3f6ecc0c7f4f876255aa82e8959d3721365.tar.bz2
linux-stable-0dfaf3f6ecc0c7f4f876255aa82e8959d3721365.zip
x86/aperfmperf: Untangle Intel and AMD frequency invariance init
AMD boot CPU initialization happens late via ACPI/CPPC which prevents the Intel parts from being marked __init. Split out the common code and provide a dedicated interface for the AMD initialization and mark the Intel specific code and data __init. The remaining text size is almost cut in half: text: 2614 -> 1350 init.text: 0 -> 786 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.592465719@linutronix.de
Diffstat (limited to 'arch/x86/kernel/cpuid.c')
0 files changed, 0 insertions, 0 deletions