[PULL 00/31] virtio,pci,pc: features, fixes, tests

Michael S. Tsirkin posted 31 patches 5 months, 2 weeks ago
Failed in applying to current master (apply log)
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Stefano Garzarella <sgarzare@redhat.com>, Peter Xu <peterx@redhat.com>, David Hildenbrand <david@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Jason Wang <jasowang@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>
There is a newer version of this series
include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
include/hw/pci/pci_device.h                        |   1 +
include/hw/pci/pcie.h                              |  13 +-
include/hw/pci/pcie_regs.h                         |   8 +
include/hw/virtio/vhost-vdpa.h                     |  22 +-
include/system/memory.h                            |   1 +
hw/i386/amd_iommu.c                                |  20 +-
hw/i386/pc_piix.c                                  |   5 +
hw/pci/pci.c                                       | 206 +++++++++++++-
hw/pci/pcie.c                                      |  78 +++++
hw/virtio/vhost-vdpa.c                             | 107 ++++---
hw/virtio/virtio-pci.c                             |   7 +-
hw/virtio/virtio.c                                 |  11 +
net/vhost-vdpa.c                                   |  34 +--
tests/qtest/bios-tables-test.c                     |  99 ++++++-
tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
tests/data/acpi/loongarch64/virt/SLIT              |   0
tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
.../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
tests/qtest/meson.build                            |   1 +
tests/uefi-test-tools/Makefile                     |   5 +-
.../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
tests/uefi-test-tools/uefi-test-build.config       |  10 +
38 files changed, 846 insertions(+), 108 deletions(-)
create mode 100644 tests/data/acpi/loongarch64/virt/APIC
create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
create mode 100644 tests/data/acpi/loongarch64/virt/FACP
create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
[PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Michael S. Tsirkin 5 months, 2 weeks ago
The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:

  Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:

  hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)

----------------------------------------------------------------
virtio,pci,pc: features, fixes, tests

vhost will now no longer set a call notifier if unused
loongarch gained acpi tests based on bios-tables-test
some core pci work for SVM support in vtd
vhost vdpa init has been optimized for response time to QMP
A couple more fixes

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

----------------------------------------------------------------
Bernhard Beschow (1):
      hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine

Bibo Mao (8):
      uefi-test-tools:: Add LoongArch64 support
      tests/data/uefi-boot-images: Add ISO image for LoongArch system
      tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
      tests/acpi: Add empty ACPI data files for LoongArch
      tests/qtest/bios-tables-test: Add basic testing for LoongArch
      rebuild-expected-aml.sh: Add support for LoongArch
      tests/acpi: Fill acpi table data for LoongArch
      tests/acpi: Remove stale allowed tables

CLEMENT MATHIEU--DRIF (11):
      pcie: Add helper to declare PASID capability for a pcie device
      pcie: Helper functions to check if PASID is enabled
      pcie: Helper function to check if ATS is enabled
      pcie: Add a helper to declare the PRI capability for a pcie device
      pcie: Helper functions to check to check if PRI is enabled
      pci: Cache the bus mastering status in the device
      pci: Add an API to get IOMMU's min page size and virtual address width
      memory: Store user data pointer in the IOMMU notifiers
      pci: Add a pci-level initialization function for IOMMU notifiers
      pci: Add a pci-level API for ATS
      pci: Add a PCI-level API for PRI

Eugenio Pérez (7):
      vdpa: check for iova tree initialized at net_client_start
      vdpa: reorder vhost_vdpa_set_backend_cap
      vdpa: set backend capabilities at vhost_vdpa_init
      vdpa: add listener_registered
      vdpa: reorder listener assignment
      vdpa: move iova_tree allocation to net_vhost_vdpa_init
      vdpa: move memory listener register to vhost_vdpa_init

Huaitong Han (1):
      vhost: Don't set vring call if guest notifier is unused

Sairaj Kodilkar (1):
      hw/i386/amd_iommu: Fix device setup failure when PT is on.

Vasant Hegde (1):
      hw/i386/amd_iommu: Fix xtsup when vcpus < 255

Yuri Benditovich (1):
      virtio: check for validity of indirect descriptors

 include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
 include/hw/pci/pci_device.h                        |   1 +
 include/hw/pci/pcie.h                              |  13 +-
 include/hw/pci/pcie_regs.h                         |   8 +
 include/hw/virtio/vhost-vdpa.h                     |  22 +-
 include/system/memory.h                            |   1 +
 hw/i386/amd_iommu.c                                |  20 +-
 hw/i386/pc_piix.c                                  |   5 +
 hw/pci/pci.c                                       | 206 +++++++++++++-
 hw/pci/pcie.c                                      |  78 +++++
 hw/virtio/vhost-vdpa.c                             | 107 ++++---
 hw/virtio/virtio-pci.c                             |   7 +-
 hw/virtio/virtio.c                                 |  11 +
 net/vhost-vdpa.c                                   |  34 +--
 tests/qtest/bios-tables-test.c                     |  99 ++++++-
 tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
 tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
 tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
 tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
 tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
 tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
 tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
 tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
 tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
 tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
 tests/data/acpi/loongarch64/virt/SLIT              |   0
 tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
 tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
 tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
 tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
 tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
 tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
 tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
 .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
 tests/qtest/meson.build                            |   1 +
 tests/uefi-test-tools/Makefile                     |   5 +-
 .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
 tests/uefi-test-tools/uefi-test-build.config       |  10 +
 38 files changed, 846 insertions(+), 108 deletions(-)
 create mode 100644 tests/data/acpi/loongarch64/virt/APIC
 create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
 create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
 create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
 create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
 create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
 create mode 100644 tests/data/acpi/loongarch64/virt/FACP
 create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
 create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
 create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
 create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
 create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
 create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
 create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
 create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
 create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
 create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2


Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Stefan Hajnoczi 5 months, 2 weeks ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Stefan Hajnoczi 5 months, 2 weeks ago
On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
>
>   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
>
> are available in the Git repository at:
>
>   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>
> for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
>
>   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
>
> ----------------------------------------------------------------
> virtio,pci,pc: features, fixes, tests
>
> vhost will now no longer set a call notifier if unused
> loongarch gained acpi tests based on bios-tables-test
> some core pci work for SVM support in vtd
> vhost vdpa init has been optimized for response time to QMP
> A couple more fixes
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Please take a look at this CI failure:
https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750

>
> ----------------------------------------------------------------
> Bernhard Beschow (1):
>       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
>
> Bibo Mao (8):
>       uefi-test-tools:: Add LoongArch64 support
>       tests/data/uefi-boot-images: Add ISO image for LoongArch system
>       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
>       tests/acpi: Add empty ACPI data files for LoongArch
>       tests/qtest/bios-tables-test: Add basic testing for LoongArch
>       rebuild-expected-aml.sh: Add support for LoongArch
>       tests/acpi: Fill acpi table data for LoongArch
>       tests/acpi: Remove stale allowed tables
>
> CLEMENT MATHIEU--DRIF (11):
>       pcie: Add helper to declare PASID capability for a pcie device
>       pcie: Helper functions to check if PASID is enabled
>       pcie: Helper function to check if ATS is enabled
>       pcie: Add a helper to declare the PRI capability for a pcie device
>       pcie: Helper functions to check to check if PRI is enabled
>       pci: Cache the bus mastering status in the device
>       pci: Add an API to get IOMMU's min page size and virtual address width
>       memory: Store user data pointer in the IOMMU notifiers
>       pci: Add a pci-level initialization function for IOMMU notifiers
>       pci: Add a pci-level API for ATS
>       pci: Add a PCI-level API for PRI
>
> Eugenio Pérez (7):
>       vdpa: check for iova tree initialized at net_client_start
>       vdpa: reorder vhost_vdpa_set_backend_cap
>       vdpa: set backend capabilities at vhost_vdpa_init
>       vdpa: add listener_registered
>       vdpa: reorder listener assignment
>       vdpa: move iova_tree allocation to net_vhost_vdpa_init
>       vdpa: move memory listener register to vhost_vdpa_init
>
> Huaitong Han (1):
>       vhost: Don't set vring call if guest notifier is unused
>
> Sairaj Kodilkar (1):
>       hw/i386/amd_iommu: Fix device setup failure when PT is on.
>
> Vasant Hegde (1):
>       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
>
> Yuri Benditovich (1):
>       virtio: check for validity of indirect descriptors
>
>  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
>  include/hw/pci/pci_device.h                        |   1 +
>  include/hw/pci/pcie.h                              |  13 +-
>  include/hw/pci/pcie_regs.h                         |   8 +
>  include/hw/virtio/vhost-vdpa.h                     |  22 +-
>  include/system/memory.h                            |   1 +
>  hw/i386/amd_iommu.c                                |  20 +-
>  hw/i386/pc_piix.c                                  |   5 +
>  hw/pci/pci.c                                       | 206 +++++++++++++-
>  hw/pci/pcie.c                                      |  78 +++++
>  hw/virtio/vhost-vdpa.c                             | 107 ++++---
>  hw/virtio/virtio-pci.c                             |   7 +-
>  hw/virtio/virtio.c                                 |  11 +
>  net/vhost-vdpa.c                                   |  34 +--
>  tests/qtest/bios-tables-test.c                     |  99 ++++++-
>  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
>  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
>  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
>  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
>  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
>  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
>  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
>  tests/data/acpi/loongarch64/virt/SLIT              |   0
>  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
>  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
>  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
>  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
>  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
>  tests/qtest/meson.build                            |   1 +
>  tests/uefi-test-tools/Makefile                     |   5 +-
>  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
>  tests/uefi-test-tools/uefi-test-build.config       |  10 +
>  38 files changed, 846 insertions(+), 108 deletions(-)
>  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
>  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
>  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
>  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
>  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
>  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
>  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
>
>
Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Michael S. Tsirkin 5 months, 2 weeks ago
On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
> On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> >
> >   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> >
> > are available in the Git repository at:
> >
> >   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> >
> > for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> >
> >   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
> >
> > ----------------------------------------------------------------
> > virtio,pci,pc: features, fixes, tests
> >
> > vhost will now no longer set a call notifier if unused
> > loongarch gained acpi tests based on bios-tables-test
> > some core pci work for SVM support in vtd
> > vhost vdpa init has been optimized for response time to QMP
> > A couple more fixes
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> Please take a look at this CI failure:
> https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750

Hmm must be how it interacts with something in your tree.
Which commit are you merging with?
Let me know, I'll try to rebase.

> >
> > ----------------------------------------------------------------
> > Bernhard Beschow (1):
> >       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
> >
> > Bibo Mao (8):
> >       uefi-test-tools:: Add LoongArch64 support
> >       tests/data/uefi-boot-images: Add ISO image for LoongArch system
> >       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
> >       tests/acpi: Add empty ACPI data files for LoongArch
> >       tests/qtest/bios-tables-test: Add basic testing for LoongArch
> >       rebuild-expected-aml.sh: Add support for LoongArch
> >       tests/acpi: Fill acpi table data for LoongArch
> >       tests/acpi: Remove stale allowed tables
> >
> > CLEMENT MATHIEU--DRIF (11):
> >       pcie: Add helper to declare PASID capability for a pcie device
> >       pcie: Helper functions to check if PASID is enabled
> >       pcie: Helper function to check if ATS is enabled
> >       pcie: Add a helper to declare the PRI capability for a pcie device
> >       pcie: Helper functions to check to check if PRI is enabled
> >       pci: Cache the bus mastering status in the device
> >       pci: Add an API to get IOMMU's min page size and virtual address width
> >       memory: Store user data pointer in the IOMMU notifiers
> >       pci: Add a pci-level initialization function for IOMMU notifiers
> >       pci: Add a pci-level API for ATS
> >       pci: Add a PCI-level API for PRI
> >
> > Eugenio Pérez (7):
> >       vdpa: check for iova tree initialized at net_client_start
> >       vdpa: reorder vhost_vdpa_set_backend_cap
> >       vdpa: set backend capabilities at vhost_vdpa_init
> >       vdpa: add listener_registered
> >       vdpa: reorder listener assignment
> >       vdpa: move iova_tree allocation to net_vhost_vdpa_init
> >       vdpa: move memory listener register to vhost_vdpa_init
> >
> > Huaitong Han (1):
> >       vhost: Don't set vring call if guest notifier is unused
> >
> > Sairaj Kodilkar (1):
> >       hw/i386/amd_iommu: Fix device setup failure when PT is on.
> >
> > Vasant Hegde (1):
> >       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
> >
> > Yuri Benditovich (1):
> >       virtio: check for validity of indirect descriptors
> >
> >  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
> >  include/hw/pci/pci_device.h                        |   1 +
> >  include/hw/pci/pcie.h                              |  13 +-
> >  include/hw/pci/pcie_regs.h                         |   8 +
> >  include/hw/virtio/vhost-vdpa.h                     |  22 +-
> >  include/system/memory.h                            |   1 +
> >  hw/i386/amd_iommu.c                                |  20 +-
> >  hw/i386/pc_piix.c                                  |   5 +
> >  hw/pci/pci.c                                       | 206 +++++++++++++-
> >  hw/pci/pcie.c                                      |  78 +++++
> >  hw/virtio/vhost-vdpa.c                             | 107 ++++---
> >  hw/virtio/virtio-pci.c                             |   7 +-
> >  hw/virtio/virtio.c                                 |  11 +
> >  net/vhost-vdpa.c                                   |  34 +--
> >  tests/qtest/bios-tables-test.c                     |  99 ++++++-
> >  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
> >  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
> >  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
> >  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
> >  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
> >  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
> >  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
> >  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
> >  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
> >  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
> >  tests/data/acpi/loongarch64/virt/SLIT              |   0
> >  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
> >  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
> >  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
> >  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
> >  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
> >  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
> >  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
> >  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
> >  tests/qtest/meson.build                            |   1 +
> >  tests/uefi-test-tools/Makefile                     |   5 +-
> >  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
> >  tests/uefi-test-tools/uefi-test-build.config       |  10 +
> >  38 files changed, 846 insertions(+), 108 deletions(-)
> >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
> >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
> >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
> >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
> >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
> >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
> >  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
> >  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
> >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
> >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
> >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
> >  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
> >
> >


Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Stefan Hajnoczi 5 months, 2 weeks ago
On Mon, Jun 2, 2025 at 1:54 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
> > On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> > >
> > > The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> > >
> > >   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> > >
> > > for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> > >
> > >   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
> > >
> > > ----------------------------------------------------------------
> > > virtio,pci,pc: features, fixes, tests
> > >
> > > vhost will now no longer set a call notifier if unused
> > > loongarch gained acpi tests based on bios-tables-test
> > > some core pci work for SVM support in vtd
> > > vhost vdpa init has been optimized for response time to QMP
> > > A couple more fixes
> > >
> > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
> > Please take a look at this CI failure:
> > https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750
>
> Hmm must be how it interacts with something in your tree.
> Which commit are you merging with?
> Let me know, I'll try to rebase.

commit 25de0b9aa129b2b014a0595befef05f04511868d (HEAD -> staging)
Merge: 3e82ddaa8d 6e672b2a08
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date:   Mon Jun 2 09:56:12 2025 -0400

    Merge tag 'for_upstream' of
https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging

    virtio,pci,pc: features, fixes, tests

Commit 6e672b2a08 is the one you published and 3e82ddaa8d is the
qemu.git/master.

