diff options
author | Samuel Holland <[email protected]> | 2024-10-16 13:27:43 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-10-24 14:12:53 -0700 |
commit | 2e6f6ea452aa9fa9f150520fdecf6bda31954db4 (patch) | |
tree | cc0bbb130b15bb47ed676c4602f023ff33eab4a4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8727163a1ae304b5b4ac5952f593936ab9024d37 (diff) |
riscv: Add ISA extension parsing for pointer masking
The RISC-V Pointer Masking specification defines three extensions:
Smmpm, Smnpm, and Ssnpm. Add support for parsing each of them. The
specific extension which provides pointer masking support to userspace
(Supm) depends on the kernel's privilege mode, so provide a macro to
abstract this selection.
Smmpm implies the existence of the mseccfg CSR. As it is the only user
of this CSR so far, there is no need for an Xlinuxmseccfg extension.
Reviewed-by: Charlie Jenkins <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions