Re: [PATCH 4/6] riscv: hwprobe: Report Supm only when available
From: Charlie Jenkins
Date: Fri Oct 16 2026 - 00:31:17 EST
On Tue, 06 Oct 2026 09:53:01 +0200, Radim Krčmář <radim.krcmar@xxxxxxxxxxxxxxxx> 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@xxxxxxxxx>
--
- Charlie