Re: Are pages allowed to cross PMA regions?
Andy Glew (Gmail) <andyglew@...>
It would be nice if it was architecturally defined/permitted for such straddling accesses to be performed a byte at a time. That makes the trap and emulate handler easier to code.
If not a byte at a time, then whatever is the largest possible NAPOT size that the access can be decomposed into.
But anything coarser grained than a byte, or whatever the finest granule of PMA is, either requires the trap and emulate handler to probe permissions to guarantee that the transactions it emits are not themselves straddling, or you have to be ready to handle nested such trap and emulations. Or at least tail recursive.
------ Original Message ------
From "Krste Asanovic" <krste@...>
To "Greg Favor" <gfavor@...>
Date 8/12/2022 12:57:55
Subject Re: [RISC-V] [tech-privileged] Are pages allowed to cross PMA regions?
|
|