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

Michael S. Tsirkin posted 63 patches 5 months, 3 weeks ago
include/hw/audio/virtio-snd.h             |  235 +++++
include/hw/cxl/cxl.h                      |    6 +
include/hw/cxl/cxl_component.h            |    6 +-
include/hw/cxl/cxl_device.h               |  109 ++-
include/hw/cxl/cxl_events.h               |    3 +-
include/hw/cxl/cxl_pci.h                  |    6 +-
include/hw/pci-bridge/cxl_upstream_port.h |   19 +
include/hw/virtio/vhost-backend.h         |   24 +
include/hw/virtio/vhost-user.h            |    1 +
include/hw/virtio/vhost.h                 |  113 +++
hw/audio/virtio-snd-pci.c                 |   93 ++
hw/audio/virtio-snd.c                     | 1409 +++++++++++++++++++++++++++++
hw/cxl/cxl-cdat.c                         |    3 +-
hw/cxl/cxl-component-utils.c              |  130 ++-
hw/cxl/cxl-device-utils.c                 |  143 ++-
hw/cxl/cxl-events.c                       |   11 +-
hw/cxl/cxl-mailbox-utils.c                | 1060 ++++++++++++++++++----
hw/cxl/switch-mailbox-cci.c               |  111 +++
hw/mem/cxl_type3.c                        |   63 +-
hw/mem/cxl_type3_stubs.c                  |    5 +-
hw/pci-bridge/cxl_downstream.c            |   20 +-
hw/pci-bridge/cxl_root_port.c             |    2 +-
hw/pci-bridge/cxl_upstream.c              |   13 +-
hw/virtio/vhost-user-fs.c                 |  101 ++-
hw/virtio/vhost-user.c                    |  146 +++
hw/virtio/vhost.c                         |  241 +++++
net/vhost-vdpa.c                          |  122 +++
system/qdev-monitor.c                     |    2 +
tests/qtest/bios-tables-test.c            |  116 ++-
tests/unit/test-smp-parse.c               |   67 +-
MAINTAINERS                               |    9 +
docs/interop/vhost-user.rst               |  301 +++++-
docs/system/device-emulation.rst          |    1 +
docs/system/devices/virtio-snd.rst        |   49 +
hw/audio/Kconfig                          |    5 +
hw/audio/meson.build                      |    2 +
hw/audio/trace-events                     |   20 +
hw/cxl/meson.build                        |    1 +
tests/avocado/acpi-bits.py                |   33 +-
tests/data/acpi/q35/APIC.core-count       |  Bin 0 -> 544 bytes
tests/data/acpi/q35/APIC.core-count2      |  Bin 2478 -> 3238 bytes
tests/data/acpi/q35/APIC.thread-count     |  Bin 0 -> 544 bytes
tests/data/acpi/q35/APIC.thread-count2    |  Bin 0 -> 3238 bytes
tests/data/acpi/q35/APIC.type4-count      |  Bin 0 -> 1072 bytes
tests/data/acpi/q35/DSDT.core-count       |  Bin 0 -> 12913 bytes
tests/data/acpi/q35/DSDT.core-count2      |  Bin 32495 -> 33770 bytes
tests/data/acpi/q35/DSDT.thread-count     |  Bin 0 -> 12913 bytes
tests/data/acpi/q35/DSDT.thread-count2    |  Bin 0 -> 33770 bytes
tests/data/acpi/q35/DSDT.type4-count      |  Bin 0 -> 18589 bytes
tests/data/acpi/q35/FACP.core-count       |  Bin 0 -> 244 bytes
tests/data/acpi/q35/FACP.thread-count     |  Bin 0 -> 244 bytes
tests/data/acpi/q35/FACP.thread-count2    |  Bin 0 -> 244 bytes
tests/data/acpi/q35/FACP.type4-count      |  Bin 0 -> 244 bytes
53 files changed, 4477 insertions(+), 324 deletions(-)
create mode 100644 include/hw/audio/virtio-snd.h
create mode 100644 include/hw/pci-bridge/cxl_upstream_port.h
create mode 100644 hw/audio/virtio-snd-pci.c
create mode 100644 hw/audio/virtio-snd.c
create mode 100644 hw/cxl/switch-mailbox-cci.c
create mode 100644 docs/system/devices/virtio-snd.rst
create mode 100644 tests/data/acpi/q35/APIC.core-count
create mode 100644 tests/data/acpi/q35/APIC.thread-count
create mode 100644 tests/data/acpi/q35/APIC.thread-count2
create mode 100644 tests/data/acpi/q35/APIC.type4-count
create mode 100644 tests/data/acpi/q35/DSDT.core-count
create mode 100644 tests/data/acpi/q35/DSDT.thread-count
create mode 100644 tests/data/acpi/q35/DSDT.thread-count2
create mode 100644 tests/data/acpi/q35/DSDT.type4-count
create mode 100644 tests/data/acpi/q35/FACP.core-count
create mode 100644 tests/data/acpi/q35/FACP.thread-count
create mode 100644 tests/data/acpi/q35/FACP.thread-count2
create mode 100644 tests/data/acpi/q35/FACP.type4-count
[PULL 00/63] virtio,pc,pci: features, fixes
Posted by Michael S. Tsirkin 5 months, 3 weeks ago
The following changes since commit 3e01f1147a16ca566694b97eafc941d62fa1e8d8:

  Merge tag 'pull-sp-20231105' of https://gitlab.com/rth7680/qemu into staging (2023-11-06 09:34:22 +0800)

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 94cd94f1c0137b56000c01208e03d0907ad34910:

  acpi/tests/avocado/bits: enable console logging from bits VM (2023-11-07 03:39:11 -0500)

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

