← Home

Sspmp

Supervisor Physical Memory Protection

Type: privileged

Requirements

Sscsrind and (not Sm (~> 1.13) or Smpmpdeleg)

Versions

VersionStateRatified
1.0.0ratified2026-08

Description

The Sspmp extension defines a Supervisor-level Physical Memory Protection (SPMP) mechanism that allows S-mode software to configure memory protection regions.

SPMP entries are accessed indirectly via the Sscsrind/Smcsrind extension. The siselect CSR selects the SPMP entry (0x100-0x13F), and sireg/sireg2 access the corresponding spmpaddr/spmpcfg values.

SPMP provides memory protection for S-mode and U-mode accesses when satp.MODE is Bare. It does not apply when virtual memory translation is active.

Key behaviors:

* SPMP entries are delegated from PMP entries via the mpmpdeleg CSR. * Each SPMP entry has address (spmpaddr) and configuration (spmpcfg) registers * spmpcfg includes R, W, X permissions, address matching mode (A), lock bit (L), U-mode bit (U), and SHARED bit * Out-of-bounds siselect values read as 0 and writes are ignored

Instructions

CSRs


Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.