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

From: Jerry Shih
Date: Wed Nov 08 2023 - 21:58:50 EST


On Nov 7, 2023, at 18:55, Clément Léger <cleger@xxxxxxxxxxxx> 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