diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-10-16 23:27:49 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-10-25 00:12:59 +0300 |
commit | 3c2e0aff7b4f03fbc11b7d63c8db5b94a48978cf (patch) | |
tree | bde1ba52aad93d082306f2bc845b6010a9871c94 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7470b5afd150e683c7aef03961d0c4c6f500de3b (diff) | |
download | linux-3c2e0aff7b4f03fbc11b7d63c8db5b94a48978cf.tar.xz |
riscv: hwprobe: Export the Supm ISA extension
Supm is a virtual ISA extension defined in the RISC-V Pointer Masking
specification, which indicates that pointer masking is available in
U-mode. It can be provided by either Smnpm or Ssnpm, depending on which
mode the kernel runs in. Userspace should not care about this
distinction, so export Supm instead of either underlying extension.
Hide the extension if the kernel was compiled without support for the
pointer masking prctl() interface.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20241016202814.4061541-9-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions