mbox series

[v3,00/12] microvm: add pcie support

Message ID 20200928104256.9241-1-kraxel@redhat.com
Headers show
Series microvm: add pcie support | expand

Message

Gerd Hoffmann Sept. 28, 2020, 10:42 a.m. UTC
v2:
 - move aml generator to gpex and have arm virt + microvm share it.
 - add 64bit window.
 - add testcase.
v3:
 - fix testcase: force tcg, disable on i386.

Gerd Hoffmann (12):
  move MemMapEntry
  acpi: add acpi_dsdt_add_gpex
  arm: use acpi_dsdt_add_gpex
  microvm: add irq table
  microvm: add pcie support
  microvm/pcie: add 64bit mmio window
  tests/acpi: allow updates for expected data files
  tests/acpi: add empty tests/data/acpi/microvm/DSDT.pcie file
  tests/acpi: factor out common microvm test setup
  tests/acpi: add microvm pcie test
  acpi/gpex: no reason to use a method for _CRS
  tests/acpi: update expected data files

 include/exec/hwaddr.h             |   5 +
 include/hw/arm/virt.h             |   5 -
 include/hw/i386/microvm.h         |  32 ++++++
 include/hw/pci-host/gpex.h        |  11 ++
 hw/arm/sbsa-ref.c                 |   5 -
 hw/arm/virt-acpi-build.c          | 175 ++---------------------------
 hw/i386/acpi-microvm.c            |  12 ++
 hw/i386/microvm.c                 |  93 ++++++++++++++++
 hw/pci-host/gpex-acpi.c           | 177 ++++++++++++++++++++++++++++++
 tests/qtest/bios-tables-test.c    |  30 ++++-
 hw/i386/Kconfig                   |   1 +
 hw/pci-host/meson.build           |   1 +
 tests/data/acpi/microvm/DSDT.pcie | Bin 0 -> 3023 bytes
 tests/data/acpi/virt/DSDT         | Bin 5200 -> 5196 bytes
 tests/data/acpi/virt/DSDT.memhp   | Bin 6561 -> 6557 bytes
 tests/data/acpi/virt/DSDT.numamem | Bin 5200 -> 5196 bytes
 16 files changed, 366 insertions(+), 181 deletions(-)
 create mode 100644 hw/pci-host/gpex-acpi.c
 create mode 100644 tests/data/acpi/microvm/DSDT.pcie

-- 
2.27.0

Comments

Gerd Hoffmann Sept. 28, 2020, 10:42 a.m. UTC | #1
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
---
 tests/data/acpi/microvm/DSDT.pcie | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tests/data/acpi/microvm/DSDT.pcie

diff --git a/tests/data/acpi/microvm/DSDT.pcie b/tests/data/acpi/microvm/DSDT.pcie
new file mode 100644
index 000000000000..e69de29bb2d1