virtio sound card support

vhost-user: back-end state migration

cxl:
     line length reduction
     enabling fabric management

vhost-vdpa:
     shadow virtqueue hash calculation Support
     shadow virtqueue RSS Support

tests:
    CPU topology related smbios test cases

Fixes, cleanups all over the place

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

----------------------------------------------------------------
Ani Sinha (2):
      acpi/tests/avocado/bits: enforce 32-bit SMBIOS entry point
      acpi/tests/avocado/bits: enable console logging from bits VM

Davidlohr Bueso (3):
      hw/cxl/mbox: Add support for background operations
      hw/cxl/mbox: Wire up interrupts for background completion
      hw/cxl: Add support for device sanitation

Gregory Price (1):
      hw/cxl/type3: Cleanup multiple CXL_TYPE3() calls in read/write functions

Hanna Czenczek (7):
      vhost-user.rst: Improve [GS]ET_VRING_BASE doc
      vhost-user.rst: Clarify enabling/disabling vrings
      vhost-user.rst: Introduce suspended state
      vhost-user.rst: Migrating back-end-internal state
      vhost-user: Interface for migration state transfer
      vhost: Add high-level state save/load functions
      vhost-user-fs: Implement internal migration

Hawkins Jiawei (5):
      vdpa: Restore hash calculation state
      vdpa: Allow VIRTIO_NET_F_HASH_REPORT in SVQ
      vdpa: Add SetSteeringEBPF method for NetClientState
      vdpa: Restore receive-side scaling state
      vdpa: Allow VIRTIO_NET_F_RSS in SVQ

