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

Michael S. Tsirkin posted 40 patches 11 months, 3 weeks ago
Failed in applying to current master (apply log)
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Jonathan Cameron <jonathan.cameron@huawei.com>, Fan Ni <fan.ni@samsung.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, "Eugenio Pérez" <eperezma@redhat.com>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, David Hildenbrand <david@redhat.com>, Aurelien Jarno <aurelien@aurel32.net>, "Hervé Poussineau" <hpoussin@reactos.org>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
There is a newer version of this series
hw/virtio/vhost-shadow-virtqueue.h            |   3 +
include/hw/cxl/cxl_device.h                   |  13 +-
include/hw/i386/pc.h                          |   3 +-
include/hw/pci-host/pam.h                     |   5 +-
include/hw/pci/pci.h                          |   2 +
include/hw/southbridge/ich9.h                 |   2 +
include/hw/southbridge/piix.h                 |   3 +
include/hw/virtio/vhost-vdpa.h                |  11 +
include/hw/virtio/vhost.h                     |   1 +
include/hw/virtio/virtio.h                    |   2 +
hw/core/machine.c                             |   1 +
hw/cxl/cxl-cdat.c                             |  60 ++---
hw/cxl/cxl-component-utils.c                  |  14 +-
hw/cxl/cxl-device-utils.c                     |  15 ++
hw/cxl/cxl-mailbox-utils.c                    | 107 ++++----
hw/i386/acpi-common.c                         |   2 +-
hw/i386/pc.c                                  |  22 +-
hw/i386/pc_piix.c                             |  18 +-
hw/i386/pc_q35.c                              |  19 +-
hw/isa/lpc_ich9.c                             |   8 +
hw/isa/piix3.c                                |  15 ++
hw/mem/cxl_type3.c                            | 342 +++++++++++++++++++-------
hw/net/virtio-net.c                           |   1 -
hw/pci-bridge/cxl_upstream.c                  |   3 +
hw/pci-host/i440fx.c                          |  15 +-
hw/pci-host/pam.c                             |  12 +-
hw/pci-host/q35.c                             |  14 +-
hw/pci/pci.c                                  |  29 +--
hw/pci/pcie_aer.c                             |  11 +-
hw/virtio/vhost-shadow-virtqueue.c            |   5 +-
hw/virtio/vhost-user.c                        |  28 ++-
hw/virtio/vhost-vdpa.c                        | 168 ++++++++++++-
hw/virtio/vhost.c                             |   2 +-
hw/virtio/virtio-crypto.c                     |  18 +-
hw/virtio/virtio-mem.c                        |   2 +-
hw/virtio/virtio-pci.c                        |  36 +++
tests/qtest/bios-tables-test.c                |   8 +-
tests/qtest/cxl-test.c                        | 140 ++++++++---
docs/about/deprecated.rst                     |   8 +
docs/system/devices/cxl.rst                   |  63 +++--
hw/isa/Kconfig                                |   2 +
hw/pci-bridge/Kconfig                         |   5 +
hw/pci-bridge/meson.build                     |   3 +-
tests/data/acpi/microvm/APIC                  | Bin 70 -> 70 bytes
tests/data/acpi/microvm/APIC.ioapic2          | Bin 82 -> 82 bytes
tests/data/acpi/microvm/APIC.pcie             | Bin 110 -> 110 bytes
tests/data/acpi/pc/APIC                       | Bin 120 -> 120 bytes
tests/data/acpi/pc/APIC.acpihmat              | Bin 128 -> 128 bytes
tests/data/acpi/pc/APIC.cphp                  | Bin 160 -> 160 bytes
tests/data/acpi/pc/APIC.dimmpxm               | Bin 144 -> 144 bytes
tests/data/acpi/q35/APIC                      | Bin 120 -> 120 bytes
tests/data/acpi/q35/APIC.acpihmat             | Bin 128 -> 128 bytes
tests/data/acpi/q35/APIC.acpihmat-noinitiator | Bin 144 -> 144 bytes
tests/data/acpi/q35/APIC.core-count2          | Bin 2478 -> 2478 bytes
tests/data/acpi/q35/APIC.cphp                 | Bin 160 -> 160 bytes
tests/data/acpi/q35/APIC.dimmpxm              | Bin 144 -> 144 bytes
tests/data/acpi/q35/APIC.xapic                | Bin 2686 -> 2686 bytes
57 files changed, 900 insertions(+), 341 deletions(-)
[PULL 00/40] virtio,pc,pci: fixes, features, cleanups
Posted by Michael S. Tsirkin 11 months, 3 weeks ago
The following changes since commit 297e8182194e634baa0cbbfd96d2e09e2a0bcd40:

  accel/tcg: Fix append_mem_cb (2023-05-18 09:28:44 -0700)

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 87af48a49c0a5663b3fff58c3407393772d3c448:

  hw/i386/pc: No need for rtc_state to be an out-parameter (2023-05-19 10:30:46 -0400)

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

