HomeFreeBSD

riscv: IOMMU support

Description

riscv: IOMMU support

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

Details

Provenance
brAuthored on May 12 2026, 10:09 AM
Differential Revision
D55922: RISC-V IOMMU support
Parents
rG6f451c60918f: power: Rename power transition enum
Branches
Unknown
Tags
Unknown