diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-04-15 21:19:54 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-04-27 20:22:19 +0200 |
commit | 0dfaf3f6ecc0c7f4f876255aa82e8959d3721365 (patch) | |
tree | 18882f052822ae061437d6f1c7485187d1429262 /lib/rbtree_test.c | |
parent | x86/aperfmperf: Separate AP/BP frequency invariance init (diff) | |
download | linux-0dfaf3f6ecc0c7f4f876255aa82e8959d3721365.tar.xz linux-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 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions