[PULL 00/45] virtio,pc,pci: features, cleanups, fixes

Michael S. Tsirkin posted 45 patches 2 years, 1 month ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220304133556.233983-1-mst@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <ani@anisinha.ca>, Peter Xu <peterx@redhat.com>, Jason Wang <jasowang@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Gerd Hoffmann <kraxel@redhat.com>, Eric Auger <eric.auger@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Coiby Xu <Coiby.Xu@gmail.com>, Stefan Hajnoczi <stefanha@redhat.com>, Amit Shah <amit@kernel.org>
There is a newer version of this series
docs/pcie_sriov.txt                        | 115 +++++++++++
docs/specs/pci-ids.txt                     |   1 +
configure                                  |   4 +-
hw/i386/intel_iommu_internal.h             |   1 +
include/hw/i386/intel_iommu.h              |   1 +
include/hw/i386/pc.h                       |   2 +
include/hw/i386/x86.h                      |   2 -
include/hw/misc/pvpanic.h                  |   8 -
include/hw/pci-bridge/xio3130_downstream.h |  15 ++
include/hw/pci/pci.h                       |  12 +-
include/hw/pci/pci_regs.h                  |   1 +
include/hw/pci/pcie.h                      |   7 +
include/hw/pci/pcie_sriov.h                |  77 ++++++++
include/hw/virtio/vhost-user-i2c.h         |   3 +
include/hw/virtio/vhost-user.h             |   3 +-
include/hw/virtio/virtio-iommu.h           |   1 +
include/qemu/event_notifier.h              |   1 +
include/qemu/typedefs.h                    |   2 +
include/standard-headers/linux/pvpanic.h   |   9 +
tests/qtest/libqos/generic-pcihost.h       |  54 ++++++
tests/qtest/libqos/pci.h                   |   6 +-
hw/acpi/erst.c                             |   5 -
hw/acpi/pcihp.c                            |  12 +-
hw/i386/intel_iommu.c                      |  14 +-
hw/i386/pc.c                               |  28 ++-
hw/i386/pc_piix.c                          |   1 +
hw/i386/pc_sysfw_ovmf.c                    |  18 +-
hw/i386/x86.c                              |  16 +-
hw/misc/pvpanic-isa.c                      |   4 +-
hw/misc/pvpanic-pci.c                      |   4 +-
hw/misc/pvpanic.c                          |   5 +-
hw/net/virtio-net.c                        |  13 +-
hw/pci-bridge/pci_expander_bridge.c        |   6 +
hw/pci-bridge/xio3130_downstream.c         |   5 +-
hw/pci-bridge/xio3130_upstream.c           |   2 +-
hw/pci/pci.c                               | 104 +++++++---
hw/pci/pcie.c                              |  16 ++
hw/pci/pcie_sriov.c                        | 302 +++++++++++++++++++++++++++++
hw/smbios/smbios.c                         |  61 ++++--
hw/virtio/vhost-user-i2c.c                 |  11 +-
hw/virtio/vhost-user.c                     |  61 +++---
hw/virtio/vhost-vdpa.c                     |  21 +-
hw/virtio/vhost-vsock-common.c             |  10 +-
hw/virtio/vhost.c                          |   6 +-
hw/virtio/virtio-bus.c                     |  12 +-
hw/virtio/virtio-iommu.c                   |  99 ++++++++--
qom/object.c                               |   6 +-
tests/qtest/e1000e-test.c                  |   6 +
tests/qtest/libqos/arm-virt-machine.c      |  19 +-
tests/qtest/libqos/generic-pcihost.c       | 231 ++++++++++++++++++++++
tests/qtest/libqos/pci-pc.c                |   1 +
tests/qtest/libqos/pci-spapr.c             |   1 +
tests/qtest/libqos/pci.c                   |  78 +++++---
tests/qtest/vhost-user-blk-test.c          |  16 ++
tests/qtest/virtio-blk-test.c              |   5 +
tests/qtest/virtio-iommu-test.c            |   2 +
tests/qtest/virtio-net-test.c              |   5 +
tests/qtest/virtio-rng-test.c              |   5 +
util/event_notifier-posix.c                |   5 +
MAINTAINERS                                |   1 -
docs/about/deprecated.rst                  |   8 +
docs/interop/vhost-user.rst                |  20 ++
docs/specs/acpi_erst.rst                   | 200 +++++++++++++++++++
docs/specs/index.rst                       |   1 +
hw/pci/meson.build                         |   1 +
hw/pci/trace-events                        |   5 +
hw/virtio/trace-events                     |   4 +-
meson.build                                |   2 +-
scripts/update-linux-headers.sh            |   3 +-
tests/qtest/libqos/meson.build             |   1 +
70 files changed, 1581 insertions(+), 206 deletions(-)
create mode 100644 docs/pcie_sriov.txt
create mode 100644 include/hw/pci-bridge/xio3130_downstream.h
create mode 100644 include/hw/pci/pcie_sriov.h
create mode 100644 include/standard-headers/linux/pvpanic.h
create mode 100644 tests/qtest/libqos/generic-pcihost.h
create mode 100644 hw/pci/pcie_sriov.c
create mode 100644 tests/qtest/libqos/generic-pcihost.c
create mode 100644 docs/specs/acpi_erst.rst
[PULL 00/45] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 2 years, 1 month ago
The following changes since commit 6629bf78aac7e53f83fd0bcbdbe322e2302dfd1f:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20220302' into staging (2022-03-03 14:46:48 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 74bc2c502da74191a34fb61b4c890061368269c8:

  docs: vhost-user: add subsection for non-Linux platforms (2022-03-04 08:30:53 -0500)

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

