[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests)
From: |
Jean-Philippe Brucker |
Subject: |
[PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests) |
Date: |
Fri, 10 Dec 2021 17:04:08 +0000 |
Add ACPI support for virtio-iommu on the virt machine, by instantiating
a VIOT table. Also add the tests for the ACPI table.
Since last posting [1], I rebased onto v6.2.0-rc4. Note that v6 of this
series [2] only contained the table and x86 support, which have been
merged. Everything has now been reviewed and should be good to go.
* Patches 1-2 add the VIOT table for the virt machine
* Patches 3-4 are minor fixes
* Patches 5-8 add tests for the VIOT table. They contain the tests for
q35 as well, which didn't make it last time because they depended on
another fix that has now been merged.
[1]
https://lore.kernel.org/qemu-devel/20211020172745.620101-1-jean-philippe@linaro.org/
[2]
https://lore.kernel.org/qemu-devel/20211026182024.2642038-1-jean-philippe@linaro.org/
Jean-Philippe Brucker (8):
hw/arm/virt-acpi-build: Add VIOT table for virtio-iommu
hw/arm/virt: Remove device tree restriction for virtio-iommu
hw/arm/virt: Reject instantiation of multiple IOMMUs
hw/arm/virt: Use object_property_set instead of qdev_prop_set
tests/acpi: allow updates of VIOT expected data files
tests/acpi: add test case for VIOT
tests/acpi: add expected blobs for VIOT test on q35 machine
tests/acpi: add expected blob for VIOT test on virt machine
hw/arm/virt-acpi-build.c | 7 ++++++
hw/arm/virt.c | 20 ++++++++---------
hw/virtio/virtio-iommu-pci.c | 12 ++---------
tests/qtest/bios-tables-test.c | 38 +++++++++++++++++++++++++++++++++
hw/arm/Kconfig | 1 +
tests/data/acpi/q35/DSDT.viot | Bin 0 -> 9398 bytes
tests/data/acpi/q35/VIOT.viot | Bin 0 -> 112 bytes
tests/data/acpi/virt/VIOT | Bin 0 -> 88 bytes
8 files changed, 58 insertions(+), 20 deletions(-)
create mode 100644 tests/data/acpi/q35/DSDT.viot
create mode 100644 tests/data/acpi/q35/VIOT.viot
create mode 100644 tests/data/acpi/virt/VIOT
--
2.34.1
- [PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests),
Jean-Philippe Brucker <=
- [PATCH v7 4/8] hw/arm/virt: Use object_property_set instead of qdev_prop_set, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 5/8] tests/acpi: allow updates of VIOT expected data files, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 3/8] hw/arm/virt: Reject instantiation of multiple IOMMUs, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 1/8] hw/arm/virt-acpi-build: Add VIOT table for virtio-iommu, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 7/8] tests/acpi: add expected blobs for VIOT test on q35 machine, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 2/8] hw/arm/virt: Remove device tree restriction for virtio-iommu, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 6/8] tests/acpi: add test case for VIOT, Jean-Philippe Brucker, 2021/12/10
- [PATCH v7 8/8] tests/acpi: add expected blob for VIOT test on virt machine, Jean-Philippe Brucker, 2021/12/10
- Re: [PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests), Ani Sinha, 2021/12/11