>
> > >
> > > ----------------------------------------------------------------
> > > Bernhard Beschow (1):
> > >       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
> > >
> > > Bibo Mao (8):
> > >       uefi-test-tools:: Add LoongArch64 support
> > >       tests/data/uefi-boot-images: Add ISO image for LoongArch system
> > >       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
> > >       tests/acpi: Add empty ACPI data files for LoongArch
> > >       tests/qtest/bios-tables-test: Add basic testing for LoongArch
> > >       rebuild-expected-aml.sh: Add support for LoongArch
> > >       tests/acpi: Fill acpi table data for LoongArch
> > >       tests/acpi: Remove stale allowed tables
> > >
> > > CLEMENT MATHIEU--DRIF (11):
> > >       pcie: Add helper to declare PASID capability for a pcie device
> > >       pcie: Helper functions to check if PASID is enabled
> > >       pcie: Helper function to check if ATS is enabled
> > >       pcie: Add a helper to declare the PRI capability for a pcie device
> > >       pcie: Helper functions to check to check if PRI is enabled
> > >       pci: Cache the bus mastering status in the device
> > >       pci: Add an API to get IOMMU's min page size and virtual address width
> > >       memory: Store user data pointer in the IOMMU notifiers
> > >       pci: Add a pci-level initialization function for IOMMU notifiers
> > >       pci: Add a pci-level API for ATS
> > >       pci: Add a PCI-level API for PRI
> > >
> > > Eugenio Pérez (7):
> > >       vdpa: check for iova tree initialized at net_client_start
> > >       vdpa: reorder vhost_vdpa_set_backend_cap
> > >       vdpa: set backend capabilities at vhost_vdpa_init
> > >       vdpa: add listener_registered
> > >       vdpa: reorder listener assignment
> > >       vdpa: move iova_tree allocation to net_vhost_vdpa_init
> > >       vdpa: move memory listener register to vhost_vdpa_init
> > >
> > > Huaitong Han (1):
> > >       vhost: Don't set vring call if guest notifier is unused
> > >
> > > Sairaj Kodilkar (1):
> > >       hw/i386/amd_iommu: Fix device setup failure when PT is on.
> > >
> > > Vasant Hegde (1):
> > >       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
> > >
> > > Yuri Benditovich (1):
> > >       virtio: check for validity of indirect descriptors
> > >
> > >  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
> > >  include/hw/pci/pci_device.h                        |   1 +
> > >  include/hw/pci/pcie.h                              |  13 +-
> > >  include/hw/pci/pcie_regs.h                         |   8 +
> > >  include/hw/virtio/vhost-vdpa.h                     |  22 +-
> > >  include/system/memory.h                            |   1 +
> > >  hw/i386/amd_iommu.c                                |  20 +-
> > >  hw/i386/pc_piix.c                                  |   5 +
> > >  hw/pci/pci.c                                       | 206 +++++++++++++-
> > >  hw/pci/pcie.c                                      |  78 +++++
> > >  hw/virtio/vhost-vdpa.c                             | 107 ++++---
> > >  hw/virtio/virtio-pci.c                             |   7 +-
> > >  hw/virtio/virtio.c                                 |  11 +
> > >  net/vhost-vdpa.c                                   |  34 +--
> > >  tests/qtest/bios-tables-test.c                     |  99 ++++++-
> > >  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
> > >  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
> > >  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
> > >  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
> > >  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
> > >  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
> > >  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
> > >  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
> > >  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
> > >  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
> > >  tests/data/acpi/loongarch64/virt/SLIT              |   0
> > >  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
> > >  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
> > >  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
> > >  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
> > >  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
> > >  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
> > >  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
> > >  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
> > >  tests/qtest/meson.build                            |   1 +
> > >  tests/uefi-test-tools/Makefile                     |   5 +-
> > >  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
> > >  tests/uefi-test-tools/uefi-test-build.config       |  10 +
> > >  38 files changed, 846 insertions(+), 108 deletions(-)
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
> > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
> > >  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
> > >
> > >
>
Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Michael S. Tsirkin 5 months, 2 weeks ago
On Mon, Jun 02, 2025 at 02:25:48PM -0400, Stefan Hajnoczi wrote:
> On Mon, Jun 2, 2025 at 1:54 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
> > > On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> > > >
> > > > The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> > > >
> > > >   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> > > >
> > > > for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> > > >
> > > >   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
> > > >
> > > > ----------------------------------------------------------------
> > > > virtio,pci,pc: features, fixes, tests
> > > >
> > > > vhost will now no longer set a call notifier if unused
> > > > loongarch gained acpi tests based on bios-tables-test
> > > > some core pci work for SVM support in vtd
> > > > vhost vdpa init has been optimized for response time to QMP
> > > > A couple more fixes
> > > >
> > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > >
> > > Please take a look at this CI failure:
> > > https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750
> >
> > Hmm must be how it interacts with something in your tree.
> > Which commit are you merging with?
> > Let me know, I'll try to rebase.
> 
> commit 25de0b9aa129b2b014a0595befef05f04511868d (HEAD -> staging)
> Merge: 3e82ddaa8d 6e672b2a08
> Author: Stefan Hajnoczi <stefanha@redhat.com>
> Date:   Mon Jun 2 09:56:12 2025 -0400
> 
>     Merge tag 'for_upstream' of
> https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging
> 
>     virtio,pci,pc: features, fixes, tests
> 
> Commit 6e672b2a08 is the one you published and 3e82ddaa8d is the
> qemu.git/master.

I could not figure it out. Must be a loongarch bug dealing
with s390 hosts. I dropped them from the tag for now.
Cc contributor to figure it out.
Bibo Mao pls take a look.

New tag:
0b006153b7ec66505cb2d231235aa19ca5d2ce37


Thanks!


