[PATCH v3 06/20] riscv: add ISA extension parsing for vector crypto

Jerry Shih jerry.shih at sifive.com
Wed Nov 8 18:58:41 PST 2023


On Nov 7, 2023, at 18:55, Clément Léger <cleger at rivosinc.com> wrote:
> +static const unsigned int riscv_zvknhb_exts[] = {
> +	RISCV_ISA_EXT_ZVKNHA
> +};
> +

> +	__RISCV_ISA_EXT_SUPERSET(zvknhb, RISCV_ISA_EXT_ZVKNHB, riscv_zvknhb_exts),
> +	__RISCV_ISA_EXT_BUNDLE(zvks, riscv_zvks_bundled_exts),

The Zvknha and Zvknhb are exclusive. It's not the superset relationship.

Please check:
https://github.com/riscv/riscv-crypto/issues/364#issuecomment-1726782096

-Jerry


More information about the linux-riscv mailing list