CXL volatile memory support
More memslots for vhost-user on x86 and ARM.
vIOMMU support for vhost-vdpa
pcie-to-pci bridge can now be compiled out
MADT revision bumped to 3
Fixes, cleanups all over the place.

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

----------------------------------------------------------------
Bernhard Beschow (9):
      hw/pci-host/i440fx: Inline sysbus_add_io()
      hw/pci-host/q35: Inline sysbus_add_io()
      hw/i386/pc_q35: Reuse machine parameter
      hw/i386/pc_{q35,piix}: Reuse MachineClass::desc as SMB product name
      hw/i386/pc_{q35,piix}: Minimize usage of get_system_memory()
      hw/i386/pc: Initialize ram_memory variable directly
      hw/pci-host/pam: Make init_pam() usage more readable
      hw/i386/pc: Create RTC controllers in south bridges
      hw/i386/pc: No need for rtc_state to be an out-parameter

Brice Goglin (1):
      docs/cxl: fix some typos

Cindy Lu (4):
      vhost: expose function vhost_dev_has_iommu()
      vhost_vdpa: fix the input in trace_vhost_vdpa_listener_region_del()
      vhost-vdpa: Add check for full 64-bit in region delete
      vhost-vdpa: Add support for vIOMMU.

David Hildenbrand (2):
      virtio-mem: Default to "unplugged-inaccessible=on" with 8.1 on x86-64
      vhost-user: Remove acpi-specific memslot limit

Eric DeVolder (3):
      ACPI: bios-tables-test.c step 2 (allowed-diff entries)
      ACPI: i386: bump to MADT to revision 3
      ACPI: bios-tables-test.c step 5 (update expected table binaries)

Eugenio Pérez (1):
      virtio-net: not enable vq reset feature unconditionally

Gregory Price (2):
      tests/qtest/cxl-test: whitespace, line ending cleanup
      hw/cxl: Multi-Region CXL Type-3 Devices (Volatile and Persistent)

Hao Zeng (1):
      hw/cxl: cdat: Fix open file not closed in ct3_load_cdat()

Hawkins Jiawei (1):
      vhost: fix possible wrap in SVQ descriptor ring

Ira Weiny (1):
      hw/cxl: Introduce cxl_device_get_timestamp() utility function

Jonathan Cameron (6):
      hw/cxl: cdat: Fix failure to free buffer in erorr paths
      hw/cxl: drop pointless memory_region_transaction_guards
      hw/cxl: Fix endian handling for decoder commit.
      hw/cxl: Fix incorrect reset of commit and associated clearing of committed.
      hw/mem: Use memory_region_size() in cxl_type3
      hw/cxl: rename mailbox return code type from ret_code to CXLRetCode

Leonardo Bras (1):
      hw/pci: Disable PCI_ERR_UNCOR_MASK register for machine type < 8.0

Mauro Matteo Cascella (1):
      virtio-crypto: fix NULL pointer dereference in virtio_crypto_free_request

Raghu H (2):
      docs/cxl: Remove incorrect CXL type 3 size parameter
      docs/cxl: Replace unsupported AARCH64 with x86_64

Sebastian Ott (1):
      hw/pci-bridge: make building pcie-to-pci bridge configurable

Stefan Hajnoczi (1):
      vhost-user: send SET_STATUS 0 after GET_VRING_BASE

Viktor Prutyanov (1):
      virtio-pci: add handling of PCI ATS and Device-TLB enable/disable

