Skip to content

Commit

Permalink
Added clarification about the contained trap on Ssstrict.
Browse files Browse the repository at this point in the history
Closes #173.
  • Loading branch information
kasanovic committed Jul 16, 2024
1 parent 7d50758 commit 1fe6f65
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/rva23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,19 @@ The following are new privileged expansion options in RVA23S64
NOTE: Ssstrict does not prescribe behavior for the custom encoding
spaces or CSRs.

NOTE: Ssstrict definition applies to the execution environment
claiming to be RVA23-compatible, which must have the hypervisor
extension. That execution environment will take a contained trap to
supervisor-mode (however that trap is implemented, including, but not
limited to, emulation/delegation in the outer execution
environment). Ssstrict (and all the other RVA23 mandates and options)
do not apply to any guest VMs run by a hypervisor. An RVA23 hypervisor
can provide guest VMs that are also RVA23-compatible but with an
expanded set of emulated standard instructions. An RVA23 hypervisor
can also choose to implement guest VMs that are not RVA23 compatible
(e.g., lacking H, or only RVA20).


- *Svvptc* Transitions from invalid to valid PTEs will be visible in
bounded time without an explicit memory-management fence.

Expand Down
12 changes: 12 additions & 0 deletions src/rvb23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,18 @@ also privileged expansion options in RVA23S64:
NOTE: Ssstrict does not prescribe behavior for the custom encoding
spaces or CSRs.

NOTE: Ssstrict definition applies to the execution environment
claiming to be RVA23-compatible, which must have the hypervisor
extension. That execution environment will take a contained trap to
supervisor-mode (however that trap is implemented, including, but not
limited to, emulation/delegation in the outer execution
environment). Ssstrict (and all the other RVA23 mandates and options)
do not apply to any guest VMs run by a hypervisor. An RVA23 hypervisor
can provide guest VMs that are also RVA23-compatible but with an
expanded set of emulated standard instructions. An RVA23 hypervisor
can also choose to implement guest VMs that are not RVA23 compatible
(e.g., lacking H, or only RVA20).

- *Svvptc* Transitions from invalid to valid PTEs will be visible in
bounded time without an explicit memory-management fence.

Expand Down

0 comments on commit 1fe6f65

Please sign in to comment.