All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests)
@ 2021-12-10 17:04 Jean-Philippe Brucker
  2021-12-10 17:04 ` [PATCH v7 1/8] hw/arm/virt-acpi-build: Add VIOT table for virtio-iommu Jean-Philippe Brucker
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Jean-Philippe Brucker @ 2021-12-10 17:04 UTC (permalink / raw)
  To: mst, imammedo, peter.maydell, shannon.zhaosl
  Cc: ani, eric.auger, qemu-arm, qemu-devel, Jean-Philippe Brucker

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-12-13 17:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 17:04 [PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests) Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 1/8] hw/arm/virt-acpi-build: Add VIOT table for virtio-iommu Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 2/8] hw/arm/virt: Remove device tree restriction " Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 3/8] hw/arm/virt: Reject instantiation of multiple IOMMUs Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 4/8] hw/arm/virt: Use object_property_set instead of qdev_prop_set Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 5/8] tests/acpi: allow updates of VIOT expected data files Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 6/8] tests/acpi: add test case for VIOT Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 7/8] tests/acpi: add expected blobs for VIOT test on q35 machine Jean-Philippe Brucker
2021-12-10 17:04 ` [PATCH v7 8/8] tests/acpi: add expected blob for VIOT test on virt machine Jean-Philippe Brucker
2021-12-12  4:49 ` [PATCH v7 0/8] virtio-iommu: Add ACPI support (Arm part + tests) Ani Sinha
2021-12-13  9:28   ` Jean-Philippe Brucker
2021-12-13 10:04     ` Peter Maydell
2021-12-13 10:56       ` Jean-Philippe Brucker
2021-12-13 11:07         ` Peter Maydell
2021-12-13 14:58           ` Jean-Philippe Brucker
2021-12-13 17:50 ` Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.