> >
> > > >
> > > > ----------------------------------------------------------------
> > > > Bernhard Beschow (1):
> > > >       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
> > > >
> > > > Bibo Mao (8):
> > > >       uefi-test-tools:: Add LoongArch64 support
> > > >       tests/data/uefi-boot-images: Add ISO image for LoongArch system
> > > >       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
> > > >       tests/acpi: Add empty ACPI data files for LoongArch
> > > >       tests/qtest/bios-tables-test: Add basic testing for LoongArch
> > > >       rebuild-expected-aml.sh: Add support for LoongArch
> > > >       tests/acpi: Fill acpi table data for LoongArch
> > > >       tests/acpi: Remove stale allowed tables
> > > >
> > > > CLEMENT MATHIEU--DRIF (11):
> > > >       pcie: Add helper to declare PASID capability for a pcie device
> > > >       pcie: Helper functions to check if PASID is enabled
> > > >       pcie: Helper function to check if ATS is enabled
> > > >       pcie: Add a helper to declare the PRI capability for a pcie device
> > > >       pcie: Helper functions to check to check if PRI is enabled
> > > >       pci: Cache the bus mastering status in the device
> > > >       pci: Add an API to get IOMMU's min page size and virtual address width
> > > >       memory: Store user data pointer in the IOMMU notifiers
> > > >       pci: Add a pci-level initialization function for IOMMU notifiers
> > > >       pci: Add a pci-level API for ATS
> > > >       pci: Add a PCI-level API for PRI
> > > >
> > > > Eugenio Pérez (7):
> > > >       vdpa: check for iova tree initialized at net_client_start
> > > >       vdpa: reorder vhost_vdpa_set_backend_cap
> > > >       vdpa: set backend capabilities at vhost_vdpa_init
> > > >       vdpa: add listener_registered
> > > >       vdpa: reorder listener assignment
> > > >       vdpa: move iova_tree allocation to net_vhost_vdpa_init
> > > >       vdpa: move memory listener register to vhost_vdpa_init
> > > >
> > > > Huaitong Han (1):
> > > >       vhost: Don't set vring call if guest notifier is unused
> > > >
> > > > Sairaj Kodilkar (1):
> > > >       hw/i386/amd_iommu: Fix device setup failure when PT is on.
> > > >
> > > > Vasant Hegde (1):
> > > >       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
> > > >
> > > > Yuri Benditovich (1):
> > > >       virtio: check for validity of indirect descriptors
> > > >
> > > >  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
> > > >  include/hw/pci/pci_device.h                        |   1 +
> > > >  include/hw/pci/pcie.h                              |  13 +-
> > > >  include/hw/pci/pcie_regs.h                         |   8 +
> > > >  include/hw/virtio/vhost-vdpa.h                     |  22 +-
> > > >  include/system/memory.h                            |   1 +
> > > >  hw/i386/amd_iommu.c                                |  20 +-
> > > >  hw/i386/pc_piix.c                                  |   5 +
> > > >  hw/pci/pci.c                                       | 206 +++++++++++++-
> > > >  hw/pci/pcie.c                                      |  78 +++++
> > > >  hw/virtio/vhost-vdpa.c                             | 107 ++++---
> > > >  hw/virtio/virtio-pci.c                             |   7 +-
> > > >  hw/virtio/virtio.c                                 |  11 +
> > > >  net/vhost-vdpa.c                                   |  34 +--
> > > >  tests/qtest/bios-tables-test.c                     |  99 ++++++-
> > > >  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
> > > >  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
> > > >  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
> > > >  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
> > > >  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
> > > >  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
> > > >  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
> > > >  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
> > > >  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
> > > >  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
> > > >  tests/data/acpi/loongarch64/virt/SLIT              |   0
> > > >  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
> > > >  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
> > > >  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
> > > >  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
> > > >  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
> > > >  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
> > > >  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
> > > >  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
> > > >  tests/qtest/meson.build                            |   1 +
> > > >  tests/uefi-test-tools/Makefile                     |   5 +-
> > > >  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
> > > >  tests/uefi-test-tools/uefi-test-build.config       |  10 +
> > > >  38 files changed, 846 insertions(+), 108 deletions(-)
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
> > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
> > > >  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
> > > >
> > > >
> >


Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Michael S. Tsirkin 5 months, 2 weeks ago
On Mon, Jun 02, 2025 at 02:31:19PM -0400, Michael S. Tsirkin wrote:
> On Mon, Jun 02, 2025 at 02:25:48PM -0400, Stefan Hajnoczi wrote:
> > On Mon, Jun 2, 2025 at 1:54 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> > >
> > > On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
> > > > On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> > > > >
> > > > > The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> > > > >
> > > > >   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> > > > >
> > > > > are available in the Git repository at:
> > > > >
> > > > >   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> > > > >
> > > > > for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> > > > >
> > > > >   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > virtio,pci,pc: features, fixes, tests
> > > > >
> > > > > vhost will now no longer set a call notifier if unused
> > > > > loongarch gained acpi tests based on bios-tables-test
> > > > > some core pci work for SVM support in vtd
> > > > > vhost vdpa init has been optimized for response time to QMP
> > > > > A couple more fixes
> > > > >
> > > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > >
> > > > Please take a look at this CI failure:
> > > > https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750
> > >
> > > Hmm must be how it interacts with something in your tree.
> > > Which commit are you merging with?
> > > Let me know, I'll try to rebase.
> > 
> > commit 25de0b9aa129b2b014a0595befef05f04511868d (HEAD -> staging)
> > Merge: 3e82ddaa8d 6e672b2a08
> > Author: Stefan Hajnoczi <stefanha@redhat.com>
> > Date:   Mon Jun 2 09:56:12 2025 -0400
> > 
> >     Merge tag 'for_upstream' of
> > https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging
> > 
> >     virtio,pci,pc: features, fixes, tests
> > 
> > Commit 6e672b2a08 is the one you published and 3e82ddaa8d is the
> > qemu.git/master.
> 
> I could not figure it out. Must be a loongarch bug dealing
> with s390 hosts. I dropped them from the tag for now.
> Cc contributor to figure it out.
> Bibo Mao pls take a look.
> 
> New tag:
> 0b006153b7ec66505cb2d231235aa19ca5d2ce37
> 
> 
> Thanks!


hope this is ok now. going offline for vacation. see you after the 10th!

