On Thu, Feb 06, 2025 at 11:08:57AM +0100, Clément Léger wrote: > On 05/02/2025 17:05, Conor Dooley wrote: > > From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx> > > static int riscv_ext_zca_depends(const struct riscv_isa_ext_data *data, > > const unsigned long *isa_bitmap) > > { > > @@ -326,12 +355,10 @@ const struct riscv_isa_ext_data riscv_isa_ext[] = { > > __RISCV_ISA_EXT_DATA(d, RISCV_ISA_EXT_d), > > __RISCV_ISA_EXT_DATA(q, RISCV_ISA_EXT_q), > > __RISCV_ISA_EXT_SUPERSET(c, RISCV_ISA_EXT_c, riscv_c_exts), > > - __RISCV_ISA_EXT_SUPERSET(v, RISCV_ISA_EXT_v, riscv_v_exts), > > + __RISCV_ISA_EXT_SUPERSET_VALIDATE(v, RISCV_ISA_EXT_v, riscv_v_exts, riscv_ext_vector_float_validate), > > __RISCV_ISA_EXT_DATA(h, RISCV_ISA_EXT_h), > > - __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicbom, RISCV_ISA_EXT_ZICBOM, riscv_xlinuxenvcfg_exts, > > - riscv_ext_zicbom_validate), > > - __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicboz, RISCV_ISA_EXT_ZICBOZ, riscv_xlinuxenvcfg_exts, > > - riscv_ext_zicboz_validate), > > + __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicbom, RISCV_ISA_EXT_ZICBOM, riscv_xlinuxenvcfg_exts, riscv_ext_zicbom_validate), > > + __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicboz, RISCV_ISA_EXT_ZICBOZ, riscv_xlinuxenvcfg_exts, riscv_ext_zicboz_validate), > > This chunk seems to just remove line wrapping for existing code, not > sure if this is intended. I probably removed the line wrapping from it in passing because I found the array very difficult to follow once all the validate callbacks were added to it with correct line wrapping applied. I did intend to not line wrap what I was adding, I forgot I removed line wrapping for existing stuff too.
Attachment:
signature.asc
Description: PGP signature