doc: pmp granularity equals to 8-byte (#2572)

This commit is contained in:
André Sintzoff 2024-11-04 09:27:23 +01:00 committed by GitHub
parent aeb0b646bf
commit 7aad781b74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4343,13 +4343,11 @@ back to NAPOT.
endif::[]
ifdef::archi-CVA6[]
[{ohg-config}] Although the PMP mechanism supports regions as small as four bytes,
platforms may specify coarser PMP regions. In general, the PMP grain is
latexmath:[$2^{G+2}$] bytes and must be the same across all PMP regions.
When latexmath:[$G \geq 1$] and
latexmath:[${\tt pmpcfg}_i$].A[1] is clear, i.e. the mode is OFF or TOR,
then bits latexmath:[${\tt pmpaddr}_i$][G-1:0] read as all zeros. Bits
latexmath:[${\tt pmpaddr}_i$][G-1:0] do not affect the TOR address-matching
[{ohg-config}] The PMP grain is 8 bytes (latexmath:[$2^{G+2}$] with G = 1)
and must be the same across all PMP regions.
As latexmath:[${\tt pmpcfg}_i$].A[1] is always clear, i.e. the mode is OFF or TOR,
then bit latexmath:[${\tt pmpaddr}_i$][0] read as zero. Bit
latexmath:[${\tt pmpaddr}_i$][0] does not affect the TOR address-matching
logic.
endif::[]