vhost-user enabled on non-linux systems
beginning of nvme sriov support
bigger tx queue for vdpa
virtio iommu bypass
pci tests for arm

Fixes, cleanups all over the place

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

----------------------------------------------------------------
Ani Sinha (6):
      MAINTAINERS: no need to add my name explicitly as a reviewer for VIOT tables
      docs/acpi/erst: add device id for ACPI ERST device in pci-ids.txt
      hw/acpi/erst: clean up unused IS_UEFI_CPER_RECORD macro
      hw/smbios: code cleanup - use macro definitions for table header handles
      hw/smbios: fix overlapping table handle numbers with large memory vms
      hw/smbios: add assertion to ensure handles of tables 19 and 32 do not collide

Dov Murik (2):
      hw/i386: Improve bounds checking in OVMF table parsing
      hw/i386: Replace magic number with field length calculation

Eric Auger (4):
      tests/qtest/libqos/pci: Introduce pio_limit
      tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable
      tests/qtest/vhost-user-blk-test: Temporary hack to get tests passing on aarch64
      tests/qtest/libqos: Add generic pci host bridge in arm-virt machine

Eric DeVolder (1):
      ACPI ERST: specification for ERST support

Eugenio Pérez (1):
      virtio-net: Unlimit tx queue size if peer is vdpa

Halil Pasic (1):
      virtio: fix the condition for iommu_platform not supported

Igor Mammedov (3):
      pci: expose TYPE_XIO3130_DOWNSTREAM name
      acpi: pcihp: pcie: set power on cap on parent slot
      x86: cleanup unused compat_apic_id_mode

Jason Wang (1):
      intel_iommu: support snoop control

Jean-Philippe Brucker (3):
      virtio-iommu: Default to bypass during boot
      virtio-iommu: Support bypass domain
      tests/qtest/virtio-iommu-test: Check bypass config

Joelle van Dyne (1):
      pc: add option to disable PS/2 mouse/keyboard

Jonathan Cameron (3):
      hw/pci-bridge/pxb: Fix missing swizzle
      pci-bridge/xio3130_upstream: Fix error handling
      pci-bridge/xio3130_downstream: Fix error handling

Knut Omang (2):
      pcie: Add support for Single Root I/O Virtualization (SR/IOV)
      pcie: Add some SR/IOV API documentation in docs/pcie_sriov.txt

Laurent Vivier (2):
      hw/virtio: vdpa: Fix leak of host-notifier memory-region
      vhost-vdpa: make notifiers _init()/_uninit() symmetric

Michael S. Tsirkin (1):
      qom: assert integer does not overflow

Sergio Lopez (4):
      event_notifier: add event_notifier_get_wfd()
      vhost: use wfd on functions setting vring call fd
      configure, meson: allow enabling vhost-user on all POSIX systems
      docs: vhost-user: add subsection for non-Linux platforms

