Skip to content

Commit

Permalink
Apply suggestions from PR review
Browse files Browse the repository at this point in the history
Signed-off-by: Ravi Sahita <rsahita@yahoo.com>
  • Loading branch information
rsahita authored Oct 9, 2024
1 parent 48f9fcf commit 2acd3ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chapter3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ The `MFENCE.SPA` fence instruction is used to synchronize updates to supervisor
domain access-permissions with current execution.
`MFENCE.SPA` is only valid in M-mode. If operand rs1≠x0, it
specifies a single physical address, and if rs2≠x0, it specifies a single SDID.

If rs1 corresponds to an `MTT_L1_DIR` mapping, the fence applies to
a 4 KiB page. If rs1 corresponds to a `2M_PAGES` or `4M_PAGES` mapping,
the fence applies to a 2 MiB or 4 MiB range. If rs1 corresponds to one
of the 1G_* mappings, the fence applies to a 1 GiB range.

The behavior of `MFENCE.SPA` depends on rs1 and rs2 as follows:

* If rs1=x0 and rs2=x0, the fence orders all reads and writes to the MTT for
Expand Down

0 comments on commit 2acd3ad

Please sign in to comment.