Skip to content

Commit 56b6de2

Browse files
authored
G-stage PTE D-bit update relaxation (riscv#1665)
1 parent 4b69db2 commit 56b6de2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/supervisor.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,8 +1442,9 @@ Two schemes to manage the A and D bits are defined:
14421442
architecturally. However, updates to the D bit, resulting from an
14431443
explicit store, must be exact (i.e., non-speculative), and observed in
14441444
program order by the local hart. When two-stage address translation is
1445-
active, updates of the D bit in G-stage PTEs may be performed as a
1446-
result of speculative updates of the A bit in VS-stage PTEs. +
1445+
active, updates to the D bit in G-stage PTEs may be performed by an
1446+
implicit access to a VS-stage PTE, if the G-stage PTE provides write
1447+
permission, before any speculative access to the VS-stage PTE. +
14471448
+
14481449
The PTE update must appear in the global memory order before the
14491450
memory access that caused the PTE update and before any subsequent

0 commit comments

Comments
 (0)