[PATCH v2 2/2] x86/numa: Add CPU_SUP_AMD dependency for legacy AMD NUMA
From: Vincent Mailhol
Date: Fri Nov 13 2026 - 13:43:22 EST
The legacy AMD NUMA probe reads topology from an Opteron northbridge.
It is only useful when AMD CPUs are supported, so gate it with
CPU_SUP_AMD.
Signed-off-by: Vincent Mailhol <mailhol@xxxxxxxxxx>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 91b3bc7deafd..1bf39880d3fc 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1524,7 +1524,7 @@ config NUMA
config AMD_NUMA
def_bool y
prompt "Old style AMD Opteron NUMA detection"
- depends on X86_64 && NUMA && PCI
+ depends on X86_64 && NUMA && PCI && CPU_SUP_AMD
help
Enable AMD NUMA node topology detection. You should say Y here if
you have a multi processor AMD system. This uses an old method to
--
2.56.1