Supervisor Physical Memory Protection
Type: privileged
Sscsrind and (not Sm (~> 1.13) or Smpmpdeleg)
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2026-08 |
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
sfence.vma — Supervisor memory-management fencesret — Supervisor Mode Return from Trapmedeleg — Machine Exception Delegationmedelegh — Machine Exception Delegation, High bitsmideleg — Machine Interrupt Delegationmireg — Machine Indirect Register Aliasmireg2 — Machine Indirect Register Alias 2mireg3 — Machine Indirect Register Alias 3mireg4 — Machine Indirect Register Alias 4mireg5 — Machine Indirect Register Alias 5mireg6 — Machine Indirect Register Alias 6miselect — Machine Indirect Register Selectmscontext — Machine Supervisor Contextsatp — Supervisor Address Translation and Protectionscause — Supervisor Causescontext — Supervisor Contextscounteren — Supervisor Counter Enablesenvcfg — Supervisor Environment Configurationsepc — Supervisor Exception Program Countersie — Supervisor interrupt-enable registersip — Supervisor Interrupt Pendingsireg — Supervisor Indirect Register Aliassireg2 — Supervisor Indirect Register Alias 2sireg3 — Supervisor Indirect Register Alias 3sireg4 — Supervisor Indirect Register Alias 4sireg5 — Supervisor Indirect Register Alias 5sireg6 — Supervisor Indirect Register Alias 6siselect — Supervisor Indirect Register Selectsscratch — Supervisor Scratch Registersstatus — Supervisor Statusstval — Supervisor Trap Valuestvec — Supervisor Trap Vectorvsireg — Virtual Supervisor Indirect Register Aliasvsireg2 — Virtual Supervisor Indirect Register Alias 2vsireg3 — Virtual Supervisor Indirect Register Alias 3vsireg4 — Virtual Supervisor Indirect Register Alias 4vsireg5 — Virtual Supervisor Indirect Register Alias 5vsireg6 — Virtual Supervisor Indirect Register Alias 6vsiselect — Virtual Supervisor Indirect Register SelectVersion 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.