Skip to content

Commit 62cb1e7

Browse files
authored
Zicfiss clarifications: CBO and PM (riscv#1657)
1 parent a104a1d commit 62cb1e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/priv-cfi.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,10 @@ instruction will result in a store/AMO access-fault exception.
214214

215215
Memory mapped as an SS page cannot be written to by instructions other than
216216
`SSAMOSWAP.W/D`, `SSPUSH`, and `C.SSPUSH`. Attempts will raise a store/AMO
217-
access-fault exception. Implicit accesses, including instruction fetches to an SS
218-
page, are not permitted. Such accesses will raise an access-fault exception
217+
access-fault exception. Access to a SS page using _cache-block operation_
218+
(`CBO.*`) instructions is not permitted. Such accesses will raise a store/AMO
219+
access-fault exception. Implicit accesses, including instruction fetches to an
220+
SS page, are not permitted. Such accesses will raise an access-fault exception
219221
appropriate to the access type. However, the shadow stack is readable by all
220222
instructions that only load from memory.
221223

src/zpm.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Pointer masking applies to all explicit memory accesses. Currently, in the Base
131131
* **Hypervisor Extension**: HLV.\*, HSV.* (in some cases; see <<_ssnpm>>).
132132
* **Cache Management Operations**: All instructions in Zicbom, Zicbop and Zicboz.
133133
* **Vector Extension**: All vector load and store instructions in the ratified RVV 1.0 spec.
134+
* **Zicfiss Extension**: SSPUSH, C.SSPUSH, SSPOPCHK, C.SSPOPCHK, SSAMOSWAP.W/D.
134135
* **Assorted**: FENCE, FENCE.I (if the currently unused address fields become enabled in the future).
135136

136137
[NOTE]

0 commit comments

Comments
 (0)