Stefano Garzarella (1):
      vhost-vsock: detach the virqueue element in case of error

Thomas Huth (1):
      hw/i386/pc_piix: Mark the machine types from version 1.4 to 1.7 as deprecated

Viresh Kumar (1):
      hw/vhost-user-i2c: Add support for VIRTIO_I2C_F_ZERO_LENGTH_REQUEST

Xueming Li (2):
      vhost-user: remove VirtQ notifier restore
      vhost-user: fix VirtQ notifier cleanup

Zhenwei Pi (2):
      headers: Add pvpanic.h
      hw/misc/pvpanic: Use standard headers instead

Zhenzhong Duan (1):
      pci: show id info when pci BDF conflict

Łukasz Gieryk (2):
      pcie: Add a helper to the SR/IOV API
      pcie: Add 1.2 version token for the Power Management Capability

 docs/pcie_sriov.txt                        | 115 +++++++++++
 docs/specs/pci-ids.txt                     |   1 +
 configure                                  |   4 +-
 hw/i386/intel_iommu_internal.h             |   1 +
 include/hw/i386/intel_iommu.h              |   1 +
 include/hw/i386/pc.h                       |   2 +
 include/hw/i386/x86.h                      |   2 -
 include/hw/misc/pvpanic.h                  |   8 -
 include/hw/pci-bridge/xio3130_downstream.h |  15 ++
 include/hw/pci/pci.h                       |  12 +-
 include/hw/pci/pci_regs.h                  |   1 +
 include/hw/pci/pcie.h                      |   7 +
 include/hw/pci/pcie_sriov.h                |  77 ++++++++
 include/hw/virtio/vhost-user-i2c.h         |   3 +
 include/hw/virtio/vhost-user.h             |   3 +-
 include/hw/virtio/virtio-iommu.h           |   1 +
 include/qemu/event_notifier.h              |   1 +
 include/qemu/typedefs.h                    |   2 +
 include/standard-headers/linux/pvpanic.h   |   9 +
 tests/qtest/libqos/generic-pcihost.h       |  54 ++++++
 tests/qtest/libqos/pci.h                   |   6 +-
 hw/acpi/erst.c                             |   5 -
 hw/acpi/pcihp.c                            |  12 +-
 hw/i386/intel_iommu.c                      |  14 +-
 hw/i386/pc.c                               |  28 ++-
 hw/i386/pc_piix.c                          |   1 +
 hw/i386/pc_sysfw_ovmf.c                    |  18 +-
 hw/i386/x86.c                              |  16 +-
 hw/misc/pvpanic-isa.c                      |   4 +-
 hw/misc/pvpanic-pci.c                      |   4 +-
 hw/misc/pvpanic.c                          |   5 +-
 hw/net/virtio-net.c                        |  13 +-
 hw/pci-bridge/pci_expander_bridge.c        |   6 +
 hw/pci-bridge/xio3130_downstream.c         |   5 +-
 hw/pci-bridge/xio3130_upstream.c           |   2 +-
 hw/pci/pci.c                               | 104 +++++++---
 hw/pci/pcie.c                              |  16 ++
 hw/pci/pcie_sriov.c                        | 302 +++++++++++++++++++++++++++++
 hw/smbios/smbios.c                         |  61 ++++--
 hw/virtio/vhost-user-i2c.c                 |  11 +-
 hw/virtio/vhost-user.c                     |  61 +++---
 hw/virtio/vhost-vdpa.c                     |  21 +-
 hw/virtio/vhost-vsock-common.c             |  10 +-
 hw/virtio/vhost.c                          |   6 +-
 hw/virtio/virtio-bus.c                     |  12 +-
 hw/virtio/virtio-iommu.c                   |  99 ++++++++--
 qom/object.c                               |   6 +-
 tests/qtest/e1000e-test.c                  |   6 +
 tests/qtest/libqos/arm-virt-machine.c      |  19 +-
 tests/qtest/libqos/generic-pcihost.c       | 231 ++++++++++++++++++++++
 tests/qtest/libqos/pci-pc.c                |   1 +
 tests/qtest/libqos/pci-spapr.c             |   1 +
 tests/qtest/libqos/pci.c                   |  78 +++++---
 tests/qtest/vhost-user-blk-test.c          |  16 ++
 tests/qtest/virtio-blk-test.c              |   5 +
 tests/qtest/virtio-iommu-test.c            |   2 +
 tests/qtest/virtio-net-test.c              |   5 +
 tests/qtest/virtio-rng-test.c              |   5 +
 util/event_notifier-posix.c                |   5 +
 MAINTAINERS                                |   1 -
 docs/about/deprecated.rst                  |   8 +
 docs/interop/vhost-user.rst                |  20 ++
 docs/specs/acpi_erst.rst                   | 200 +++++++++++++++++++
 docs/specs/index.rst                       |   1 +
 hw/pci/meson.build                         |   1 +
 hw/pci/trace-events                        |   5 +
 hw/virtio/trace-events                     |   4 +-
 meson.build                                |   2 +-
 scripts/update-linux-headers.sh            |   3 +-
 tests/qtest/libqos/meson.build             |   1 +
 70 files changed, 1581 insertions(+), 206 deletions(-)
 create mode 100644 docs/pcie_sriov.txt
 create mode 100644 include/hw/pci-bridge/xio3130_downstream.h
 create mode 100644 include/hw/pci/pcie_sriov.h
 create mode 100644 include/standard-headers/linux/pvpanic.h
 create mode 100644 tests/qtest/libqos/generic-pcihost.h
 create mode 100644 hw/pci/pcie_sriov.c
 create mode 100644 tests/qtest/libqos/generic-pcihost.c
 create mode 100644 docs/specs/acpi_erst.rst


