]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/topo: Replace x86_has_numa_in_package
authorPeter Zijlstra <peterz@infradead.org>
Tue, 3 Mar 2026 10:55:42 +0000 (11:55 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 4 Mar 2026 15:35:08 +0000 (16:35 +0100)
commit717b64d58cff6fb97f97be07e382ed7641167a56
tree9ee8a2dc689e6a61d7f33ff5d72a85f1b729a47b
parentae6730ff42b3a13d94b405edeb5e40108b6d21b6
x86/topo: Replace x86_has_numa_in_package

.. with the brand spanking new topology_num_nodes_per_package().

Having the topology setup determine this value during MADT/SRAT parsing before
SMP bringup avoids having to detect this situation when building the SMP
topology masks.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Tested-by: Kyle Meyer <kyle.meyer@hpe.com>
Link: https://patch.msgid.link/20260303110100.123701837@infradead.org
arch/x86/kernel/smpboot.c