Jonathan Cameron (18):
      hw/cxl: Use a switch to explicitly check size in caps_reg_read()
      hw/cxl: Use switch statements for read and write of cachemem registers
      hw/cxl: CXLDVSECPortExtensions renamed to CXLDVSECPortExt
      hw/cxl: Line length reductions
      hw/cxl: Fix a QEMU_BUILD_BUG_ON() in switch statement scope issue.
      hw/cxl/mbox: Pull the payload out of struct cxl_cmd and make instances constant
      hw/cxl/mbox: Split mailbox command payload into separate input and output
      hw/cxl/mbox: Pull the CCI definition out of the CXLDeviceState
      hw/cxl/mbox: Generalize the CCI command processing
      hw/pci-bridge/cxl_upstream: Move defintion of device to header.
      hw/cxl: Add a switch mailbox CCI function
      hw/cxl/mbox: Add Information and Status / Identify command
      hw/cxl/mbox: Add Physical Switch Identify command.
      hw/pci-bridge/cxl_downstream: Set default link width and link speed
      hw/cxl: Implement Physical Ports status retrieval
      hw/cxl/mbox: Add Get Background Operation Status Command
      hw/cxl: Add dummy security state get
      hw/cxl: Add tunneled command support to mailbox for switch cci.

Manos Pitsidianakis (11):
      Add virtio-sound device stub
      Add virtio-sound-pci device
      virtio-sound: handle control messages and streams
      virtio-sound: handle VIRTIO_SND_R_PCM_INFO request
      virtio-sound: handle VIRTIO_SND_R_PCM_{START,STOP}
      virtio-sound: handle VIRTIO_SND_R_PCM_SET_PARAMS
      virtio-sound: handle VIRTIO_SND_R_PCM_PREPARE
      virtio-sound: handle VIRTIO_SND_R_PCM_RELEASE
      virtio-sound: implement audio output (TX)
      virtio-sound: implement audio capture (RX)
      docs/system: add basic virtio-snd documentation

