x86/cpu/topology: Mop up primary thread mask handling
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:06:05 +0000 (22:06 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:44 +0000 (22:07 +0100)
commit882e0cff9ef340e7a47659a9aab9da64f4b9b847
treecc12b681e883300658bb8db249aec15e7a6435ea
parent090610ba704a66d7a58919be3bad195f24499ecb
x86/cpu/topology: Mop up primary thread mask handling

The early initcall to initialize the primary thread mask is not longer
required because topology_init_possible_cpus() can mark primary threads
correctly when initializing the possible and present map as the number of
SMT threads is already determined correctly.

The XENPV workaround is not longer required because XENPV now registers
fake APIC IDs which will just work like any other enumeration.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240213210252.736104257@linutronix.de
arch/x86/kernel/cpu/topology.c