Skip to content

Commit 853e233

Browse files
authored
Avoid stating that G bit is reserved in PTE of G-stage (riscv#2155)
Avoid stating that the G bit is reserved in the PTE of the G-stage address translation since the spec requires the G bit to be ignored. Otherwise, we have a contradiction with an earlier section of the spec which states that a reserved bit in a PTE would lead to a page fault when such bit is set. Signed-off-by: Joseph Rahmeh <[email protected]>
1 parent e7318f0 commit 853e233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hypervisor.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ load or store, not for the original access type. However, any exception
17691769
is always reported for the original access type (instruction, load, or
17701770
store/AMO).
17711771

1772-
The G bit in all G-stage PTEs is reserved for future standard use. Until
1772+
The G bit in all G-stage PTEs is currently not used. Until
17731773
its use is defined by a standard extension, it should be cleared by
17741774
software for forward compatibility, and must be ignored by hardware.
17751775

0 commit comments

Comments
 (0)