x86/cpu/topology: Use topology logical mapping mechanism
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:06:09 +0000 (22:06 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:44 +0000 (22:07 +0100)
commit380414be78bf8dbe1c3ed98feb75e2579c4a1bae
treef32f8bf04847d62e4312bd15dcf6b9b12217d70b
parentb7065f4f844c7876ed071b67e2ba57838152bd63
x86/cpu/topology: Use topology logical mapping mechanism

Replace the logical package and die management functionality and retrieve
the logical IDs from the topology bitmaps.

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.901865302@linutronix.de
arch/x86/include/asm/topology.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/topology_common.c
arch/x86/kernel/smpboot.c