Re: [PATCH 2/6] riscv: hwprobe: Report Zicbom and Zicboz only when available

From: Charlie Jenkins

Date: Fri Oct 16 2026 - 00:30:37 EST


On Tue, 06 Oct 2026 09:52:59 +0200, Radim Krčmář <radim.krcmar@xxxxxxxxxxxxxxxx> wrote:
> User-mode use of Zicbom and Zicboz requires senvcfg.CBCFE and
> senvcfg.CBZE, respectively, which we set only when all harts have the
> extension. hwprobe reports the extensions from the per-hart ISA bitmaps
> alone, so it can advertise extensions that are always disabled in
> user-mode.
>
> Report correct environment to user-mode.
>
> [...]

Reviewed-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>

--
- Charlie