x86/mm/numa: Move early mptable evaluation into common code
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:16 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:41 +0000 (22:07 +0100)
commitde6aec241750a4f9d33d0e055d97fb3e0170c31a
tree86ada806f9c4febd192c8115f103cb0346672e1d
parentdcb7600849ce9b3d9b3d2965f452287f06fc9093
x86/mm/numa: Move early mptable evaluation into common code

There is no reason to have the early mptable evaluation conditionally
invoked only from the AMD numa topology code.

Make it explicit and invoke it from setup_arch() right after the
corresponding ACPI init call. Remove the pointless wrapper and invoke
x86_init::mpparse::early_parse_smp_config() directly.

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/20240212154639.931761608@linutronix.de
arch/x86/include/asm/mpspec.h
arch/x86/kernel/setup.c
arch/x86/mm/amdtopology.c