[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210226202550.512012-1-palmer@dabbelt.com>
Date: Fri, 26 Feb 2021 12:25:51 -0800
From: Palmer Dabbelt <palmer@...belt.com>
To: akpm@...ux-foundation.org, atishp@...shpatra.org
Cc: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, aou@...s.berkeley.edu,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-team@...roid.com, Palmer Dabbelt <palmerdabbelt@...gle.com>
Subject: [PATCH] RISC-V: Make NUMA depend on SMP
From: Palmer Dabbelt <palmerdabbelt@...gle.com>
In theory these are orthogonal, but in practice all NUMA systems are
SMP. NUMA && !SMP doesn't build, everyone else is coupling them, and I
don't really see any value in supporting that configuration.
Fixes: 4f0e8eef772e ("riscv: Add numa support for riscv64 platform")
Suggested-by: Andrew Morton <akpm@...ux-foundation.org>
Suggested-by: Atish Patra <atishp@...shpatra.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
---
This is on fixes.
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a998babc1237..85d626b8ce5e 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -314,6 +314,7 @@ endchoice
# Common NUMA Features
config NUMA
bool "NUMA Memory Allocation and Scheduler Support"
+ depends on SMP
select GENERIC_ARCH_NUMA
select OF_NUMA
select ARCH_SUPPORTS_NUMA_BALANCING
--
2.30.1.766.gb4fecdf3b7-goog
Powered by blists - more mailing lists