Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

riscv: Add ISA extension parsing for Ziccrse

Add support to parse the Ziccrse string in the riscv,isa string.

Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20241103145153.105097-12-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>

authored by

Alexandre Ghiti and committed by
Palmer Dabbelt
2d36fe89 22c33321

+2
+1
arch/riscv/include/asm/hwcap.h
··· 94 94 #define RISCV_ISA_EXT_ZAWRS 85 95 95 #define RISCV_ISA_EXT_SVVPTC 86 96 96 #define RISCV_ISA_EXT_ZABHA 87 97 + #define RISCV_ISA_EXT_ZICCRSE 88 97 98 98 99 #define RISCV_ISA_EXT_XLINUXENVCFG 127 99 100
+1
arch/riscv/kernel/cpufeature.c
··· 314 314 riscv_ext_zicbom_validate), 315 315 __RISCV_ISA_EXT_SUPERSET_VALIDATE(zicboz, RISCV_ISA_EXT_ZICBOZ, riscv_xlinuxenvcfg_exts, 316 316 riscv_ext_zicboz_validate), 317 + __RISCV_ISA_EXT_DATA(ziccrse, RISCV_ISA_EXT_ZICCRSE), 317 318 __RISCV_ISA_EXT_DATA(zicntr, RISCV_ISA_EXT_ZICNTR), 318 319 __RISCV_ISA_EXT_DATA(zicond, RISCV_ISA_EXT_ZICOND), 319 320 __RISCV_ISA_EXT_DATA(zicsr, RISCV_ISA_EXT_ZICSR),