Commit adc3e82d authored by Haibo Xu's avatar Haibo Xu Committed by Palmer Dabbelt

ACPI: NUMA: change the ACPI_NUMA to a hidden option

x86/arm64/loongarch would select ACPI_NUMA by default and riscv
would do the same thing, so change it to a hidden option and the
select statements except for the X86_64_ACPI_NUMA can also go away.
Suggested-by: default avatarArnd Bergmann <arnd@arndb.de>
Suggested-by: default avatarSunil V L <sunilvl@ventanamicro.com>
Signed-off-by: default avatarHaibo Xu <haibo1.xu@intel.com>
Reviewed-by: default avatarSunil V L <sunilvl@ventanamicro.com>
Acked-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Acked-by: default avatarWill Deacon <will@kernel.org>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/f1f96377b8ecd6e3183f28abf5c9ac21cb9855ea.1718268003.git.haibo1.xu@intel.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 39494aec
...@@ -1484,7 +1484,6 @@ config HOTPLUG_CPU ...@@ -1484,7 +1484,6 @@ config HOTPLUG_CPU
config NUMA config NUMA
bool "NUMA Memory Allocation and Scheduler Support" bool "NUMA Memory Allocation and Scheduler Support"
select GENERIC_ARCH_NUMA select GENERIC_ARCH_NUMA
select ACPI_NUMA if ACPI
select OF_NUMA select OF_NUMA
select HAVE_SETUP_PER_CPU_AREA select HAVE_SETUP_PER_CPU_AREA
select NEED_PER_CPU_EMBED_FIRST_CHUNK select NEED_PER_CPU_EMBED_FIRST_CHUNK
......
...@@ -470,7 +470,6 @@ config NR_CPUS ...@@ -470,7 +470,6 @@ config NR_CPUS
config NUMA config NUMA
bool "NUMA Support" bool "NUMA Support"
select SMP select SMP
select ACPI_NUMA if ACPI
help help
Say Y to compile the kernel with NUMA (Non-Uniform Memory Access) Say Y to compile the kernel with NUMA (Non-Uniform Memory Access)
support. This option improves performance on systems with more support. This option improves performance on systems with more
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
config ACPI_NUMA config ACPI_NUMA
bool "NUMA support" def_bool NUMA && !X86
depends on NUMA
depends on (X86 || ARM64 || LOONGARCH)
default y if ARM64
config ACPI_HMAT config ACPI_HMAT
bool "ACPI Heterogeneous Memory Attribute Table Support" bool "ACPI Heterogeneous Memory Attribute Table Support"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment