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

Michael S. Tsirkin posted 31 patches 1 year ago
Failed in applying to current master (apply log)
Maintainers: Coiby Xu <Coiby.Xu@gmail.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Ani Sinha <anisinha@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Igor Mammedov <imammedo@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Jonathan Cameron <jonathan.cameron@huawei.com>, Fan Ni <fan.ni@samsung.com>, Richard Henderson <richard.henderson@linaro.org>, Peter Xu <peterx@redhat.com>, Jason Wang <jasowang@redhat.com>, Laurent Vivier <laurent@vivier.eu>, David Hildenbrand <david@redhat.com>, Xiao Guangrong <xiaoguangrong.eric@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>, "Daniel P. Berrangé" <berrange@redhat.com>
There is a newer version of this series
docs/pcie_sriov.txt                       |   5 +-
docs/specs/pci-ids.txt                    |  70 -----------------
docs/specs/pci-serial.txt                 |  34 ---------
docs/specs/pci-testdev.txt                |  31 --------
meson_options.txt                         |   2 +-
hw/i386/amd_iommu.h                       |   9 +--
hw/i386/intel_iommu_internal.h            |   6 +-
include/hw/boards.h                       |   5 ++
include/hw/cxl/cxl.h                      |   4 +-
include/hw/i386/pc.h                      |   6 ++
include/hw/pci/pci.h                      |   3 +
include/hw/pci/pci_bridge.h               |  30 +++++---
include/hw/virtio/virtio.h                |   1 +
subprojects/libvhost-user/libvhost-user.h |   2 +
block/export/vhost-user-blk-server.c      |  24 ++++++
hw/acpi/cxl.c                             |  11 +--
hw/acpi/pcihp.c                           |  10 +++
hw/arm/virt.c                             |  11 ++-
hw/char/serial-pci-multi.c                |   2 +-
hw/char/serial-pci.c                      |   2 +-
hw/core/machine.c                         |   3 +
hw/cxl/cxl-host.c                         |   4 +-
hw/i386/acpi-build.c                      |  12 ++-
hw/i386/amd_iommu.c                       |  74 ++++++++++--------
hw/i386/intel_iommu.c                     |   9 ++-
hw/i386/pc.c                              |   4 +
hw/i386/pc_piix.c                         |  17 ++++-
hw/i386/pc_q35.c                          |  14 +++-
hw/m68k/virt.c                            |  11 ++-
hw/mem/pc-dimm.c                          |   7 ++
hw/pci-bridge/pci_expander_bridge.c       |  61 +++++----------
hw/pci/pci.c                              |  15 ++++
hw/ppc/spapr.c                            |  17 ++++-
hw/s390x/s390-virtio-ccw.c                |  14 +++-
hw/s390x/virtio-ccw.c                     |   1 +
hw/sparc64/sun4u.c                        |   7 +-
hw/virtio/vhost-user-i2c.c                |  16 ++++
hw/virtio/vhost.c                         |  14 ----
hw/virtio/virtio-balloon.c                |  33 ++------
hw/virtio/virtio-mmio.c                   |   1 +
hw/virtio/virtio-pci.c                    |   1 +
hw/virtio/virtio.c                        |   2 +-
hw/xen/xen_pt.c                           |   7 +-
net/vhost-vdpa.c                          |   3 +-
subprojects/libvhost-user/libvhost-user.c |  10 +++
tests/qtest/bios-tables-test.c            | 123 +++++++++++-------------------
.mailmap                                  |   1 +
MAINTAINERS                               |  12 ++-
docs/devel/acpi-bits.rst                  |   2 +-
docs/interop/vhost-user.rst               |  60 ++++++++++-----
docs/specs/index.rst                      |   3 +
docs/specs/pci-ids.rst                    |  98 ++++++++++++++++++++++++
docs/specs/pci-serial.rst                 |  37 +++++++++
docs/specs/pci-testdev.rst                |  39 ++++++++++
docs/system/devices/cxl.rst               |   2 +-
scripts/meson-buildoptions.sh             |   2 +-
56 files changed, 584 insertions(+), 420 deletions(-)
delete mode 100644 docs/specs/pci-ids.txt
delete mode 100644 docs/specs/pci-serial.txt
delete mode 100644 docs/specs/pci-testdev.txt
create mode 100644 docs/specs/pci-ids.rst
create mode 100644 docs/specs/pci-serial.rst
create mode 100644 docs/specs/pci-testdev.rst
[PULL 00/31] virtio,pc,pci: fixes, features, cleanups
Posted by Michael S. Tsirkin 1 year ago
The following changes since commit c1eb2ddf0f8075faddc5f7c3d39feae3e8e9d6b4:

  Update version for v8.0.0 release (2023-04-19 17:27:13 +0100)

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 c28db9e0002df2abf88283b41dce0be17e8b0888:

  hw/pci-bridge: Make PCIe and CXL PXB Devices inherit from TYPE_PXB_DEV (2023-04-24 22:56:55 -0400)

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

Mostly just fixes, cleanups all over the place.
Some optimizations.
More control over slot_reserved_mask.
More feature bits supported for SVQ.

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

----------------------------------------------------------------
Akihiko Odaki (1):
      docs: Remove obsolete descriptions of SR-IOV support

Ani Sinha (3):
      Add my old and new work email mapping and use work email to support biosbits
      Add my old and new work email mapping and use work email to support acpi
      hw/acpi: limit warning on acpi table size to pc machines older than version 2.3

Carlos López (1):
      virtio: refresh vring region cache after updating a virtqueue size

Chuck Zmudzinski (1):
      pci: avoid accessing slot_reserved_mask directly outside of pci.c

Cornelia Huck (1):
      hw: Add compat machines for 8.1

Eugenio Pérez (2):
      vdpa: accept VIRTIO_NET_F_SPEED_DUPLEX in SVQ
      MAINTAINERS: Add Eugenio Pérez as vhost-shadow-virtqueue reviewer

Igor Mammedov (1):
      acpi: pcihp: allow repeating hot-unplug requests

Jason Wang (1):
      intel_iommu: refine iotlb hash calculation

Jonathan Cameron (2):
      hw/pci-bridge: pci_expander_bridge fix type in pxb_cxl_dev_reset()
      hw/pci-bridge: Make PCIe and CXL PXB Devices inherit from TYPE_PXB_DEV

Paolo Bonzini (1):
      tests: bios-tables-test: replace memset with initializer

Peter Maydell (3):
      docs/specs/pci-ids: Convert from txt to rST
      docs/specs: Convert pci-serial.txt to rst
      docs/specs: Convert pci-testdev.txt to rst

Peter Xu (1):
      vhost: Drop unused eventfd_add|del hooks

Philippe Mathieu-Daudé (6):
      MAINTAINERS: Mark AMD-Vi emulation as orphan
      hw/i386/amd_iommu: Explicit use of AMDVI_BASE_ADDR in amdvi_init
      hw/i386/amd_iommu: Remove intermediate AMDVIState::devid field
      hw/i386/amd_iommu: Move capab_offset from AMDVIState to AMDVIPCIState
      hw/i386/amd_iommu: Set PCI static/const fields via PCIDeviceClass
      hw/i386/amd_iommu: Factor amdvi_pci_realize out of amdvi_sysbus_realize

Stefan Weil (1):
      docs/cxl: Fix sentence

Thomas Huth (1):
      meson_options.txt: Enable qom-cast-debug by default again

Viresh Kumar (3):
      docs: vhost-user: Define memory region separately
      docs: vhost-user: Add Xen specific memory mapping support
      virtio: i2c: Check notifier helpers for VIRTIO_CONFIG_IRQ_IDX

Vladimir Sementsov-Ogievskiy (1):
      vhost-user-blk-server: notify client about disk resize

