Page MenuHomeFreeBSD

riscv iommu pmap
Needs ReviewPublic

Authored by br on Oct 5 2021, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 2:45 AM
Unknown Object (File)
Feb 16 2024, 10:59 AM
Unknown Object (File)
Jan 11 2024, 12:36 AM
Unknown Object (File)
Jan 11 2024, 12:10 AM
Unknown Object (File)
Dec 20 2023, 2:21 AM
Unknown Object (File)
Dec 18 2023, 7:10 AM
Unknown Object (File)
Nov 4 2023, 4:08 AM
Unknown Object (File)
Aug 13 2023, 12:56 PM
Subscribers

Details

Reviewers
None
Group Reviewers
riscv
Summary

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.

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Oct 5 2021, 5:25 PM
br created this revision.

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.

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.

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).
We can just leave in disconnected to the build.
but I'm not insisting to have it in tree.

br edited the summary of this revision. (Show Details)

Fix copyright year.