Vladimir Sementsov-Ogievskiy (2):
      pci: pci_add_option_rom(): improve style
      pci: pci_add_option_rom(): refactor: use g_autofree for path variable

 hw/virtio/vhost-shadow-virtqueue.h            |   3 +
 include/hw/cxl/cxl_device.h                   |  13 +-
 include/hw/i386/pc.h                          |   3 +-
 include/hw/pci-host/pam.h                     |   5 +-
 include/hw/pci/pci.h                          |   2 +
 include/hw/southbridge/ich9.h                 |   2 +
 include/hw/southbridge/piix.h                 |   3 +
 include/hw/virtio/vhost-vdpa.h                |  11 +
 include/hw/virtio/vhost.h                     |   1 +
 include/hw/virtio/virtio.h                    |   2 +
 hw/core/machine.c                             |   1 +
 hw/cxl/cxl-cdat.c                             |  60 ++---
 hw/cxl/cxl-component-utils.c                  |  14 +-
 hw/cxl/cxl-device-utils.c                     |  15 ++
 hw/cxl/cxl-mailbox-utils.c                    | 107 ++++----
 hw/i386/acpi-common.c                         |   2 +-
 hw/i386/pc.c                                  |  22 +-
 hw/i386/pc_piix.c                             |  18 +-
 hw/i386/pc_q35.c                              |  19 +-
 hw/isa/lpc_ich9.c                             |   8 +
 hw/isa/piix3.c                                |  15 ++
 hw/mem/cxl_type3.c                            | 342 +++++++++++++++++++-------
 hw/net/virtio-net.c                           |   1 -
 hw/pci-bridge/cxl_upstream.c                  |   3 +
 hw/pci-host/i440fx.c                          |  15 +-
 hw/pci-host/pam.c                             |  12 +-
 hw/pci-host/q35.c                             |  14 +-
 hw/pci/pci.c                                  |  29 +--
 hw/pci/pcie_aer.c                             |  11 +-
 hw/virtio/vhost-shadow-virtqueue.c            |   5 +-
 hw/virtio/vhost-user.c                        |  28 ++-
 hw/virtio/vhost-vdpa.c                        | 168 ++++++++++++-
 hw/virtio/vhost.c                             |   2 +-
 hw/virtio/virtio-crypto.c                     |  18 +-
 hw/virtio/virtio-mem.c                        |   2 +-
 hw/virtio/virtio-pci.c                        |  36 +++
 tests/qtest/bios-tables-test.c                |   8 +-
 tests/qtest/cxl-test.c                        | 140 ++++++++---
 docs/about/deprecated.rst                     |   8 +
 docs/system/devices/cxl.rst                   |  63 +++--
 hw/isa/Kconfig                                |   2 +
 hw/pci-bridge/Kconfig                         |   5 +
 hw/pci-bridge/meson.build                     |   3 +-
 tests/data/acpi/microvm/APIC                  | Bin 70 -> 70 bytes
 tests/data/acpi/microvm/APIC.ioapic2          | Bin 82 -> 82 bytes
 tests/data/acpi/microvm/APIC.pcie             | Bin 110 -> 110 bytes
 tests/data/acpi/pc/APIC                       | Bin 120 -> 120 bytes
 tests/data/acpi/pc/APIC.acpihmat              | Bin 128 -> 128 bytes
 tests/data/acpi/pc/APIC.cphp                  | Bin 160 -> 160 bytes
 tests/data/acpi/pc/APIC.dimmpxm               | Bin 144 -> 144 bytes
 tests/data/acpi/q35/APIC                      | Bin 120 -> 120 bytes
 tests/data/acpi/q35/APIC.acpihmat             | Bin 128 -> 128 bytes
 tests/data/acpi/q35/APIC.acpihmat-noinitiator | Bin 144 -> 144 bytes
 tests/data/acpi/q35/APIC.core-count2          | Bin 2478 -> 2478 bytes
 tests/data/acpi/q35/APIC.cphp                 | Bin 160 -> 160 bytes
 tests/data/acpi/q35/APIC.dimmpxm              | Bin 144 -> 144 bytes
 tests/data/acpi/q35/APIC.xapic                | Bin 2686 -> 2686 bytes
 57 files changed, 900 insertions(+), 341 deletions(-)


Re: [PULL 00/40] virtio,pc,pci: fixes, features, cleanups
Posted by Richard Henderson 11 months, 3 weeks ago
On 5/19/23 07:49, Michael S. Tsirkin wrote:
> The following changes since commit 297e8182194e634baa0cbbfd96d2e09e2a0bcd40:
> 
>    accel/tcg: Fix append_mem_cb (2023-05-18 09:28:44 -0700)
> 
> 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 87af48a49c0a5663b3fff58c3407393772d3c448:
> 
>    hw/i386/pc: No need for rtc_state to be an out-parameter (2023-05-19 10:30:46 -0400)
> 
> ----------------------------------------------------------------
> virtio,pc,pci: fixes, features, cleanups
> 
> CXL volatile memory support
> More memslots for vhost-user on x86 and ARM.
> vIOMMU support for vhost-vdpa
> pcie-to-pci bridge can now be compiled out
> MADT revision bumped to 3
> Fixes, cleanups all over the place.
> 
> Signed-off-by: Michael S. Tsirkin<mst@redhat.com>

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


r~