]> www.infradead.org Git - users/dwmw2/linux.git/commit
RISC-V: hwprobe: Expose Zicboz extension and its block size
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 18 Sep 2023 13:15:22 +0000 (15:15 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 21 Sep 2023 11:22:25 +0000 (04:22 -0700)
commit9c7646d5ffd2b8bf720a0b77897f6c5095dfc53b
treec568378dca2f84e014409ec1c6cd83c702cab598
parent43c16d51a19b0ba2ed66978d5924d486ec1e42bc
RISC-V: hwprobe: Expose Zicboz extension and its block size

Expose Zicboz through hwprobe and also provide a key to extract its
respective block size. Opportunistically add a macro and apply it to
current extensions in order to avoid duplicating code.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Evan Green <evan@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230918131518.56803-11-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/riscv/hwprobe.rst
arch/riscv/include/asm/hwprobe.h
arch/riscv/include/uapi/asm/hwprobe.h
arch/riscv/kernel/sys_riscv.c