[PATCH v2 3/3] RISC-V: hwprobe: Expose Zba, Zbb, and Zbs
Conor Dooley
conor at kernel.org
Tue May 9 11:33:53 PDT 2023
On Tue, May 09, 2023 at 11:25:03AM -0700, Evan Green wrote:
> + if (riscv_isa_extension_available(isainfo->isa, ZBA))
> + pair->value |= RISCV_HWPROBE_EXT_ZBA;
> + else
> + missing |= RISCV_HWPROBE_EXT_ZBA;
Part of me wonders if we should just have a macro for this, since it's
just boilerplate w/ the only "variable" being the extension name.
Just a thought, and we'll have plenty more cracks at changing things
here, so:
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
Thanks,
Conor.
-------------- 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/20230509/19cc0043/attachment.sig>
More information about the linux-riscv
mailing list