mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
adc3e82d25
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: Arnd Bergmann <arnd@arndb.de> Suggested-by: Sunil V L <sunilvl@ventanamicro.com> Signed-off-by: Haibo Xu <haibo1.xu@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Huacai Chen <chenhuacai@loongson.cn> Acked-by: Will Deacon <will@kernel.org> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Link: https://lore.kernel.org/r/f1f96377b8ecd6e3183f28abf5c9ac21cb9855ea.1718268003.git.haibo1.xu@intel.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config ACPI_NUMA
|
|
def_bool NUMA && !X86
|
|
|
|
config ACPI_HMAT
|
|
bool "ACPI Heterogeneous Memory Attribute Table Support"
|
|
depends on ACPI_NUMA
|
|
select HMEM_REPORTING
|
|
select MEMREGION
|
|
help
|
|
If set, this option has the kernel parse and report the
|
|
platform's ACPI HMAT (Heterogeneous Memory Attributes Table),
|
|
register memory initiators with their targets, and export
|
|
performance attributes through the node's sysfs device if
|
|
provided.
|