[PATCH 2/6] riscv: hwprobe: Report Zicbom and Zicboz only when available
Charlie Jenkins
thecharlesjenkins at gmail.com
Thu Oct 15 21:28:41 PDT 2026
On Tue, 06 Oct 2026 09:52:59 +0200, Radim Krčmář <radim.krcmar at oss.qualcomm.com> 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 at gmail.com>
--
- Charlie
More information about the linux-riscv
mailing list