[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aC7ePdD0bNhi48kz@cyan-mbp>
Date: Thu, 22 May 2025 16:20:13 +0800
From: Cyan Yang <cyan.yang@...ive.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
corbet@....net, paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, alex@...ti.fr, samuel.holland@...ive.com,
linux-doc@...r.kernel.org, devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 02/12] riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq
vendor extensions
On Tue, May 20, 2025 at 11:26:39AM +0200, Geert Uytterhoeven wrote:
> Hi Cyan,
>
> On Fri, 16 May 2025 at 05:07, Cyan Yang <cyan.yang@...ive.com> wrote:
> > Add SiFive vendor extension support to the kernel with the target of
> > "xsfvqmaccdod" and "xsfvqmaccqoq".
> >
> > Signed-off-by: Cyan Yang <cyan.yang@...ive.com>
>
> Thanks for your patch, which is now commit 2d147d77ae6e96c1 ("riscv:
> Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions")
> in riscv/for-next.
>
> > --- a/arch/riscv/Kconfig.vendor
> > +++ b/arch/riscv/Kconfig.vendor
> > @@ -16,6 +16,19 @@ config RISCV_ISA_VENDOR_EXT_ANDES
> > If you don't know what to do here, say Y.
> > endmenu
> >
> > +menu "SiFive"
> > +config RISCV_ISA_VENDOR_EXT_SIFIVE
> > + bool "SiFive vendor extension support"
> > + select RISCV_ISA_VENDOR_EXT
> > + default y
>
> I guess this has no dependency on ARCH_SIFIVE and does not default
> to ARCH_SIFIVE because this extension can be present on non-Sifive
> SoCs, too?
>
> Probably I should have asked this when the other RISCV_ISA_VENDOR_EXT_*
> were introduced, but at least for ANDES I already know the answer.
>
Yes, you are right.
ARCH_SIFIVE enables support for SiFive SoC platform.
RISCV_ISA_VENDOR_EXT_SIFIVE enables support for SiFive vendor
extensions, which are not limited to the SiFive SoC platform.
> > + help
> > + Say N here if you want to disable all SiFive vendor extension
> > + support. This will cause any SiFive vendor extensions that are
> > + requested by hardware probing to be ignored.
> > +
> > + If you don't know what to do here, say Y.
> > +endmenu
> > +
> > menu "T-Head"
> > config RISCV_ISA_VENDOR_EXT_THEAD
> > bool "T-Head vendor extension support"
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
Regards,
Cyan
Powered by blists - more mailing lists