[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0be49d4d7d7e43933534aad6f72b35d3380519fd.1706603678.git.haibo1.xu@intel.com>
Date: Wed, 31 Jan 2024 10:32:01 +0800
From: Haibo Xu <haibo1.xu@...el.com>
To:
Cc: xiaobo55x@...il.com,
ajones@...tanamicro.com,
sunilvl@...tanamicro.com,
Haibo Xu <haibo1.xu@...el.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>,
Conor Dooley <conor.dooley@...rochip.com>,
Guo Ren <guoren@...nel.org>,
Anup Patel <apatel@...tanamicro.com>,
Alexandre Ghiti <alexghiti@...osinc.com>,
Greentime Hu <greentime.hu@...ive.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Jisheng Zhang <jszhang@...nel.org>,
Clément Léger <cleger@...osinc.com>,
Baoquan He <bhe@...hat.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Chen Jiahao <chenjiahao16@...wei.com>,
Arnd Bergmann <arnd@...db.de>,
James Morse <james.morse@....com>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Evan Green <evan@...osinc.com>,
Samuel Holland <samuel.holland@...ive.com>,
Ard Biesheuvel <ardb@...nel.org>,
Tony Luck <tony.luck@...el.com>,
Yuntao Wang <ytcoode@...il.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Dan Williams <dan.j.williams@...el.com>,
Alison Schofield <alison.schofield@...el.com>,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org,
acpica-devel@...ts.linux.dev
Subject: [PATCH 4/4] ACPI: RISCV: Enable ACPI based NUMA
Enable ACPI based NUMA for RISCV in Kconfig.
Signed-off-by: Haibo Xu <haibo1.xu@...el.com>
---
arch/riscv/Kconfig | 1 +
drivers/acpi/numa/Kconfig | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index bffbd869a068..e586ab959f34 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -438,6 +438,7 @@ config NUMA
select HAVE_SETUP_PER_CPU_AREA
select NEED_PER_CPU_EMBED_FIRST_CHUNK
select NEED_PER_CPU_PAGE_FIRST_CHUNK
+ select ACPI_NUMA if ACPI
select OF_NUMA
select USE_PERCPU_NUMA_NODE_ID
help
diff --git a/drivers/acpi/numa/Kconfig b/drivers/acpi/numa/Kconfig
index 849c2bd820b9..525297c44250 100644
--- a/drivers/acpi/numa/Kconfig
+++ b/drivers/acpi/numa/Kconfig
@@ -2,7 +2,7 @@
config ACPI_NUMA
bool "NUMA support"
depends on NUMA
- depends on (X86 || ARM64 || LOONGARCH)
+ depends on (X86 || ARM64 || LOONGARCH || RISCV)
default y if ARM64
config ACPI_HMAT
--
2.34.1
Powered by blists - more mailing lists