Re: [PULL 00/45] virtio,pc,pci: features, cleanups, fixes
Posted by Peter Maydell 2 years, 1 month ago
On Fri, 4 Mar 2022 at 13:37, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> The following changes since commit 6629bf78aac7e53f83fd0bcbdbe322e2302dfd1f:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20220302' into staging (2022-03-03 14:46:48 +0000)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>
> for you to fetch changes up to 74bc2c502da74191a34fb61b4c890061368269c8:
>
>   docs: vhost-user: add subsection for non-Linux platforms (2022-03-04 08:30:53 -0500)
>
> ----------------------------------------------------------------
> virtio,pc,pci: features, cleanups, fixes
>
> vhost-user enabled on non-linux systems
> beginning of nvme sriov support
> bigger tx queue for vdpa
> virtio iommu bypass
> pci tests for arm
>
> Fixes, cleanups all over the place
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> ----------------------------------------------------------------

This failed an assertion on ppc64:

>>> G_TEST_DBUS_DAEMON=/home/pm215/qemu/tests/dbus-vmstate-daemon.sh QTEST_QEMU_BINARY=./qemu-system-aarch64 QTEST_QEMU_IMG=./qemu-img QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon MALLOC_PERTURB_=120 /home/pm215/qemu/build/all/tests/qtest/qos-test --tap -k
▶  71/716 /aarch64/xlnx-zcu102/generic-sdhci/sdhci/sdhci-tests/registers
         OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/AC97/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82544gc/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82545em/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82550/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82551/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557a/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557b/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557c/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558a/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558b/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559a/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559b/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559c/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559er/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82562/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82801/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/ES1370/pci-device/pci-device-tests/nop
OK
▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/megasas/pci-device/pci-device-tests/nop
OK
▶  71/716 ERROR:../../tests/qtest/libqos/pci.c:232:qpci_device_enable:
assertion failed (cmd & PCI_COMMAND_IO == PCI_COMMAND_IO): (0x00000000
== 0x00000001) ERROR



-- PMM
Re: [PULL 00/45] virtio,pc,pci: features, cleanups, fixes
Posted by Eric Auger 2 years, 1 month ago
Hi Peter, Michael,

