]> git.ipfire.org Git - thirdparty/linux.git/commit
RISC-V: hwprobe: Expose Zicbom extension and its block size
authorYunhui Cui <cuiyunhui@bytedance.com>
Wed, 26 Feb 2025 06:32:05 +0000 (14:32 +0800)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 12:43:56 +0000 (12:43 +0000)
commiteb10039709402cc1fab1533a1ecc1a54c2152e68
tree7572d086d0782e40375a2c0ff26eb81cf5024022
parentde70b532f91bbcfa9f4100f1a2cd62810c799239
RISC-V: hwprobe: Expose Zicbom extension and its block size

Expose Zicbom through hwprobe and also provide a key to extract its
respective block size.

[ alex: Fix merge conflicts and hwprobe numbering ]

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Link: https://lore.kernel.org/r/20250226063206.71216-3-cuiyunhui@bytedance.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Documentation/arch/riscv/hwprobe.rst
arch/riscv/include/asm/hwprobe.h
arch/riscv/include/uapi/asm/hwprobe.h
arch/riscv/kernel/sys_hwprobe.c