From 77cfbf5d08f8fbcc721b6309c560e4f48bdda8fd Mon Sep 17 00:00:00 2001 From: Daniel Henrique Barboza Date: Wed, 16 Oct 2024 17:40:36 -0300 Subject: docs/specs: add riscv-iommu Add a simple guideline to use the existing RISC-V IOMMU support we just added. This doc will be updated once we add the riscv-iommu-sys device. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis Message-ID: <20241016204038.649340-13-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis --- docs/system/riscv/virt.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/system/riscv/virt.rst') diff --git a/docs/system/riscv/virt.rst b/docs/system/riscv/virt.rst index 9a06f95a34..8e9a2e4dda 100644 --- a/docs/system/riscv/virt.rst +++ b/docs/system/riscv/virt.rst @@ -84,6 +84,19 @@ none``, as in Firmware images used for pflash must be exactly 32 MiB in size. +riscv-iommu support +------------------- + +The board has support for the riscv-iommu-pci device by using the following +command line: + +.. code-block:: bash + + $ qemu-system-riscv64 -M virt -device riscv-iommu-pci (...) + +Refer to :ref:`riscv-iommu` for more information on how the RISC-V IOMMU support +works. + Machine-specific options ------------------------ -- cgit v1.2.3