Re: [PATCH 3/6] riscv: hwprobe: Report Zicfilp and Zicfiss only when available
From: Charlie Jenkins
Date: Fri Oct 16 2026 - 00:31:00 EST
On Tue, 06 Oct 2026 09:53:00 +0200, Radim Krčmář <radim.krcmar@xxxxxxxxxxxxxxxx> wrote:
> User-mode use of Zicfilp and Zicfiss requires senvcfg.LPE and
> senvcfg.SSE, respectively, which we set only when is_user_lpad_enabled()
> and is_user_shstk_enabled() (CONFIG_RISCV_USER_CFI, the extension on all
> harts, and not disabled by riscv_nousercfi). hwprobe reports the
> extensions from the per-hart ISA bitmaps alone, so it can advertise
> extensions that are always disabled in user-mode.
>
> [...]
Reviewed-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
--
- Charlie