x86/numa: Add Devicetree support
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Fri, 25 Aug 2023 07:47:37 +0000 (00:47 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 2 Oct 2023 19:30:20 +0000 (21:30 +0200)
commit0c436a58292d0ca1af213ede75b2508995c8af0b
tree7324ab72f687fb46086d9feb09f1e60f51023848
parent0d294c8c4efa5c0f283a6dfc82dc014a5dbd9308
x86/numa: Add Devicetree support

Hyper-V has usecases where it needs to fetch NUMA information from
Devicetree. Currently, it is not possible to extract the NUMA information
from Devicetree for the x86 arch.

Add support for Devicetree in the x86_numa_init() function, allowing the
retrieval of NUMA node information from the Devicetree.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/1692949657-16446-2-git-send-email-ssengar@linux.microsoft.com
arch/x86/Kconfig
arch/x86/mm/numa.c