[PATCH v1 0/2] riscv: hwprobe: add Zicbop support

From: Yao Zihong

Date: Thu Sep 11 2025 - 08:12:37 EST


Add UAPI and kernel plumbing to expose the Zicbop extension presence
and its block size through sys_hwprobe(). The interface mirrors
Zicbom/Zicboz. This allows userspace to safely discover and optimize
for Zicbop when available.

Yao Zihong (2):
uapi: riscv: hwprobe: add Zicbop extension bit and block-size key
riscv: hwprobe: report Zicbop presence and block size

arch/riscv/include/uapi/asm/hwprobe.h | 2 ++
arch/riscv/kernel/sys_hwprobe.c | 6 ++++++
2 files changed, 8 insertions(+)

--
2.47.2