Zhao Liu (16):
      tests: test-smp-parse: Add the test for cores/threads per socket helpers
      tests: bios-tables-test: Prepare the ACPI table change for smbios type4 count test
      tests: bios-tables-test: Add test for smbios type4 count
      tests: bios-tables-test: Add ACPI table binaries for smbios type4 count test
      tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count test
      tests: bios-tables-test: Add test for smbios type4 core count
      tests: bios-tables-test: Add ACPI table binaries for smbios type4 core count test
      tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count2 test
      tests: bios-tables-test: Extend smbios core count2 test to cover general topology
      tests: bios-tables-test: Update ACPI table binaries for smbios core count2 test
      tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count test
      tests: bios-tables-test: Add test for smbios type4 thread count
      tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count test
      tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count2 test
      tests: bios-tables-test: Add test for smbios type4 thread count2
      tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count2 test

 include/hw/audio/virtio-snd.h             |  235 +++++
 include/hw/cxl/cxl.h                      |    6 +
 include/hw/cxl/cxl_component.h            |    6 +-
 include/hw/cxl/cxl_device.h               |  109 ++-
 include/hw/cxl/cxl_events.h               |    3 +-
 include/hw/cxl/cxl_pci.h                  |    6 +-
 include/hw/pci-bridge/cxl_upstream_port.h |   19 +
 include/hw/virtio/vhost-backend.h         |   24 +
 include/hw/virtio/vhost-user.h            |    1 +
 include/hw/virtio/vhost.h                 |  113 +++
 hw/audio/virtio-snd-pci.c                 |   93 ++
 hw/audio/virtio-snd.c                     | 1409 +++++++++++++++++++++++++++++
 hw/cxl/cxl-cdat.c                         |    3 +-
 hw/cxl/cxl-component-utils.c              |  130 ++-
 hw/cxl/cxl-device-utils.c                 |  143 ++-
 hw/cxl/cxl-events.c                       |   11 +-
 hw/cxl/cxl-mailbox-utils.c                | 1060 ++++++++++++++++++----
 hw/cxl/switch-mailbox-cci.c               |  111 +++
 hw/mem/cxl_type3.c                        |   63 +-
 hw/mem/cxl_type3_stubs.c                  |    5 +-
 hw/pci-bridge/cxl_downstream.c            |   20 +-
 hw/pci-bridge/cxl_root_port.c             |    2 +-
 hw/pci-bridge/cxl_upstream.c              |   13 +-
 hw/virtio/vhost-user-fs.c                 |  101 ++-
 hw/virtio/vhost-user.c                    |  146 +++
 hw/virtio/vhost.c                         |  241 +++++
 net/vhost-vdpa.c                          |  122 +++
 system/qdev-monitor.c                     |    2 +
 tests/qtest/bios-tables-test.c            |  116 ++-
 tests/unit/test-smp-parse.c               |   67 +-
 MAINTAINERS                               |    9 +
 docs/interop/vhost-user.rst               |  301 +++++-
 docs/system/device-emulation.rst          |    1 +
 docs/system/devices/virtio-snd.rst        |   49 +
 hw/audio/Kconfig                          |    5 +
 hw/audio/meson.build                      |    2 +
 hw/audio/trace-events                     |   20 +
 hw/cxl/meson.build                        |    1 +
 tests/avocado/acpi-bits.py                |   33 +-
 tests/data/acpi/q35/APIC.core-count       |  Bin 0 -> 544 bytes
 tests/data/acpi/q35/APIC.core-count2      |  Bin 2478 -> 3238 bytes
 tests/data/acpi/q35/APIC.thread-count     |  Bin 0 -> 544 bytes
 tests/data/acpi/q35/APIC.thread-count2    |  Bin 0 -> 3238 bytes
 tests/data/acpi/q35/APIC.type4-count      |  Bin 0 -> 1072 bytes
 tests/data/acpi/q35/DSDT.core-count       |  Bin 0 -> 12913 bytes
 tests/data/acpi/q35/DSDT.core-count2      |  Bin 32495 -> 33770 bytes
 tests/data/acpi/q35/DSDT.thread-count     |  Bin 0 -> 12913 bytes
 tests/data/acpi/q35/DSDT.thread-count2    |  Bin 0 -> 33770 bytes
 tests/data/acpi/q35/DSDT.type4-count      |  Bin 0 -> 18589 bytes
 tests/data/acpi/q35/FACP.core-count       |  Bin 0 -> 244 bytes
 tests/data/acpi/q35/FACP.thread-count     |  Bin 0 -> 244 bytes
 tests/data/acpi/q35/FACP.thread-count2    |  Bin 0 -> 244 bytes
 tests/data/acpi/q35/FACP.type4-count      |  Bin 0 -> 244 bytes
 53 files changed, 4477 insertions(+), 324 deletions(-)
 create mode 100644 include/hw/audio/virtio-snd.h
 create mode 100644 include/hw/pci-bridge/cxl_upstream_port.h
 create mode 100644 hw/audio/virtio-snd-pci.c
 create mode 100644 hw/audio/virtio-snd.c
 create mode 100644 hw/cxl/switch-mailbox-cci.c
 create mode 100644 docs/system/devices/virtio-snd.rst
 create mode 100644 tests/data/acpi/q35/APIC.core-count
 create mode 100644 tests/data/acpi/q35/APIC.thread-count
 create mode 100644 tests/data/acpi/q35/APIC.thread-count2
 create mode 100644 tests/data/acpi/q35/APIC.type4-count
 create mode 100644 tests/data/acpi/q35/DSDT.core-count
 create mode 100644 tests/data/acpi/q35/DSDT.thread-count
 create mode 100644 tests/data/acpi/q35/DSDT.thread-count2
 create mode 100644 tests/data/acpi/q35/DSDT.type4-count
 create mode 100644 tests/data/acpi/q35/FACP.core-count
 create mode 100644 tests/data/acpi/q35/FACP.thread-count
 create mode 100644 tests/data/acpi/q35/FACP.thread-count2
 create mode 100644 tests/data/acpi/q35/FACP.type4-count
Re: [PULL 00/63] virtio,pc,pci: features, fixes
Posted by Stefan Hajnoczi 5 months, 3 weeks ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.