[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJve8onPknQLfZNwUMUm3SSy8rPOJoLvcbzNAFB64EuznEn2jA@mail.gmail.com>
Date: Tue, 5 Mar 2024 16:32:13 +0800
From: Haibo Xu <xiaobo55x@...il.com>
To: Sunil V L <sunilvl@...tanamicro.com>
Cc: Haibo Xu <haibo1.xu@...el.com>, ajones@...tanamicro.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: Re: [PATCH 4/4] ACPI: RISCV: Enable ACPI based NUMA
On Tue, Mar 5, 2024 at 1:26 PM Sunil V L <sunilvl@...tanamicro.com> wrote:
>
> On Wed, Jan 31, 2024 at 10:32:01AM +0800, Haibo Xu wrote:
> > 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)
> Is it possible to remove this if IA64 is removed now?
>
Yes. Arnd also suggest removing this totally.
Will update it in v2.
> Thanks,
> Sunil
> > default y if ARM64
> >
> > config ACPI_HMAT
> > --
> > 2.34.1
> >
Powered by blists - more mailing lists