> 
> > >
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > Bernhard Beschow (1):
> > > > >       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
> > > > >
> > > > > Bibo Mao (8):
> > > > >       uefi-test-tools:: Add LoongArch64 support
> > > > >       tests/data/uefi-boot-images: Add ISO image for LoongArch system
> > > > >       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
> > > > >       tests/acpi: Add empty ACPI data files for LoongArch
> > > > >       tests/qtest/bios-tables-test: Add basic testing for LoongArch
> > > > >       rebuild-expected-aml.sh: Add support for LoongArch
> > > > >       tests/acpi: Fill acpi table data for LoongArch
> > > > >       tests/acpi: Remove stale allowed tables
> > > > >
> > > > > CLEMENT MATHIEU--DRIF (11):
> > > > >       pcie: Add helper to declare PASID capability for a pcie device
> > > > >       pcie: Helper functions to check if PASID is enabled
> > > > >       pcie: Helper function to check if ATS is enabled
> > > > >       pcie: Add a helper to declare the PRI capability for a pcie device
> > > > >       pcie: Helper functions to check to check if PRI is enabled
> > > > >       pci: Cache the bus mastering status in the device
> > > > >       pci: Add an API to get IOMMU's min page size and virtual address width
> > > > >       memory: Store user data pointer in the IOMMU notifiers
> > > > >       pci: Add a pci-level initialization function for IOMMU notifiers
> > > > >       pci: Add a pci-level API for ATS
> > > > >       pci: Add a PCI-level API for PRI
> > > > >
> > > > > Eugenio Pérez (7):
> > > > >       vdpa: check for iova tree initialized at net_client_start
> > > > >       vdpa: reorder vhost_vdpa_set_backend_cap
> > > > >       vdpa: set backend capabilities at vhost_vdpa_init
> > > > >       vdpa: add listener_registered
> > > > >       vdpa: reorder listener assignment
> > > > >       vdpa: move iova_tree allocation to net_vhost_vdpa_init
> > > > >       vdpa: move memory listener register to vhost_vdpa_init
> > > > >
> > > > > Huaitong Han (1):
> > > > >       vhost: Don't set vring call if guest notifier is unused
> > > > >
> > > > > Sairaj Kodilkar (1):
> > > > >       hw/i386/amd_iommu: Fix device setup failure when PT is on.
> > > > >
> > > > > Vasant Hegde (1):
> > > > >       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
> > > > >
> > > > > Yuri Benditovich (1):
> > > > >       virtio: check for validity of indirect descriptors
> > > > >
> > > > >  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
> > > > >  include/hw/pci/pci_device.h                        |   1 +
> > > > >  include/hw/pci/pcie.h                              |  13 +-
> > > > >  include/hw/pci/pcie_regs.h                         |   8 +
> > > > >  include/hw/virtio/vhost-vdpa.h                     |  22 +-
> > > > >  include/system/memory.h                            |   1 +
> > > > >  hw/i386/amd_iommu.c                                |  20 +-
> > > > >  hw/i386/pc_piix.c                                  |   5 +
> > > > >  hw/pci/pci.c                                       | 206 +++++++++++++-
> > > > >  hw/pci/pcie.c                                      |  78 +++++
> > > > >  hw/virtio/vhost-vdpa.c                             | 107 ++++---
> > > > >  hw/virtio/virtio-pci.c                             |   7 +-
> > > > >  hw/virtio/virtio.c                                 |  11 +
> > > > >  net/vhost-vdpa.c                                   |  34 +--
> > > > >  tests/qtest/bios-tables-test.c                     |  99 ++++++-
> > > > >  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
> > > > >  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
> > > > >  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
> > > > >  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
> > > > >  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
> > > > >  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
> > > > >  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
> > > > >  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
> > > > >  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
> > > > >  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SLIT              |   0
> > > > >  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
> > > > >  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
> > > > >  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
> > > > >  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
> > > > >  tests/qtest/meson.build                            |   1 +
> > > > >  tests/uefi-test-tools/Makefile                     |   5 +-
> > > > >  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
> > > > >  tests/uefi-test-tools/uefi-test-build.config       |  10 +
> > > > >  38 files changed, 846 insertions(+), 108 deletions(-)
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
> > > > >  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
> > > > >  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
> > > > >
> > > > >
> > >


Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Bibo Mao 5 months, 2 weeks ago

On 2025/6/3 上午5:58, Michael S. Tsirkin wrote:
> On Mon, Jun 02, 2025 at 02:31:19PM -0400, Michael S. Tsirkin wrote:
>> On Mon, Jun 02, 2025 at 02:25:48PM -0400, Stefan Hajnoczi wrote:
>>> On Mon, Jun 2, 2025 at 1:54 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>>>>
>>>> On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
>>>>> On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
>>>>>>
>>>>>> The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
>>>>>>
>>>>>>    Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
>>>>>>
>>>>>> are available in the Git repository at:
>>>>>>
>>>>>>    https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>>>>>>
>>>>>> for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
>>>>>>
>>>>>>    hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> virtio,pci,pc: features, fixes, tests
>>>>>>
>>>>>> vhost will now no longer set a call notifier if unused
>>>>>> loongarch gained acpi tests based on bios-tables-test
>>>>>> some core pci work for SVM support in vtd
>>>>>> vhost vdpa init has been optimized for response time to QMP
>>>>>> A couple more fixes
>>>>>>
>>>>>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>>>>>
>>>>> Please take a look at this CI failure:
>>>>> https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750
>>>>
>>>> Hmm must be how it interacts with something in your tree.
>>>> Which commit are you merging with?
>>>> Let me know, I'll try to rebase.
>>>
>>> commit 25de0b9aa129b2b014a0595befef05f04511868d (HEAD -> staging)
>>> Merge: 3e82ddaa8d 6e672b2a08
>>> Author: Stefan Hajnoczi <stefanha@redhat.com>
>>> Date:   Mon Jun 2 09:56:12 2025 -0400
>>>
>>>      Merge tag 'for_upstream' of
>>> https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging
>>>
>>>      virtio,pci,pc: features, fixes, tests
>>>
>>> Commit 6e672b2a08 is the one you published and 3e82ddaa8d is the
>>> qemu.git/master.
>>
>> I could not figure it out. Must be a loongarch bug dealing
>> with s390 hosts. I dropped them from the tag for now.
>> Cc contributor to figure it out.
>> Bibo Mao pls take a look.
>>
>> New tag:
>> 0b006153b7ec66505cb2d231235aa19ca5d2ce37
>>
>>
>> Thanks!
> 
> 
> hope this is ok now. going offline for vacation. see you after the 10th!
Sorry for the trouble, I will look into this issue. And have a good 
summer vacation.

