Add riscv page-management code (pmap) for IOMMU systems (similar to what we have on arm64).
Add CHERI Device-Model map/unmap routines as an example on how to use this pmap.
Differential D32325
riscv iommu pmap br on Oct 5 2021, 5:25 PM. Authored by Tags None Referenced Files
Subscribers
Details
Add riscv page-management code (pmap) for IOMMU systems (similar to what we have on arm64). Add CHERI Device-Model map/unmap routines as an example on how to use this pmap. Tested with CHERI Device-Model
Diff Detail
Event TimelineComment Actions I'm not sure this makes sense to upstream? And it'll conflict with whatever actual IOMMU spec ends up being added to RISC-V when they finally get round to it. Comment Actions Agree but it will save a week or more for the person who will try to write this based on spec once it appear (Also a high probability that IO MMU will be compatible/similar to CPU MMU like in arm64). |