Skip to content

Commit

Permalink
Add a non-normative comment to clarify MXR behavior for pointer maski…
Browse files Browse the repository at this point in the history
…ng. (#1667)
  • Loading branch information
martinmaas authored Oct 3, 2024
1 parent 69ac607 commit 8912b84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/zpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,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

0 comments on commit 8912b84

Please sign in to comment.