aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorGravatar Saurabh Sengar <ssengar@linux.microsoft.com> 2023-08-25 00:47:37 -0700
committerGravatar Ingo Molnar <mingo@kernel.org> 2023-10-02 21:30:20 +0200
commit0c436a58292d0ca1af213ede75b2508995c8af0b (patch)
tree7324ab72f687fb46086d9feb09f1e60f51023848 /arch/x86/Kconfig
parentx86/of: Move the x86_flattree_get_config() call out of x86_dtb_init() (diff)
downloadlinux-0c436a58292d0ca1af213ede75b2508995c8af0b.tar.gz
linux-0c436a58292d0ca1af213ede75b2508995c8af0b.tar.bz2
linux-0c436a58292d0ca1af213ede75b2508995c8af0b.zip
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
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 66bfabae8814..aab5e3205602 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1534,6 +1534,7 @@ config NUMA
depends on X86_64 || (X86_32 && HIGHMEM64G && X86_BIGSMP)
default y if X86_BIGSMP
select USE_PERCPU_NUMA_NODE_ID
+ select OF_NUMA if OF
help
Enable NUMA (Non-Uniform Memory Access) support.