Skip to content

Commit

Permalink
Add non-normative comment to clarify MXR behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmaas committed Oct 3, 2024
1 parent 8e722ad commit 4114b79
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Binary file modified zjpm-spec.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions zjpm/background.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ It is worth noting that pointer masking is not applied to SFENCE.\*, HFENCE.\*,

MPRV and SPVP affect pointer masking as well, causing the pointer masking settings of the effective privilege mode to be applied. When MXR is in effect at the effective privilege mode where explicit memory access is performed, pointer masking does not apply.

[NOTE]
====
Note that this includes cases where page-based virtual memory is not in effect; i.e., although MXR has no effect on permissions checks when page-based virtual memory is not in effect, it is still used in determining whether or not pointer masking should be applied.
====

[NOTE]
====
Cache Management Operations (CMOs) must respect and take into account pointer masking. Otherwise, a few serious security problems can appear, including:
Expand Down
4 changes: 2 additions & 2 deletions zjpm/header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
= RISC-V Pointer Masking
:description: RISC-V J Extension: Pointer Masking
:company: RISC-V.org
:revdate: 08/2024
:revnumber: 1.0-rc3
:revdate: 10/2024
:revnumber: 1.0-rc4
:revremark: Frozen
//development: assume everything can change
//stable: assume everything could change
Expand Down

0 comments on commit 4114b79

Please sign in to comment.