[PATCH] riscv: add base extensions to enum riscv_isa_ext_id

Conor Dooley conor at kernel.org
Thu Dec 22 15:35:10 PST 2022


On Thu, Dec 22, 2022 at 03:13:56PM -0800, Vineet Gupta wrote:
> 
> 
> On 12/22/22 14:53, Conor Dooley wrote:
> > Hi Vineet,
> > 
> > On Thu, Dec 22, 2022 at 02:41:04PM -0800, Vineet Gupta wrote:
> > > This allows for using the enum in general to refer to any extension.
> > What is the point of this patch? It's hard to understand the rationale
> > without having any user, especially...
> 
> Right I'm trying to build a cpu feature enable API which required handling
> of all extensions.

Does it matter to you if it's defines or an enum, as long as every
extension is exposed to you via the same mechanism?

> Ideally yes this needs to go there. But it seemed more like a cleanup type
> patch to warrant a standalone submission.

Meh, dw. Not expecting people to know about every patch under the sun.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20221222/67c02964/attachment.sig>


More information about the linux-riscv mailing list