Regards
Bibo Mao
> 
>>
>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> Bernhard Beschow (1):
>>>>>>        hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
>>>>>>
>>>>>> Bibo Mao (8):
>>>>>>        uefi-test-tools:: Add LoongArch64 support
>>>>>>        tests/data/uefi-boot-images: Add ISO image for LoongArch system
>>>>>>        tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
>>>>>>        tests/acpi: Add empty ACPI data files for LoongArch
>>>>>>        tests/qtest/bios-tables-test: Add basic testing for LoongArch
>>>>>>        rebuild-expected-aml.sh: Add support for LoongArch
>>>>>>        tests/acpi: Fill acpi table data for LoongArch
>>>>>>        tests/acpi: Remove stale allowed tables
>>>>>>
>>>>>> CLEMENT MATHIEU--DRIF (11):
>>>>>>        pcie: Add helper to declare PASID capability for a pcie device
>>>>>>        pcie: Helper functions to check if PASID is enabled
>>>>>>        pcie: Helper function to check if ATS is enabled
>>>>>>        pcie: Add a helper to declare the PRI capability for a pcie device
>>>>>>        pcie: Helper functions to check to check if PRI is enabled
>>>>>>        pci: Cache the bus mastering status in the device
>>>>>>        pci: Add an API to get IOMMU's min page size and virtual address width
>>>>>>        memory: Store user data pointer in the IOMMU notifiers
>>>>>>        pci: Add a pci-level initialization function for IOMMU notifiers
>>>>>>        pci: Add a pci-level API for ATS
>>>>>>        pci: Add a PCI-level API for PRI
>>>>>>
>>>>>> Eugenio Pérez (7):
>>>>>>        vdpa: check for iova tree initialized at net_client_start
>>>>>>        vdpa: reorder vhost_vdpa_set_backend_cap
>>>>>>        vdpa: set backend capabilities at vhost_vdpa_init
>>>>>>        vdpa: add listener_registered
>>>>>>        vdpa: reorder listener assignment
>>>>>>        vdpa: move iova_tree allocation to net_vhost_vdpa_init
>>>>>>        vdpa: move memory listener register to vhost_vdpa_init
>>>>>>
>>>>>> Huaitong Han (1):
>>>>>>        vhost: Don't set vring call if guest notifier is unused
>>>>>>
>>>>>> Sairaj Kodilkar (1):
>>>>>>        hw/i386/amd_iommu: Fix device setup failure when PT is on.
>>>>>>
>>>>>> Vasant Hegde (1):
>>>>>>        hw/i386/amd_iommu: Fix xtsup when vcpus < 255
>>>>>>
>>>>>> Yuri Benditovich (1):
>>>>>>        virtio: check for validity of indirect descriptors
>>>>>>
>>>>>>   include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
>>>>>>   include/hw/pci/pci_device.h                        |   1 +
>>>>>>   include/hw/pci/pcie.h                              |  13 +-
>>>>>>   include/hw/pci/pcie_regs.h                         |   8 +
>>>>>>   include/hw/virtio/vhost-vdpa.h                     |  22 +-
>>>>>>   include/system/memory.h                            |   1 +
>>>>>>   hw/i386/amd_iommu.c                                |  20 +-
>>>>>>   hw/i386/pc_piix.c                                  |   5 +
>>>>>>   hw/pci/pci.c                                       | 206 +++++++++++++-
>>>>>>   hw/pci/pcie.c                                      |  78 +++++
>>>>>>   hw/virtio/vhost-vdpa.c                             | 107 ++++---
>>>>>>   hw/virtio/virtio-pci.c                             |   7 +-
>>>>>>   hw/virtio/virtio.c                                 |  11 +
>>>>>>   net/vhost-vdpa.c                                   |  34 +--
>>>>>>   tests/qtest/bios-tables-test.c                     |  99 ++++++-
>>>>>>   tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SLIT              |   0
>>>>>>   tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
>>>>>>   tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
>>>>>>   tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
>>>>>>   .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
>>>>>>   tests/qtest/meson.build                            |   1 +
>>>>>>   tests/uefi-test-tools/Makefile                     |   5 +-
>>>>>>   .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
>>>>>>   tests/uefi-test-tools/uefi-test-build.config       |  10 +
>>>>>>   38 files changed, 846 insertions(+), 108 deletions(-)
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/APIC
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/FACP
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
>>>>>>   create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
>>>>>>   create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
>>>>>>
>>>>>>
>>>>


Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Stefan Hajnoczi 5 months, 2 weeks ago
On Mon, Jun 2, 2025 at 5:58 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Mon, Jun 02, 2025 at 02:31:19PM -0400, Michael S. Tsirkin wrote:
> > On Mon, Jun 02, 2025 at 02:25:48PM -0400, Stefan Hajnoczi wrote:
> > > On Mon, Jun 2, 2025 at 1:54 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> > > >
> > > > On Mon, Jun 02, 2025 at 12:39:17PM -0400, Stefan Hajnoczi wrote:
> > > > > On Sun, Jun 1, 2025 at 11:34 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> > > > > >
> > > > > > The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> > > > > >
> > > > > >   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> > > > > >
> > > > > > are available in the Git repository at:
> > > > > >
> > > > > >   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> > > > > >
> > > > > > for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> > > > > >
> > > > > >   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > virtio,pci,pc: features, fixes, tests
> > > > > >
> > > > > > vhost will now no longer set a call notifier if unused
> > > > > > loongarch gained acpi tests based on bios-tables-test
> > > > > > some core pci work for SVM support in vtd
> > > > > > vhost vdpa init has been optimized for response time to QMP
> > > > > > A couple more fixes
> > > > > >
> > > > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > > >
> > > > > Please take a look at this CI failure:
> > > > > https://gitlab.com/qemu-project/qemu/-/jobs/10225580735#L4750
> > > >
> > > > Hmm must be how it interacts with something in your tree.
> > > > Which commit are you merging with?
> > > > Let me know, I'll try to rebase.
> > >
> > > commit 25de0b9aa129b2b014a0595befef05f04511868d (HEAD -> staging)
> > > Merge: 3e82ddaa8d 6e672b2a08
> > > Author: Stefan Hajnoczi <stefanha@redhat.com>
> > > Date:   Mon Jun 2 09:56:12 2025 -0400
> > >
> > >     Merge tag 'for_upstream' of
> > > https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging
> > >
> > >     virtio,pci,pc: features, fixes, tests
> > >
> > > Commit 6e672b2a08 is the one you published and 3e82ddaa8d is the
> > > qemu.git/master.
> >
> > I could not figure it out. Must be a loongarch bug dealing
> > with s390 hosts. I dropped them from the tag for now.
> > Cc contributor to figure it out.
> > Bibo Mao pls take a look.
> >
> > New tag:
> > 0b006153b7ec66505cb2d231235aa19ca5d2ce37
> >
> >
> > Thanks!
>
>
> hope this is ok now. going offline for vacation. see you after the 10th!

Yes, it has been merged now. Enjoy your vacation!

Stefan
Re: [PULL 00/31] virtio,pci,pc: features, fixes, tests
Posted by Michael S. Tsirkin 5 months, 2 weeks ago
On Sun, Jun 01, 2025 at 11:24:45AM -0400, Michael S. Tsirkin wrote:
> The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d:
> 
>   Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -0400)
> 
> are available in the Git repository at:
> 
>   https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> 
> for you to fetch changes up to 1c5771c092742b729e2a640be184a0f48c0b2cdb:
> 
>   hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400)