On 3/4/22 11:13 PM, Peter Maydell wrote:
> On Fri, 4 Mar 2022 at 13:37, Michael S. Tsirkin <mst@redhat.com> wrote:
>>
>> The following changes since commit 6629bf78aac7e53f83fd0bcbdbe322e2302dfd1f:
>>
>>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20220302' into staging (2022-03-03 14:46:48 +0000)
>>
>> are available in the Git repository at:
>>
>>   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>>
>> for you to fetch changes up to 74bc2c502da74191a34fb61b4c890061368269c8:
>>
>>   docs: vhost-user: add subsection for non-Linux platforms (2022-03-04 08:30:53 -0500)
>>
>> ----------------------------------------------------------------
>> virtio,pc,pci: features, cleanups, fixes
>>
>> vhost-user enabled on non-linux systems
>> beginning of nvme sriov support
>> bigger tx queue for vdpa
>> virtio iommu bypass
>> pci tests for arm
>>
>> Fixes, cleanups all over the place
>>
>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>>
>> ----------------------------------------------------------------
> 
> This failed an assertion on ppc64:
> 
>>>> G_TEST_DBUS_DAEMON=/home/pm215/qemu/tests/dbus-vmstate-daemon.sh QTEST_QEMU_BINARY=./qemu-system-aarch64 QTEST_QEMU_IMG=./qemu-img QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon MALLOC_PERTURB_=120 /home/pm215/qemu/build/all/tests/qtest/qos-test --tap -k
> ▶  71/716 /aarch64/xlnx-zcu102/generic-sdhci/sdhci/sdhci-tests/registers
>          OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/AC97/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82544gc/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82545em/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82550/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82551/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557c/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559c/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559er/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82562/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82801/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/ES1370/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/megasas/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 ERROR:../../tests/qtest/libqos/pci.c:232:qpci_device_enable:
> assertion failed (cmd & PCI_COMMAND_IO == PCI_COMMAND_IO): (0x00000000
> == 0x00000001) ERROR
Please forgive me for the extra work. Peter do you know if the host is BE?

Thanks

Eric
> 
> 
> 
> -- PMM
> 


Re: [PULL 00/45] virtio,pc,pci: features, cleanups, fixes
Posted by Peter Maydell 2 years, 1 month ago
On Mon, 7 Mar 2022 at 10:48, Eric Auger <eauger@redhat.com> wrote:
> Please forgive me for the extra work. Peter do you know if the host is BE?

Yes, it is.

thanks
-- PMM
Re: [PULL 00/45] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 2 years, 1 month ago
On Fri, Mar 04, 2022 at 10:13:13PM +0000, Peter Maydell wrote:
> On Fri, 4 Mar 2022 at 13:37, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > The following changes since commit 6629bf78aac7e53f83fd0bcbdbe322e2302dfd1f:
> >
> >   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20220302' into staging (2022-03-03 14:46:48 +0000)
> >
> > are available in the Git repository at:
> >
> >   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> >
> > for you to fetch changes up to 74bc2c502da74191a34fb61b4c890061368269c8:
> >
> >   docs: vhost-user: add subsection for non-Linux platforms (2022-03-04 08:30:53 -0500)
> >
> > ----------------------------------------------------------------
> > virtio,pc,pci: features, cleanups, fixes
> >
> > vhost-user enabled on non-linux systems
> > beginning of nvme sriov support
> > bigger tx queue for vdpa
> > virtio iommu bypass
> > pci tests for arm
> >
> > Fixes, cleanups all over the place
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
> > ----------------------------------------------------------------
> 
> This failed an assertion on ppc64:
> 
> >>> G_TEST_DBUS_DAEMON=/home/pm215/qemu/tests/dbus-vmstate-daemon.sh QTEST_QEMU_BINARY=./qemu-system-aarch64 QTEST_QEMU_IMG=./qemu-img QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon MALLOC_PERTURB_=120 /home/pm215/qemu/build/all/tests/qtest/qos-test --tap -k
> ▶  71/716 /aarch64/xlnx-zcu102/generic-sdhci/sdhci/sdhci-tests/registers
>          OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/AC97/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82544gc/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/e1000-82545em/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82550/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82551/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82557c/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82558b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559a/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559b/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559c/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82559er/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82562/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/i82801/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/ES1370/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/megasas/pci-device/pci-device-tests/nop
> OK
> ▶  71/716 ERROR:../../tests/qtest/libqos/pci.c:232:qpci_device_enable:
> assertion failed (cmd & PCI_COMMAND_IO == PCI_COMMAND_IO): (0x00000000
> == 0x00000001) ERROR
> 
> 
> 

Clearly yhe addition of aarch tests. I dropped these for now.
Added Ani's FACP patches instead, new pull sent.

-- 
MST