qemu/tests
Daniel Henrique Barboza 40b44316d8 test/qtest: add riscv-iommu-pci tests
To test the RISC-V IOMMU emulation we'll use its PCI representation.
Create a new 'riscv-iommu-pci' libqos device that will be present with
CONFIG_RISCV_IOMMU.  This config is only available for RISC-V, so this
device will only be consumed by the RISC-V libqos machine.

Start with basic tests: a PCI sanity check and a reset state register
test. The reset test was taken from the RISC-V IOMMU spec chapter 5.2,
"Reset behavior".

More tests will be added later.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20241016204038.649340-8-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2024-10-31 13:51:24 +10:00
..
avocado tests/avocado: Boot Linux for RV32 cpu on RV64 QEMU 2024-10-30 11:22:07 +10:00
bench tests/bench: Rename test_akcipher_keys.inc -> test_akcipher_keys.c.inc 2024-09-20 10:08:24 +03:00
data tests/acpi: Add expected ACPI SRAT AML file for RISC-V 2024-10-02 15:11:51 +10:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker dockerfiles: fix default targets for debian-loongarch-cross 2024-10-24 09:56:26 +01:00
fp tests/fp: Make mul and div tests have a longer timeout 2024-09-18 20:58:43 +01:00
functional tests/functional: Convert most Aspeed machine tests 2024-10-24 07:57:47 +02:00
guest-debug tests/guest-debug: Support passing arguments to the GDB test script 2024-09-10 23:33:55 +01:00
image-fuzzer
include
keys
lcitool tests: update lcitool to fix freebsd py311-yaml rename 2024-10-14 15:54:24 +01:00
migration tests/qtest/migration-test: Use custom asm bios for ppc64 2024-06-14 14:01:23 -03:00
multiboot
perf/block/qcow2
qapi-schema tests/qapi-schema: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
qemu-iotests iotests/backup-discard-source: don't use actual-size 2024-10-22 17:52:49 +02:00
qtest test/qtest: add riscv-iommu-pci tests 2024-10-31 13:51:24 +10:00
rocker
tcg testing, gdbstub and plugin updates 2024-10-25 19:12:06 +01:00
tsan block: remove AioContext locking 2023-12-21 22:49:27 +01:00
uefi-test-tools tests/data/uefi-boot-images: Add RISC-V ISO image 2024-07-03 18:14:06 -04:00
unit chardev: finalize 'reconnect' deprecation 2024-10-28 14:37:25 +08:00
vm tests/vm: update openbsd image to 7.6 2024-10-21 13:23:52 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests/functional: enable pre-emptive caching of assets 2024-09-04 10:52:29 +02:00
meson.build tests/functional: Prepare the meson build system for the functional tests 2024-09-04 10:52:29 +02:00
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00