Yangming (1):
      virtio-balloon: optimize the virtio-balloon on the ARM platform

 docs/pcie_sriov.txt                       |   5 +-
 docs/specs/pci-ids.txt                    |  70 -----------------
 docs/specs/pci-serial.txt                 |  34 ---------
 docs/specs/pci-testdev.txt                |  31 --------
 meson_options.txt                         |   2 +-
 hw/i386/amd_iommu.h                       |   9 +--
 hw/i386/intel_iommu_internal.h            |   6 +-
 include/hw/boards.h                       |   5 ++
 include/hw/cxl/cxl.h                      |   4 +-
 include/hw/i386/pc.h                      |   6 ++
 include/hw/pci/pci.h                      |   3 +
 include/hw/pci/pci_bridge.h               |  30 +++++---
 include/hw/virtio/virtio.h                |   1 +
 subprojects/libvhost-user/libvhost-user.h |   2 +
 block/export/vhost-user-blk-server.c      |  24 ++++++
 hw/acpi/cxl.c                             |  11 +--
 hw/acpi/pcihp.c                           |  10 +++
 hw/arm/virt.c                             |  11 ++-
 hw/char/serial-pci-multi.c                |   2 +-
 hw/char/serial-pci.c                      |   2 +-
 hw/core/machine.c                         |   3 +
 hw/cxl/cxl-host.c                         |   4 +-
 hw/i386/acpi-build.c                      |  12 ++-
 hw/i386/amd_iommu.c                       |  74 ++++++++++--------
 hw/i386/intel_iommu.c                     |   9 ++-
 hw/i386/pc.c                              |   4 +
 hw/i386/pc_piix.c                         |  17 ++++-
 hw/i386/pc_q35.c                          |  14 +++-
 hw/m68k/virt.c                            |  11 ++-
 hw/mem/pc-dimm.c                          |   7 ++
 hw/pci-bridge/pci_expander_bridge.c       |  61 +++++----------
 hw/pci/pci.c                              |  15 ++++
 hw/ppc/spapr.c                            |  17 ++++-
 hw/s390x/s390-virtio-ccw.c                |  14 +++-
 hw/s390x/virtio-ccw.c                     |   1 +
 hw/sparc64/sun4u.c                        |   7 +-
 hw/virtio/vhost-user-i2c.c                |  16 ++++
 hw/virtio/vhost.c                         |  14 ----
 hw/virtio/virtio-balloon.c                |  33 ++------
 hw/virtio/virtio-mmio.c                   |   1 +
 hw/virtio/virtio-pci.c                    |   1 +
 hw/virtio/virtio.c                        |   2 +-
 hw/xen/xen_pt.c                           |   7 +-
 net/vhost-vdpa.c                          |   3 +-
 subprojects/libvhost-user/libvhost-user.c |  10 +++
 tests/qtest/bios-tables-test.c            | 123 +++++++++++-------------------
 .mailmap                                  |   1 +
 MAINTAINERS                               |  12 ++-
 docs/devel/acpi-bits.rst                  |   2 +-
 docs/interop/vhost-user.rst               |  60 ++++++++++-----
 docs/specs/index.rst                      |   3 +
 docs/specs/pci-ids.rst                    |  98 ++++++++++++++++++++++++
 docs/specs/pci-serial.rst                 |  37 +++++++++
 docs/specs/pci-testdev.rst                |  39 ++++++++++
 docs/system/devices/cxl.rst               |   2 +-
 scripts/meson-buildoptions.sh             |   2 +-
 56 files changed, 584 insertions(+), 420 deletions(-)
 delete mode 100644 docs/specs/pci-ids.txt
 delete mode 100644 docs/specs/pci-serial.txt
 delete mode 100644 docs/specs/pci-testdev.txt
 create mode 100644 docs/specs/pci-ids.rst
 create mode 100644 docs/specs/pci-serial.rst
 create mode 100644 docs/specs/pci-testdev.rst


Re: [PULL 00/31] virtio,pc,pci: fixes, features, cleanups
Posted by Richard Henderson 1 year ago
On 4/25/23 08:44, Michael S. Tsirkin wrote:
> The following changes since commit c1eb2ddf0f8075faddc5f7c3d39feae3e8e9d6b4:
> 
>    Update version for v8.0.0 release (2023-04-19 17:27:13 +0100)
> 
> 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 c28db9e0002df2abf88283b41dce0be17e8b0888:
> 
>    hw/pci-bridge: Make PCIe and CXL PXB Devices inherit from TYPE_PXB_DEV (2023-04-24 22:56:55 -0400)
> 
> ----------------------------------------------------------------
> virtio,pc,pci: fixes, features, cleanups
> 
> Mostly just fixes, cleanups all over the place.
> Some optimizations.
> More control over slot_reserved_mask.
> More feature bits supported for SVQ.
> 
> Signed-off-by: Michael S. Tsirkin<mst@redhat.com>
> 
> -----------

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.


r~