[PATCH 4/6] riscv: hwprobe: Report Supm only when available

Charlie Jenkins thecharlesjenkins at gmail.com
Thu Oct 15 21:28:41 PDT 2026


On Tue, 06 Oct 2026 09:53:01 +0200, Radim Krčmář <radim.krcmar at oss.qualcomm.com> wrote:
> The RISC-V ISA defines Supm as
> 
>   "An extension that indicates that there is pointer-masking support
>   available in user mode, with some facility provided in the application
>   execution environment to control pointer masking."
> 
> Our facility always returns -EINVAL unless Supm support is configured,
> the pointer masking ISA extension is globally present, and the user-mode
> is running in 64-bit mode.
> 
> [...]

Reviewed-by: Charlie Jenkins <thecharlesjenkins at gmail.com>

-- 
- Charlie




More information about the linux-riscv mailing list