[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH1PCMYMrJoYF4i9vFg1MBkMW+9H9p96RMxqdiQFNC3-KS=7YA@mail.gmail.com>
Date: Tue, 10 Feb 2026 16:15:52 +0800
From: Guodong Xu <guodong@...cstar.com>
To: Andrew Jones <andrew.jones@....qualcomm.com>
Cc: Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>, Jonathan Corbet <corbet@....net>,
Shuah Khan <skhan@...uxfoundation.org>, Conor Dooley <conor@...nel.org>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH 1/8] riscv: cpufeature: Add parsing for B
Hi Drew,
On Mon, Feb 9, 2026 at 12:43 AM Andrew Jones
<andrew.jones@....qualcomm.com> wrote:
>
> On Sat, Feb 07, 2026 at 06:27:55PM +0800, Guodong Xu wrote:
> > The B extension comprises the Zba, Zbb, and Zbs extensions, as defined
> > by version 20240411 of the RISC-V Instruction Set Manual Volume I
> > Unprivileged Architecture.
> >
> > Add B as a superset extension so that when "b" is encountered in the ISA
> > string or devicetree, its sub-extensions are automatically enabled.
> >
> > Signed-off-by: Guodong Xu <guodong@...cstar.com>
> > ---
> > arch/riscv/include/asm/hwcap.h | 1 +
> > arch/riscv/kernel/cpufeature.c | 10 ++++++++++
> > 2 files changed, 11 insertions(+)
> >
>
> Hi Guodong Xu,
>
> As part of the "hwprobe: Introduce rva23u64 base behavior" RFC [1] I
Thanks for pointing me to your link. I'm happy to look
at your RFC series. I like your part of adding rva23u64
and rva23s64, I've been thinking the same, but you
offered the solution!
> posted a similar patch where I also added B to hwcap. Can you take a
> look at that?
Sure, I'll comment in your series.
>
> [1] https://lore.kernel.org/all/20260206002349.96740-1-andrew.jones@oss.qualcomm.com/
With the patches in [1], I would drop the duplicated
ones from my series (5 of them if I counted correctly),
and keep only the 3 patches which add SHA and other
S extensions.
Would you prefer I send a v2 based on your series, or
would it be easier for you to pick them up directly?
Either way works for me.
Best regards,
Guodong Xu
>
> Thanks,
> drew
Powered by blists - more mailing lists