Skip to content

Commit

Permalink
Clarify CBO access size (riscv#1431)
Browse files Browse the repository at this point in the history
Define access size to be size of cache block for PMP/PMA checks
  • Loading branch information
dkruckemyer-ventana authored and ved-rivos committed Jul 3, 2024
1 parent b044d67 commit fb9e8b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ _This specification assumes that the above constraints will typically be met for
main memory regions and may be met for certain I/O regions._
====

Additionally, for the purposes of PMP and PMA checks, the access size of a CMO
instruction equals the size of the cache block accessed by the instruction.

The Zicboz extension introduces an additional supported access type PMA for
cache-block zero instructions. Main memory regions are required to support
accesses by cache-block zero instructions; however, I/O regions may specify
Expand Down

0 comments on commit fb9e8b9

Please sign in to comment.