mbox series

[v2,00/11] microvm: add pcie support

Message ID 20200924062734.22978-1-kraxel@redhat.com (mailing list archive)
Headers show
Series microvm: add pcie support | expand

Message

Gerd Hoffmann Sept. 24, 2020, 6:27 a.m. UTC
v2:
 - move aml generator to gpex and have arm virt + microvm share it.
 - add 64bit window.
 - add testcase.

Gerd Hoffmann (11):
  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: 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                 |  91 +++++++++++++++
 hw/pci-host/gpex-acpi.c           | 177 ++++++++++++++++++++++++++++++
 tests/qtest/bios-tables-test.c    |  27 ++++-
 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, 361 insertions(+), 181 deletions(-)
 create mode 100644 hw/pci-host/gpex-acpi.c
 create mode 100644 tests/data/acpi/microvm/DSDT.pcie

Comments

Michael S. Tsirkin Sept. 24, 2020, 7:29 a.m. UTC | #1
On Thu, Sep 24, 2020 at 08:27:23AM +0200, Gerd Hoffmann wrote:
> v2:
>  - move aml generator to gpex and have arm virt + microvm share it.
>  - add 64bit window.
>  - add testcase.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

which tree is this for? Yours?


> Gerd Hoffmann (11):
>   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: 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                 |  91 +++++++++++++++
>  hw/pci-host/gpex-acpi.c           | 177 ++++++++++++++++++++++++++++++
>  tests/qtest/bios-tables-test.c    |  27 ++++-
>  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, 361 insertions(+), 181 deletions(-)
>  create mode 100644 hw/pci-host/gpex-acpi.c
>  create mode 100644 tests/data/acpi/microvm/DSDT.pcie
> 
> -- 
> 2.27.0
>
Gerd Hoffmann Sept. 24, 2020, 9:55 a.m. UTC | #2
On Thu, Sep 24, 2020 at 03:29:02AM -0400, Michael S. Tsirkin wrote:
> On Thu, Sep 24, 2020 at 08:27:23AM +0200, Gerd Hoffmann wrote:
> > v2:
> >  - move aml generator to gpex and have arm virt + microvm share it.
> >  - add 64bit window.
> >  - add testcase.
> 
> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> 
> which tree is this for? Yours?

I don't mind much.  I can do a microvm pull request, but given the acpi
test data changes it might be less trouble with conflicts if you take
it through the acpi tree ...

take care,
  Gerd