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

Michael S. Tsirkin posted 60 patches 9 months, 2 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/block/fdc-internal.h                            |   4 -
hw/i386/amd_iommu.h                                |  16 +-
include/exec/ioport.h                              |   4 +-
include/hw/block/fdc.h                             |   3 +
include/hw/char/parallel-isa.h                     |   5 +
include/hw/char/parallel.h                         |   2 -
include/hw/char/serial.h                           |   2 +
include/hw/cxl/cxl_cdat.h                          |  10 +-
include/hw/cxl/cxl_component.h                     |  51 ++-
include/hw/cxl/cxl_device.h                        |  86 ++--
include/hw/cxl/cxl_events.h                        |  18 +-
include/hw/cxl/cxl_pci.h                           |  67 ++-
include/hw/i386/apic.h                             |   9 +-
include/hw/i386/apic_internal.h                    |   9 +-
.../{vhost-user-device.h => vhost-user-base.h}     |  21 +-
include/hw/virtio/vhost-user-gpio.h                |  25 +-
include/hw/virtio/vhost-user-i2c.h                 |  14 +-
include/hw/virtio/vhost-user-rng.h                 |  13 +-
include/hw/virtio/vhost-user-snd.h                 |  24 ++
include/hw/virtio/virtio-gpu.h                     |   3 +
include/hw/virtio/virtio-input.h                   |   6 +-
target/i386/cpu.h                                  |   9 +
contrib/vhost-user-gpu/virgl.c                     |   6 +-
hw/arm/smmu-common.c                               |   2 +
hw/block/fdc-isa.c                                 |  18 +-
hw/block/fdc-sysbus.c                              |   6 +-
hw/char/parallel-isa.c                             |  14 +
hw/char/parallel.c                                 |   2 +-
hw/char/serial-isa.c                               |  14 +
hw/cxl/cxl-cdat.c                                  |  11 +-
hw/cxl/cxl-component-utils.c                       |  33 +-
hw/cxl/cxl-device-utils.c                          |  31 +-
hw/cxl/cxl-events.c                                |   2 +-
hw/cxl/cxl-mailbox-utils.c                         |  92 ++--
hw/display/virtio-gpu-rutabaga.c                   |  47 +-
hw/display/virtio-gpu-virgl.c                      |   2 +-
hw/display/virtio-gpu.c                            |  27 +-
hw/i386/acpi-build.c                               | 109 +++--
hw/i386/amd_iommu-stub.c                           |  26 ++
hw/i386/amd_iommu.c                                |  29 +-
hw/i386/intel_iommu.c                              |   6 +-
hw/i386/kvm/apic.c                                 |   3 +-
hw/i386/x86.c                                      |  14 +-
hw/i386/xen/xen_apic.c                             |   3 +-
hw/input/vhost-user-input.c                        | 136 ------
hw/intc/apic.c                                     | 473 ++++++++++++++++-----
hw/intc/apic_common.c                              |  35 +-
hw/isa/vt82c686.c                                  |  65 ++-
hw/mem/cxl_type3.c                                 |  67 +--
hw/pci-bridge/cxl_downstream.c                     |   4 +-
hw/pci-bridge/cxl_root_port.c                      |   4 +-
hw/pci-bridge/cxl_upstream.c                       |  10 +-
hw/ppc/pegasos2.c                                  |  12 +
hw/smbios/smbios.c                                 |  12 +
hw/virtio/vhost-user-base.c                        | 371 ++++++++++++++++
hw/virtio/vhost-user-device-pci.c                  |  13 +-
hw/virtio/vhost-user-device.c                      | 338 +--------------
hw/virtio/vhost-user-gpio.c                        | 407 +-----------------
hw/virtio/vhost-user-i2c.c                         | 272 +-----------
hw/virtio/vhost-user-input-pci.c                   |   3 -
hw/virtio/vhost-user-input.c                       |  58 +++
hw/virtio/vhost-user-rng.c                         | 294 +------------
hw/virtio/vhost-user-snd-pci.c                     |  75 ++++
hw/virtio/vhost-user-snd.c                         |  67 +++
hw/virtio/virtio-iommu.c                           |   4 +-
system/ioport.c                                    |  41 +-
target/i386/cpu-sysemu.c                           |  18 +-
target/i386/cpu.c                                  |  11 +-
target/i386/tcg/sysemu/misc_helper.c               |  41 +-
target/i386/whpx/whpx-apic.c                       |   3 +-
MAINTAINERS                                        |  19 +-
docs/devel/migration/main.rst                      |   6 +-
docs/interop/vhost-user.rst                        |   6 +-
docs/system/device-emulation.rst                   |   1 +
docs/system/devices/cxl.rst                        |   3 +-
docs/system/devices/vhost-user-input.rst           |  45 ++
docs/system/devices/vhost-user-rng.rst             |   2 +
docs/system/devices/vhost-user.rst                 |  72 +++-
hw/i386/meson.build                                |   3 +-
hw/input/meson.build                               |   1 -
hw/intc/trace-events                               |   4 +-
hw/virtio/Kconfig                                  |   5 +
hw/virtio/meson.build                              |  27 +-
tests/data/acpi/q35/DSDT.cxl                       | Bin 9713 -> 9714 bytes
tests/data/acpi/q35/IVRS.ivrs                      | Bin 104 -> 176 bytes
85 files changed, 2016 insertions(+), 1910 deletions(-)
rename include/hw/virtio/{vhost-user-device.h => vhost-user-base.h} (71%)
create mode 100644 include/hw/virtio/vhost-user-snd.h
create mode 100644 hw/i386/amd_iommu-stub.c
delete mode 100644 hw/input/vhost-user-input.c
create mode 100644 hw/virtio/vhost-user-base.c
create mode 100644 hw/virtio/vhost-user-input.c
create mode 100644 hw/virtio/vhost-user-snd-pci.c
create mode 100644 hw/virtio/vhost-user-snd.c
create mode 100644 docs/system/devices/vhost-user-input.rst
[PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 9 months, 2 weeks ago
The following changes since commit df50424b4dcfde823047d3717abd6a61224ea205:

  Merge tag 'pull-riscv-to-apply-20240209' of https://github.com/alistair23/qemu into staging (2024-02-09 16:15:01 +0000)

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 3afdb6d18e9ccd6470be30f151a562cf4537d13f:

  MAINTAINERS: Switch to my Enfabrica email (2024-02-14 06:09:33 -0500)

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

vhost-user-snd support
x2APIC mode with TCG support
CXL update to r3.1

fixes, cleanups all over the place.

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

----------------------------------------------------------------
Akihiko Odaki (2):
      hw/smbios: Fix OEM strings table option validation
      hw/smbios: Fix port connector option validation

Alex Bennée (6):
      virtio: split into vhost-user-base and vhost-user-device
      hw/virtio: convert vhost-user-base to async shutdown
      hw/virtio: derive vhost-user-rng from vhost-user-base
      hw/virtio: derive vhost-user-gpio from vhost-user-base
      hw/virtio: derive vhost-user-i2c from vhost-user-base
      docs/system: add a basic enumeration of vhost-user devices

Andrey Ignatov (1):
      vhost-user.rst: Fix vring address description

Bernhard Beschow (14):
      hw/i386/x86: Reverse if statement
      hw/i386/x86: Fix PIC interrupt handling if APIC is globally disabled
      target/i386/cpu: Fix typo in comment
      hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus
      hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus
      hw/char/parallel: Move portio_list from ParallelState to ISAParallelState
      exec/ioport: Resolve redundant .base attribute in struct MemoryRegionPortio
      exec/ioport: Add portio_list_set_address()
      exec/ioport: Add portio_list_set_enabled()
      hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC
      hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL
      hw/char/parallel-isa: Implement relocation and enabling/disabling for TYPE_ISA_PARALLEL
      hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions
      hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions

Bui Quang Minh (7):
      i386/tcg: implement x2APIC registers MSR access
      apic: add support for x2APIC mode
      apic, i386/tcg: add x2apic transitions
      intel_iommu: allow Extended Interrupt Mode when using userspace APIC
      test: bios-tables-test: prepare IVRS change in ACPI table
      amd_iommu: report x2APIC support to the operating system
      test: bios-tables-test: add IVRS changed binary

Davidlohr Bueso (1):
      hw/cxl/mbox: Remove dead code

Dmitry Osipenko (1):
      virtio-gpu: Correct virgl_renderer_resource_get_info() error check

Hyeonggon Yoo (1):
      hw/cxl/device: read from register values in mdev_reg_read()

Ira Weiny (2):
      cxl/cdat: Handle cdat table build errors
      cxl/cdat: Fix header sum value in CDAT checksum

Jonathan Cameron (11):
      hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and g_malloc()
      hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handling
      hw/mem/cxl_type3: Fix potential divide by zero reported by coverity
      tests/acpi: Allow update of DSDT.cxl
      hw/i386: Fix _STA return value for ACPI0017
      tests/acpi: Update DSDT.cxl to reflect change _STA return value.
      hw/cxl: Update HDM Decoder capability to version 3
      hw/cxl: Update link register definitions.
      hw/cxl: Update RAS Capability Definitions for version 3.
      hw/cxl: Update mailbox status registers.
      hw/cxl: Standardize all references on CXL r3.1 and minor updates

Leo Yan (4):
      hw/virtio: Support set_config() callback in vhost-user-base
      docs/system: Add vhost-user-input documentation
      hw/virtio: Move vhost-user-input into virtio folder
      hw/virtio: derive vhost-user-input from vhost-user-base

Li Zhijian (2):
      hw/cxl: Pass CXLComponentState to cache_mem_ops
      hw/cxl: Pass NULL for a NULL MemoryRegionOps

Manos Pitsidianakis (4):
      hw/virtio: add vhost-user-snd and vhost-user-snd-pci devices
      hw/display/virtio-gpu.c: use reset_bh class method
      virtio-gpu.c: add resource_destroy class method
      virtio-gpu-rutabaga.c: override resource_destroy method

Peter Xu (1):
      MAINTAINERS: Drop myself as VT-d maintainers

Raphael Norwitz (1):
      MAINTAINERS: Switch to my Enfabrica email

Zhenzhong Duan (2):
      virtio_iommu: Clear IOMMUPciBus pointer cache when system reset
      smmu: Clear SMMUPciBus pointer cache when system reset

 hw/block/fdc-internal.h                            |   4 -
 hw/i386/amd_iommu.h                                |  16 +-
 include/exec/ioport.h                              |   4 +-
 include/hw/block/fdc.h                             |   3 +
 include/hw/char/parallel-isa.h                     |   5 +
 include/hw/char/parallel.h                         |   2 -
 include/hw/char/serial.h                           |   2 +
 include/hw/cxl/cxl_cdat.h                          |  10 +-
 include/hw/cxl/cxl_component.h                     |  51 ++-
 include/hw/cxl/cxl_device.h                        |  86 ++--
 include/hw/cxl/cxl_events.h                        |  18 +-
 include/hw/cxl/cxl_pci.h                           |  67 ++-
 include/hw/i386/apic.h                             |   9 +-
 include/hw/i386/apic_internal.h                    |   9 +-
 .../{vhost-user-device.h => vhost-user-base.h}     |  21 +-
 include/hw/virtio/vhost-user-gpio.h                |  25 +-
 include/hw/virtio/vhost-user-i2c.h                 |  14 +-
 include/hw/virtio/vhost-user-rng.h                 |  13 +-
 include/hw/virtio/vhost-user-snd.h                 |  24 ++
 include/hw/virtio/virtio-gpu.h                     |   3 +
 include/hw/virtio/virtio-input.h                   |   6 +-
 target/i386/cpu.h                                  |   9 +
 contrib/vhost-user-gpu/virgl.c                     |   6 +-
 hw/arm/smmu-common.c                               |   2 +
 hw/block/fdc-isa.c                                 |  18 +-
 hw/block/fdc-sysbus.c                              |   6 +-
 hw/char/parallel-isa.c                             |  14 +
 hw/char/parallel.c                                 |   2 +-
 hw/char/serial-isa.c                               |  14 +
 hw/cxl/cxl-cdat.c                                  |  11 +-
 hw/cxl/cxl-component-utils.c                       |  33 +-
 hw/cxl/cxl-device-utils.c                          |  31 +-
 hw/cxl/cxl-events.c                                |   2 +-
 hw/cxl/cxl-mailbox-utils.c                         |  92 ++--
 hw/display/virtio-gpu-rutabaga.c                   |  47 +-
 hw/display/virtio-gpu-virgl.c                      |   2 +-
 hw/display/virtio-gpu.c                            |  27 +-
 hw/i386/acpi-build.c                               | 109 +++--
 hw/i386/amd_iommu-stub.c                           |  26 ++
 hw/i386/amd_iommu.c                                |  29 +-
 hw/i386/intel_iommu.c                              |   6 +-
 hw/i386/kvm/apic.c                                 |   3 +-
 hw/i386/x86.c                                      |  14 +-
 hw/i386/xen/xen_apic.c                             |   3 +-
 hw/input/vhost-user-input.c                        | 136 ------
 hw/intc/apic.c                                     | 473 ++++++++++++++++-----
 hw/intc/apic_common.c                              |  35 +-
 hw/isa/vt82c686.c                                  |  65 ++-
 hw/mem/cxl_type3.c                                 |  67 +--
 hw/pci-bridge/cxl_downstream.c                     |   4 +-
 hw/pci-bridge/cxl_root_port.c                      |   4 +-
 hw/pci-bridge/cxl_upstream.c                       |  10 +-
 hw/ppc/pegasos2.c                                  |  12 +
 hw/smbios/smbios.c                                 |  12 +
 hw/virtio/vhost-user-base.c                        | 371 ++++++++++++++++
 hw/virtio/vhost-user-device-pci.c                  |  13 +-
 hw/virtio/vhost-user-device.c                      | 338 +--------------
 hw/virtio/vhost-user-gpio.c                        | 407 +-----------------
 hw/virtio/vhost-user-i2c.c                         | 272 +-----------
 hw/virtio/vhost-user-input-pci.c                   |   3 -
 hw/virtio/vhost-user-input.c                       |  58 +++
 hw/virtio/vhost-user-rng.c                         | 294 +------------
 hw/virtio/vhost-user-snd-pci.c                     |  75 ++++
 hw/virtio/vhost-user-snd.c                         |  67 +++
 hw/virtio/virtio-iommu.c                           |   4 +-
 system/ioport.c                                    |  41 +-
 target/i386/cpu-sysemu.c                           |  18 +-
 target/i386/cpu.c                                  |  11 +-
 target/i386/tcg/sysemu/misc_helper.c               |  41 +-
 target/i386/whpx/whpx-apic.c                       |   3 +-
 MAINTAINERS                                        |  19 +-
 docs/devel/migration/main.rst                      |   6 +-
 docs/interop/vhost-user.rst                        |   6 +-
 docs/system/device-emulation.rst                   |   1 +
 docs/system/devices/cxl.rst                        |   3 +-
 docs/system/devices/vhost-user-input.rst           |  45 ++
 docs/system/devices/vhost-user-rng.rst             |   2 +
 docs/system/devices/vhost-user.rst                 |  72 +++-
 hw/i386/meson.build                                |   3 +-
 hw/input/meson.build                               |   1 -
 hw/intc/trace-events                               |   4 +-
 hw/virtio/Kconfig                                  |   5 +
 hw/virtio/meson.build                              |  27 +-
 tests/data/acpi/q35/DSDT.cxl                       | Bin 9713 -> 9714 bytes
 tests/data/acpi/q35/IVRS.ivrs                      | Bin 104 -> 176 bytes
 85 files changed, 2016 insertions(+), 1910 deletions(-)
 rename include/hw/virtio/{vhost-user-device.h => vhost-user-base.h} (71%)
 create mode 100644 include/hw/virtio/vhost-user-snd.h
 create mode 100644 hw/i386/amd_iommu-stub.c
 delete mode 100644 hw/input/vhost-user-input.c
 create mode 100644 hw/virtio/vhost-user-base.c
 create mode 100644 hw/virtio/vhost-user-input.c
 create mode 100644 hw/virtio/vhost-user-snd-pci.c
 create mode 100644 hw/virtio/vhost-user-snd.c
 create mode 100644 docs/system/devices/vhost-user-input.rst


Re: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Michael Tokarev 9 months, 2 weeks ago
14.02.2024 14:13, Michael S. Tsirkin:

> virtio,pc,pci: features, cleanups, fixes
> 
> vhost-user-snd support
> x2APIC mode with TCG support
> CXL update to r3.1
> 
> fixes, cleanups all over the place.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Akihiko Odaki (2):
>        hw/smbios: Fix OEM strings table option validation
>        hw/smbios: Fix port connector option validation
> 
> Alex Bennée (6):
>        virtio: split into vhost-user-base and vhost-user-device
>        hw/virtio: convert vhost-user-base to async shutdown
>        hw/virtio: derive vhost-user-rng from vhost-user-base
>        hw/virtio: derive vhost-user-gpio from vhost-user-base
>        hw/virtio: derive vhost-user-i2c from vhost-user-base
>        docs/system: add a basic enumeration of vhost-user devices
> 
> Andrey Ignatov (1):
>        vhost-user.rst: Fix vring address description
> 
> Bernhard Beschow (14):
>        hw/i386/x86: Reverse if statement
>        hw/i386/x86: Fix PIC interrupt handling if APIC is globally disabled
>        target/i386/cpu: Fix typo in comment
>        hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus
>        hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus
>        hw/char/parallel: Move portio_list from ParallelState to ISAParallelState
>        exec/ioport: Resolve redundant .base attribute in struct MemoryRegionPortio
>        exec/ioport: Add portio_list_set_address()
>        exec/ioport: Add portio_list_set_enabled()
>        hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC
>        hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL
>        hw/char/parallel-isa: Implement relocation and enabling/disabling for TYPE_ISA_PARALLEL
>        hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions
>        hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions
> 
> Bui Quang Minh (7):
>        i386/tcg: implement x2APIC registers MSR access
>        apic: add support for x2APIC mode
>        apic, i386/tcg: add x2apic transitions
>        intel_iommu: allow Extended Interrupt Mode when using userspace APIC
>        test: bios-tables-test: prepare IVRS change in ACPI table
>        amd_iommu: report x2APIC support to the operating system
>        test: bios-tables-test: add IVRS changed binary
> 
> Davidlohr Bueso (1):
>        hw/cxl/mbox: Remove dead code
> 
> Dmitry Osipenko (1):
>        virtio-gpu: Correct virgl_renderer_resource_get_info() error check
> 
> Hyeonggon Yoo (1):
>        hw/cxl/device: read from register values in mdev_reg_read()
> 
> Ira Weiny (2):
>        cxl/cdat: Handle cdat table build errors
>        cxl/cdat: Fix header sum value in CDAT checksum
> 
> Jonathan Cameron (11):
>        hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and g_malloc()
>        hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handling
>        hw/mem/cxl_type3: Fix potential divide by zero reported by coverity
>        tests/acpi: Allow update of DSDT.cxl
>        hw/i386: Fix _STA return value for ACPI0017
>        tests/acpi: Update DSDT.cxl to reflect change _STA return value.
>        hw/cxl: Update HDM Decoder capability to version 3
>        hw/cxl: Update link register definitions.
>        hw/cxl: Update RAS Capability Definitions for version 3.
>        hw/cxl: Update mailbox status registers.
>        hw/cxl: Standardize all references on CXL r3.1 and minor updates
> 
> Leo Yan (4):
>        hw/virtio: Support set_config() callback in vhost-user-base
>        docs/system: Add vhost-user-input documentation
>        hw/virtio: Move vhost-user-input into virtio folder
>        hw/virtio: derive vhost-user-input from vhost-user-base
> 
> Li Zhijian (2):
>        hw/cxl: Pass CXLComponentState to cache_mem_ops
>        hw/cxl: Pass NULL for a NULL MemoryRegionOps
> 
> Manos Pitsidianakis (4):
>        hw/virtio: add vhost-user-snd and vhost-user-snd-pci devices
>        hw/display/virtio-gpu.c: use reset_bh class method
>        virtio-gpu.c: add resource_destroy class method
>        virtio-gpu-rutabaga.c: override resource_destroy method
> 
> Peter Xu (1):
>        MAINTAINERS: Drop myself as VT-d maintainers
> 
> Raphael Norwitz (1):
>        MAINTAINERS: Switch to my Enfabrica email
> 
> Zhenzhong Duan (2):
>        virtio_iommu: Clear IOMMUPciBus pointer cache when system reset
>        smmu: Clear SMMUPciBus pointer cache when system reset
> 

 From this list, I'm picking

  hw/smbios: Fix table option validation (Akihiko Odaki)
   (already applied to master and picked for -stable)

  virtio_iommu: Clear IOMMUPciBus pointer cache when system reset (Zhenzhong Duan)
  smmu: Clear SMMUPciBus pointer cache when system reset (Zhenzhong Duan)

  hw/i386: Fix _STA return value for ACPI0017 (Jonathan Cameron)
    (with 2 surrounding commits for acpi-tables-test)

  cxl/cdat: Handle cdat table build errors (Ira Weiny)

  cxl/cdat: Fix header sum value in CDAT checksum (Ira Weiny)

  hw/cxl/device: read from register values in mdev_reg_read() (Hyeonggon Yoo)

  hw/cxl: Pass CXLComponentState to cache_mem_ops (Li Zhijian)
   (a basically no-op bugfix just to have correct code)

for stable-8.2 and (almost all) for stable-7.2.  Please let me know
if these should not go to -stable, or if there are other changes which
you think should go to stable.

Thanks,

/mjt

Re: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 9 months, 2 weeks ago
Maybe add

On Thu, Feb 15, 2024 at 12:20:53PM +0300, Michael Tokarev wrote:
> > Akihiko Odaki (2):
> >        hw/smbios: Fix OEM strings table option validation
> >        hw/smbios: Fix port connector option validation

this

> > Dmitry Osipenko (1):
> >        virtio-gpu: Correct virgl_renderer_resource_get_info() error check

and this
Re: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Michael Tokarev 9 months, 2 weeks ago
15.02.2024 16:39, Michael S. Tsirkin :
> Maybe add
> 
>>> Akihiko Odaki (2):
>>>         hw/smbios: Fix OEM strings table option validation
>>>         hw/smbios: Fix port connector option validation
> 
> this
> 
>>> Dmitry Osipenko (1):
>>>         virtio-gpu: Correct virgl_renderer_resource_get_info() error check
> 
> and this

Got it.  I picked smbios ones even before your pullreq, and
included vigrl_renderer_resource_get_info from this pullreq.

Thank you for the info!

/mjt
Re: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 9 months, 2 weeks ago
On Wed, Feb 14, 2024 at 06:13:16AM -0500, Michael S. Tsirkin wrote:
> The following changes since commit df50424b4dcfde823047d3717abd6a61224ea205:
> 
>   Merge tag 'pull-riscv-to-apply-20240209' of https://github.com/alistair23/qemu into staging (2024-02-09 16:15:01 +0000)
> 
> 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 3afdb6d18e9ccd6470be30f151a562cf4537d13f:


1dd6954c3f5c5c610cf94b6f740118e565957293 now - dropped a duplicate
SOB from commit log.

>   MAINTAINERS: Switch to my Enfabrica email (2024-02-14 06:09:33 -0500)
> 
> ----------------------------------------------------------------
> virtio,pc,pci: features, cleanups, fixes
> 
> vhost-user-snd support
> x2APIC mode with TCG support
> CXL update to r3.1
> 
> fixes, cleanups all over the place.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Akihiko Odaki (2):
>       hw/smbios: Fix OEM strings table option validation
>       hw/smbios: Fix port connector option validation
> 
> Alex Bennée (6):
>       virtio: split into vhost-user-base and vhost-user-device
>       hw/virtio: convert vhost-user-base to async shutdown
>       hw/virtio: derive vhost-user-rng from vhost-user-base
>       hw/virtio: derive vhost-user-gpio from vhost-user-base
>       hw/virtio: derive vhost-user-i2c from vhost-user-base
>       docs/system: add a basic enumeration of vhost-user devices
> 
> Andrey Ignatov (1):
>       vhost-user.rst: Fix vring address description
> 
> Bernhard Beschow (14):
>       hw/i386/x86: Reverse if statement
>       hw/i386/x86: Fix PIC interrupt handling if APIC is globally disabled
>       target/i386/cpu: Fix typo in comment
>       hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus
>       hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus
>       hw/char/parallel: Move portio_list from ParallelState to ISAParallelState
>       exec/ioport: Resolve redundant .base attribute in struct MemoryRegionPortio
>       exec/ioport: Add portio_list_set_address()
>       exec/ioport: Add portio_list_set_enabled()
>       hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC
>       hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL
>       hw/char/parallel-isa: Implement relocation and enabling/disabling for TYPE_ISA_PARALLEL
>       hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions
>       hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions
> 
> Bui Quang Minh (7):
>       i386/tcg: implement x2APIC registers MSR access
>       apic: add support for x2APIC mode
>       apic, i386/tcg: add x2apic transitions
>       intel_iommu: allow Extended Interrupt Mode when using userspace APIC
>       test: bios-tables-test: prepare IVRS change in ACPI table
>       amd_iommu: report x2APIC support to the operating system
>       test: bios-tables-test: add IVRS changed binary
> 
> Davidlohr Bueso (1):
>       hw/cxl/mbox: Remove dead code
> 
> Dmitry Osipenko (1):
>       virtio-gpu: Correct virgl_renderer_resource_get_info() error check
> 
> Hyeonggon Yoo (1):
>       hw/cxl/device: read from register values in mdev_reg_read()
> 
> Ira Weiny (2):
>       cxl/cdat: Handle cdat table build errors
>       cxl/cdat: Fix header sum value in CDAT checksum
> 
> Jonathan Cameron (11):
>       hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and g_malloc()
>       hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handling
>       hw/mem/cxl_type3: Fix potential divide by zero reported by coverity
>       tests/acpi: Allow update of DSDT.cxl
>       hw/i386: Fix _STA return value for ACPI0017
>       tests/acpi: Update DSDT.cxl to reflect change _STA return value.
>       hw/cxl: Update HDM Decoder capability to version 3
>       hw/cxl: Update link register definitions.
>       hw/cxl: Update RAS Capability Definitions for version 3.
>       hw/cxl: Update mailbox status registers.
>       hw/cxl: Standardize all references on CXL r3.1 and minor updates
> 
> Leo Yan (4):
>       hw/virtio: Support set_config() callback in vhost-user-base
>       docs/system: Add vhost-user-input documentation
>       hw/virtio: Move vhost-user-input into virtio folder
>       hw/virtio: derive vhost-user-input from vhost-user-base
> 
> Li Zhijian (2):
>       hw/cxl: Pass CXLComponentState to cache_mem_ops
>       hw/cxl: Pass NULL for a NULL MemoryRegionOps
> 
> Manos Pitsidianakis (4):
>       hw/virtio: add vhost-user-snd and vhost-user-snd-pci devices
>       hw/display/virtio-gpu.c: use reset_bh class method
>       virtio-gpu.c: add resource_destroy class method
>       virtio-gpu-rutabaga.c: override resource_destroy method
> 
> Peter Xu (1):
>       MAINTAINERS: Drop myself as VT-d maintainers
> 
> Raphael Norwitz (1):
>       MAINTAINERS: Switch to my Enfabrica email
> 
> Zhenzhong Duan (2):
>       virtio_iommu: Clear IOMMUPciBus pointer cache when system reset
>       smmu: Clear SMMUPciBus pointer cache when system reset
> 
>  hw/block/fdc-internal.h                            |   4 -
>  hw/i386/amd_iommu.h                                |  16 +-
>  include/exec/ioport.h                              |   4 +-
>  include/hw/block/fdc.h                             |   3 +
>  include/hw/char/parallel-isa.h                     |   5 +
>  include/hw/char/parallel.h                         |   2 -
>  include/hw/char/serial.h                           |   2 +
>  include/hw/cxl/cxl_cdat.h                          |  10 +-
>  include/hw/cxl/cxl_component.h                     |  51 ++-
>  include/hw/cxl/cxl_device.h                        |  86 ++--
>  include/hw/cxl/cxl_events.h                        |  18 +-
>  include/hw/cxl/cxl_pci.h                           |  67 ++-
>  include/hw/i386/apic.h                             |   9 +-
>  include/hw/i386/apic_internal.h                    |   9 +-
>  .../{vhost-user-device.h => vhost-user-base.h}     |  21 +-
>  include/hw/virtio/vhost-user-gpio.h                |  25 +-
>  include/hw/virtio/vhost-user-i2c.h                 |  14 +-
>  include/hw/virtio/vhost-user-rng.h                 |  13 +-
>  include/hw/virtio/vhost-user-snd.h                 |  24 ++
>  include/hw/virtio/virtio-gpu.h                     |   3 +
>  include/hw/virtio/virtio-input.h                   |   6 +-
>  target/i386/cpu.h                                  |   9 +
>  contrib/vhost-user-gpu/virgl.c                     |   6 +-
>  hw/arm/smmu-common.c                               |   2 +
>  hw/block/fdc-isa.c                                 |  18 +-
>  hw/block/fdc-sysbus.c                              |   6 +-
>  hw/char/parallel-isa.c                             |  14 +
>  hw/char/parallel.c                                 |   2 +-
>  hw/char/serial-isa.c                               |  14 +
>  hw/cxl/cxl-cdat.c                                  |  11 +-
>  hw/cxl/cxl-component-utils.c                       |  33 +-
>  hw/cxl/cxl-device-utils.c                          |  31 +-
>  hw/cxl/cxl-events.c                                |   2 +-
>  hw/cxl/cxl-mailbox-utils.c                         |  92 ++--
>  hw/display/virtio-gpu-rutabaga.c                   |  47 +-
>  hw/display/virtio-gpu-virgl.c                      |   2 +-
>  hw/display/virtio-gpu.c                            |  27 +-
>  hw/i386/acpi-build.c                               | 109 +++--
>  hw/i386/amd_iommu-stub.c                           |  26 ++
>  hw/i386/amd_iommu.c                                |  29 +-
>  hw/i386/intel_iommu.c                              |   6 +-
>  hw/i386/kvm/apic.c                                 |   3 +-
>  hw/i386/x86.c                                      |  14 +-
>  hw/i386/xen/xen_apic.c                             |   3 +-
>  hw/input/vhost-user-input.c                        | 136 ------
>  hw/intc/apic.c                                     | 473 ++++++++++++++++-----
>  hw/intc/apic_common.c                              |  35 +-
>  hw/isa/vt82c686.c                                  |  65 ++-
>  hw/mem/cxl_type3.c                                 |  67 +--
>  hw/pci-bridge/cxl_downstream.c                     |   4 +-
>  hw/pci-bridge/cxl_root_port.c                      |   4 +-
>  hw/pci-bridge/cxl_upstream.c                       |  10 +-
>  hw/ppc/pegasos2.c                                  |  12 +
>  hw/smbios/smbios.c                                 |  12 +
>  hw/virtio/vhost-user-base.c                        | 371 ++++++++++++++++
>  hw/virtio/vhost-user-device-pci.c                  |  13 +-
>  hw/virtio/vhost-user-device.c                      | 338 +--------------
>  hw/virtio/vhost-user-gpio.c                        | 407 +-----------------
>  hw/virtio/vhost-user-i2c.c                         | 272 +-----------
>  hw/virtio/vhost-user-input-pci.c                   |   3 -
>  hw/virtio/vhost-user-input.c                       |  58 +++
>  hw/virtio/vhost-user-rng.c                         | 294 +------------
>  hw/virtio/vhost-user-snd-pci.c                     |  75 ++++
>  hw/virtio/vhost-user-snd.c                         |  67 +++
>  hw/virtio/virtio-iommu.c                           |   4 +-
>  system/ioport.c                                    |  41 +-
>  target/i386/cpu-sysemu.c                           |  18 +-
>  target/i386/cpu.c                                  |  11 +-
>  target/i386/tcg/sysemu/misc_helper.c               |  41 +-
>  target/i386/whpx/whpx-apic.c                       |   3 +-
>  MAINTAINERS                                        |  19 +-
>  docs/devel/migration/main.rst                      |   6 +-
>  docs/interop/vhost-user.rst                        |   6 +-
>  docs/system/device-emulation.rst                   |   1 +
>  docs/system/devices/cxl.rst                        |   3 +-
>  docs/system/devices/vhost-user-input.rst           |  45 ++
>  docs/system/devices/vhost-user-rng.rst             |   2 +
>  docs/system/devices/vhost-user.rst                 |  72 +++-
>  hw/i386/meson.build                                |   3 +-
>  hw/input/meson.build                               |   1 -
>  hw/intc/trace-events                               |   4 +-
>  hw/virtio/Kconfig                                  |   5 +
>  hw/virtio/meson.build                              |  27 +-
>  tests/data/acpi/q35/DSDT.cxl                       | Bin 9713 -> 9714 bytes
>  tests/data/acpi/q35/IVRS.ivrs                      | Bin 104 -> 176 bytes
>  85 files changed, 2016 insertions(+), 1910 deletions(-)
>  rename include/hw/virtio/{vhost-user-device.h => vhost-user-base.h} (71%)
>  create mode 100644 include/hw/virtio/vhost-user-snd.h
>  create mode 100644 hw/i386/amd_iommu-stub.c
>  delete mode 100644 hw/input/vhost-user-input.c
>  create mode 100644 hw/virtio/vhost-user-base.c
>  create mode 100644 hw/virtio/vhost-user-input.c
>  create mode 100644 hw/virtio/vhost-user-snd-pci.c
>  create mode 100644 hw/virtio/vhost-user-snd.c
>  create mode 100644 docs/system/devices/vhost-user-input.rst
> 
Re: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes
Posted by Peter Maydell 9 months, 2 weeks ago
On Wed, 14 Feb 2024 at 11:19, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Wed, Feb 14, 2024 at 06:13:16AM -0500, Michael S. Tsirkin wrote:
> > The following changes since commit df50424b4dcfde823047d3717abd6a61224ea205:
> >
> >   Merge tag 'pull-riscv-to-apply-20240209' of https://github.com/alistair23/qemu into staging (2024-02-09 16:15:01 +0000)
> >
> > 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 3afdb6d18e9ccd6470be30f151a562cf4537d13f:
>
>
> 1dd6954c3f5c5c610cf94b6f740118e565957293 now - dropped a duplicate
> SOB from commit log.
>
> >   MAINTAINERS: Switch to my Enfabrica email (2024-02-14 06:09:33 -0500)
> >
> > ----------------------------------------------------------------
> > virtio,pc,pci: features, cleanups, fixes
> >
> > vhost-user-snd support
> > x2APIC mode with TCG support
> > CXL update to r3.1
> >
> > fixes, cleanups all over the place.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
> > ----------------------------------------------------------------


Applied, thanks.

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

-- PMM