6e672b2a088ad56beb076d8d19ff86502815d6a8 now - I fixed two commit logs


> ----------------------------------------------------------------
> virtio,pci,pc: features, fixes, tests
> 
> vhost will now no longer set a call notifier if unused
> loongarch gained acpi tests based on bios-tables-test
> some core pci work for SVM support in vtd
> vhost vdpa init has been optimized for response time to QMP
> A couple more fixes
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Bernhard Beschow (1):
>       hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine
> 
> Bibo Mao (8):
>       uefi-test-tools:: Add LoongArch64 support
>       tests/data/uefi-boot-images: Add ISO image for LoongArch system
>       tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
>       tests/acpi: Add empty ACPI data files for LoongArch
>       tests/qtest/bios-tables-test: Add basic testing for LoongArch
>       rebuild-expected-aml.sh: Add support for LoongArch
>       tests/acpi: Fill acpi table data for LoongArch
>       tests/acpi: Remove stale allowed tables
> 
> CLEMENT MATHIEU--DRIF (11):
>       pcie: Add helper to declare PASID capability for a pcie device
>       pcie: Helper functions to check if PASID is enabled
>       pcie: Helper function to check if ATS is enabled
>       pcie: Add a helper to declare the PRI capability for a pcie device
>       pcie: Helper functions to check to check if PRI is enabled
>       pci: Cache the bus mastering status in the device
>       pci: Add an API to get IOMMU's min page size and virtual address width
>       memory: Store user data pointer in the IOMMU notifiers
>       pci: Add a pci-level initialization function for IOMMU notifiers
>       pci: Add a pci-level API for ATS
>       pci: Add a PCI-level API for PRI
> 
> Eugenio Pérez (7):
>       vdpa: check for iova tree initialized at net_client_start
>       vdpa: reorder vhost_vdpa_set_backend_cap
>       vdpa: set backend capabilities at vhost_vdpa_init
>       vdpa: add listener_registered
>       vdpa: reorder listener assignment
>       vdpa: move iova_tree allocation to net_vhost_vdpa_init
>       vdpa: move memory listener register to vhost_vdpa_init
> 
> Huaitong Han (1):
>       vhost: Don't set vring call if guest notifier is unused
> 
> Sairaj Kodilkar (1):
>       hw/i386/amd_iommu: Fix device setup failure when PT is on.
> 
> Vasant Hegde (1):
>       hw/i386/amd_iommu: Fix xtsup when vcpus < 255
> 
> Yuri Benditovich (1):
>       virtio: check for validity of indirect descriptors
> 
>  include/hw/pci/pci.h                               | 316 +++++++++++++++++++++
>  include/hw/pci/pci_device.h                        |   1 +
>  include/hw/pci/pcie.h                              |  13 +-
>  include/hw/pci/pcie_regs.h                         |   8 +
>  include/hw/virtio/vhost-vdpa.h                     |  22 +-
>  include/system/memory.h                            |   1 +
>  hw/i386/amd_iommu.c                                |  20 +-
>  hw/i386/pc_piix.c                                  |   5 +
>  hw/pci/pci.c                                       | 206 +++++++++++++-
>  hw/pci/pcie.c                                      |  78 +++++
>  hw/virtio/vhost-vdpa.c                             | 107 ++++---
>  hw/virtio/virtio-pci.c                             |   7 +-
>  hw/virtio/virtio.c                                 |  11 +
>  net/vhost-vdpa.c                                   |  34 +--
>  tests/qtest/bios-tables-test.c                     |  99 ++++++-
>  tests/data/acpi/loongarch64/virt/APIC              | Bin 0 -> 108 bytes
>  tests/data/acpi/loongarch64/virt/APIC.topology     | Bin 0 -> 213 bytes
>  tests/data/acpi/loongarch64/virt/DSDT              | Bin 0 -> 4641 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.memhp        | Bin 0 -> 5862 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.numamem      | Bin 0 -> 4647 bytes
>  tests/data/acpi/loongarch64/virt/DSDT.topology     | Bin 0 -> 5352 bytes
>  tests/data/acpi/loongarch64/virt/FACP              | Bin 0 -> 268 bytes
>  tests/data/acpi/loongarch64/virt/MCFG              | Bin 0 -> 60 bytes
>  tests/data/acpi/loongarch64/virt/PPTT              | Bin 0 -> 76 bytes
>  tests/data/acpi/loongarch64/virt/PPTT.topology     | Bin 0 -> 296 bytes
>  tests/data/acpi/loongarch64/virt/SLIT              |   0
>  tests/data/acpi/loongarch64/virt/SLIT.numamem      | Bin 0 -> 48 bytes
>  tests/data/acpi/loongarch64/virt/SPCR              | Bin 0 -> 80 bytes
>  tests/data/acpi/loongarch64/virt/SRAT              | Bin 0 -> 104 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.memhp        | Bin 0 -> 144 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.numamem      | Bin 0 -> 144 bytes
>  tests/data/acpi/loongarch64/virt/SRAT.topology     | Bin 0 -> 216 bytes
>  tests/data/acpi/rebuild-expected-aml.sh            |   4 +-
>  .../bios-tables-test.loongarch64.iso.qcow2         | Bin 0 -> 12800 bytes
>  tests/qtest/meson.build                            |   1 +
>  tests/uefi-test-tools/Makefile                     |   5 +-
>  .../UefiTestToolsPkg/UefiTestToolsPkg.dsc          |   6 +-
>  tests/uefi-test-tools/uefi-test-build.config       |  10 +
>  38 files changed, 846 insertions(+), 108 deletions(-)
>  create mode 100644 tests/data/acpi/loongarch64/virt/APIC
>  create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/FACP
>  create mode 100644 tests/data/acpi/loongarch64/virt/MCFG
>  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT
>  create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology
>  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT
>  create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/SPCR
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem
>  create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
>  create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
>