x86/cpu/cacheinfo: Remove cpu_callout_mask dependency
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 May 2023 21:07:14 +0000 (23:07 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 May 2023 11:44:52 +0000 (13:44 +0200)
commita32226fa3b7d33d380494cf94cf1d4f8ebb70004
treeceedf475d65e2fc13bb9b9f3dece8f021c62e062
parente94cd1503b153ea753f0c4ed9d5ed12e7abd1306
x86/cpu/cacheinfo: Remove cpu_callout_mask dependency

cpu_callout_mask is used for the stop machine based MTRR/PAT init.

In preparation of moving the BP/AP synchronization to the core hotplug
code, use a private CPU mask for cacheinfo and manage it in the
starting/dying hotplug state.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205256.035041005@linutronix.de
arch/x86/kernel/cpu/cacheinfo.c