aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/iommu
Commit message (Collapse)AuthorAgeFilesLines
* riscv: fix GENERIC-NODEBUG buildRuslan Bukin10 days1-0/+12
| | | | Reported by: bz
* riscv: IOMMU supportRuslan Bukin2026-05-129-0/+3395
Support for RISC-V IOMMU spec v1.0.1 (ratified) https://github.com/riscv-non-isa/riscv-iommu Supports translation for PCI devices only. Supports 1 or 2-level device-directory-table (DDT). Supports SV39 and SV48 virtual memory system (on per-device basis). Supports both "standard" and "extended" device-context (DC) structure. Supports "bypass" mode to disable translation for a particular device. Supports WSI (Wire-Signalled Interrupts) only. This includes both PCI-bus and FDT attachment drivers. Note in case of PCI-bus attachment, interrupts are not available. In this case no error report is provided in case of translation fault. Otherwise interrupts are not needed. Differential Revision: https://reviews.freebsd.org/D55922