mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
Add a minimal PCI test device designed to exercise IOMMU translation (such as ARM SMMUv3) without requiring guest firmware or OS. The device provides MMIO registers to configure and trigger DMA operations with controllable attributes (security state, address space), enabling deterministic IOMMU testing. Key features: - Bare-metal IOMMU testing via simple MMIO interface - Configurable DMA attributes for security states and address spaces - Write-then-read verification pattern with automatic result checking The device performs a deterministic DMA test pattern: write a known value (0x12345678) to a configured GVA, read it back, and verify data integrity. Results are reported through a dedicated result register, eliminating the need for complex interrupt handling or driver infrastructure in tests. This is purely a test device and not intended for production use or machine realism. It complements existing test infrastructure like pci-testdev but focuses specifically on IOMMU translation path validation. Signed-off-by: Tao Tang <tangtao1634@phytium.com.cn> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Message-ID: <20260119161112.3841386-4-tangtao1634@phytium.com.cn> [PMD: Add SPDX-License-Identifier: GPL-2.0-or-later tag] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
43 lines
732 B
ReStructuredText
43 lines
732 B
ReStructuredText
----------------------------------------------
|
|
System Emulation Guest Hardware Specifications
|
|
----------------------------------------------
|
|
|
|
This section of the manual contains specifications of
|
|
guest hardware that is specific to QEMU.
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
pci-ids
|
|
pci-serial
|
|
pci-testdev
|
|
ppc-xive
|
|
ppc-spapr-xive
|
|
ppc-spapr-numa
|
|
acpi_hw_reduced_hotplug
|
|
tpm
|
|
acpi_hest_ghes
|
|
acpi_cpu_hotplug
|
|
acpi_mem_hotplug
|
|
acpi_pci_hotplug
|
|
acpi_nvdimm
|
|
acpi_erst
|
|
sev-guest-firmware
|
|
fw_cfg
|
|
fsi
|
|
vmw_pvscsi-spec
|
|
edu
|
|
ivshmem-spec
|
|
pvpanic
|
|
spdm
|
|
standard-vga
|
|
virt-ctlr
|
|
vmcoreinfo
|
|
vmgenid
|
|
rapl-msr
|
|
rocker
|
|
riscv-iommu
|
|
riscv-aia
|
|
aspeed-intc
|
|
iommu-testdev
|