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

Michael S. Tsirkin posted 56 patches 1 year, 2 months ago
There is a newer version of this series
docs/pcie.txt                                 |  16 +-
include/exec/memory.h                         |  26 +++
include/hw/acpi/acpi_aml_interface.h          |   3 +
include/hw/acpi/acpi_dev_interface.h          |   3 +-
include/hw/acpi/pci.h                         |   4 +
include/hw/i386/intel_iommu.h                 |  38 +++-
include/hw/i386/microvm.h                     |   5 +-
include/hw/i386/pc.h                          |   6 +-
include/hw/isa/isa.h                          |   1 -
include/hw/nvram/fw_cfg.h                     |   9 +
include/hw/pci/pci.h                          |   2 +-
include/hw/pci/pcie_port.h                    |   3 +-
hw/acpi/acpi-x86-stub.c                       |   5 +-
hw/acpi/acpi_interface.c                      |  10 +
hw/acpi/cpu.c                                 |   3 +-
hw/acpi/pci-bridge-stub.c                     |  20 ++
hw/acpi/pci-bridge.c                          |  27 +++
hw/acpi/pcihp.c                               |  35 +--
hw/acpi/piix4.c                               |   5 +-
hw/arm/smmu-common.c                          |   3 +-
hw/core/machine.c                             |   1 +
hw/i2c/smbus_ich9.c                           |   5 +-
hw/i386/acpi-build.c                          | 301 +++++++++++++++-----------
hw/i386/acpi-common.c                         |   7 +-
hw/i386/acpi-microvm.c                        |   3 +-
hw/i386/microvm.c                             |  15 +-
hw/i386/pc_q35.c                              |   5 +-
hw/i386/x86.c                                 |  52 +++--
hw/isa/isa-bus.c                              |  10 -
hw/isa/lpc_ich9.c                             |   5 +-
hw/isa/piix3.c                                |   5 +-
hw/nvram/fw_cfg.c                             |   9 +
hw/pci-bridge/gen_pcie_root_port.c            |   7 +-
hw/pci-bridge/pci_bridge_dev.c                |   1 -
hw/pci-host/grackle.c                         |   2 +-
hw/pci-host/raven.c                           |   6 +-
hw/pci-host/uninorth.c                        |  33 +--
hw/pci/pci.c                                  |   2 +-
hw/pci/pci_bridge.c                           |  14 ++
hw/pci/pcie.c                                 |   6 +-
hw/pci/pcie_port.c                            |   3 +-
hw/pci/shpc.c                                 |   7 +
hw/virtio/vhost-user.c                        | 104 +--------
hw/virtio/virtio-iommu.c                      |   3 +-
tests/qtest/bios-tables-test.c                | 161 ++++++++++----
tests/qtest/boot-sector.c                     |   6 +-
tests/qtest/libqtest.c                        |   4 +
hw/acpi/Kconfig                               |   4 +
hw/acpi/meson.build                           |   4 +-
hw/i386/Kconfig                               |   1 +
tests/data/acpi/pc/DSDT                       | Bin 6458 -> 6360 bytes
tests/data/acpi/pc/DSDT.acpierst              | Bin 6418 -> 6283 bytes
tests/data/acpi/pc/DSDT.acpihmat              | Bin 7783 -> 7685 bytes
tests/data/acpi/pc/DSDT.bridge                | Bin 9532 -> 12487 bytes
tests/data/acpi/pc/DSDT.cphp                  | Bin 6922 -> 6824 bytes
tests/data/acpi/pc/DSDT.dimmpxm               | Bin 8112 -> 8014 bytes
tests/data/acpi/pc/DSDT.hpbridge              | Bin 6418 -> 6289 bytes
tests/data/acpi/pc/DSDT.hpbrroot              | Bin 3064 -> 3081 bytes
tests/data/acpi/pc/DSDT.ipmikcs               | Bin 6530 -> 6432 bytes
tests/data/acpi/pc/DSDT.memhp                 | Bin 7817 -> 7719 bytes
tests/data/acpi/pc/DSDT.nohpet                | Bin 6316 -> 6218 bytes
tests/data/acpi/pc/DSDT.numamem               | Bin 6464 -> 6366 bytes
tests/data/acpi/pc/DSDT.roothp                | Bin 6656 -> 9745 bytes
tests/data/acpi/q35/DSDT                      | Bin 8310 -> 8252 bytes
tests/data/acpi/q35/DSDT.acpierst             | Bin 8327 -> 8269 bytes
tests/data/acpi/q35/DSDT.acpihmat             | Bin 9635 -> 9577 bytes
tests/data/acpi/q35/DSDT.acpihmat-noinitiator | Bin 8589 -> 8531 bytes
tests/data/acpi/q35/DSDT.applesmc             | Bin 8356 -> 8298 bytes
tests/data/acpi/q35/DSDT.bridge               | Bin 11439 -> 11481 bytes
tests/data/acpi/q35/DSDT.core-count2          | Bin 32450 -> 32392 bytes
tests/data/acpi/q35/DSDT.cphp                 | Bin 8774 -> 8716 bytes
tests/data/acpi/q35/DSDT.cxl                  | Bin 9636 -> 9578 bytes
tests/data/acpi/q35/DSDT.dimmpxm              | Bin 9964 -> 9906 bytes
tests/data/acpi/q35/DSDT.ipmibt               | Bin 8385 -> 8327 bytes
tests/data/acpi/q35/DSDT.ipmismbus            | Bin 8398 -> 8340 bytes
tests/data/acpi/q35/DSDT.ivrs                 | Bin 8327 -> 8269 bytes
tests/data/acpi/q35/DSDT.memhp                | Bin 9669 -> 9611 bytes
tests/data/acpi/q35/DSDT.mmio64               | Bin 9440 -> 9382 bytes
tests/data/acpi/q35/DSDT.multi-bridge         | Bin 8630 -> 12337 bytes
tests/data/acpi/q35/DSDT.nohpet               | Bin 8168 -> 8110 bytes
tests/data/acpi/q35/DSDT.numamem              | Bin 8316 -> 8258 bytes
tests/data/acpi/q35/DSDT.pvpanic-isa          | Bin 8411 -> 8353 bytes
tests/data/acpi/q35/DSDT.tis.tpm12            | Bin 8916 -> 8858 bytes
tests/data/acpi/q35/DSDT.tis.tpm2             | Bin 8942 -> 8884 bytes
tests/data/acpi/q35/DSDT.viot                 | Bin 9419 -> 9361 bytes
tests/data/acpi/q35/DSDT.xapic                | Bin 35673 -> 35615 bytes
86 files changed, 611 insertions(+), 399 deletions(-)
create mode 100644 hw/acpi/pci-bridge-stub.c
create mode 100644 hw/acpi/pci-bridge.c
[PULL 00/56] virtio,pc,pci: features, cleanups, fixes
Posted by Michael S. Tsirkin 1 year, 2 months ago
The following changes since commit 13356edb87506c148b163b8c7eb0695647d00c2a:

  Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-01-24 09:45:33 +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 f5cb612867d3b10b86d6361ba041767e02c1b127:

  docs/pcie.txt: Replace ioh3420 with pcie-root-port (2023-01-28 06:21:30 -0500)

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

lots of fixes, cleanups

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

----------------------------------------------------------------
Akihiko Odaki (1):
      vhost-user: Correct a reference of TARGET_AARCH64

Bernhard Beschow (4):
      hw/i386/acpi-build: Remove unused attributes
      hw/isa/isa-bus: Turn isa_build_aml() into qbus_build_aml()
      hw/acpi/piix4: No need to #include "hw/southbridge/piix.h"
      hw/acpi/acpi_dev_interface: Remove unused parameter from AcpiDeviceIfClass::madt_cpu

Dr. David Alan Gilbert (1):
      virtio-rng-pci: fix migration compat for vectors

Greg Kurz (2):
      Revert "vhost-user: Monitor slave channel in vhost_user_read()"
      Revert "vhost-user: Introduce nested event loop in vhost_user_read()"

Igor Mammedov (40):
      tests: qtest: print device_add error before failing test
      tests: acpi: cleanup arguments to make them more readable
      tests: acpi: whitelist DSDT blobs for tests that use pci-bridges
      tests: acpi: extend pcihp with nested bridges
      tests: acpi: update expected blobs
      tests: acpi: cleanup use_uefi argument usage
      pci_bridge: remove whitespace
      x86: acpi: pcihp: clean up duplicate bridge_in_acpi assignment
      pci: acpi hotplug: rename x-native-hotplug to x-do-not-expose-native-hotplug-cap
      pcihp: piix4: do not call acpi_pcihp_reset() when ACPI PCI hotplug is disabled
      pci: acpihp: assign BSEL only to coldplugged bridges
      x86: pcihp: fix invalid AML PCNT calls to hotplugged bridges
      tests: boot_sector_test: avoid crashing if status is not available yet
      tests: acpi: extend bridge tests with hotplugged bridges
      tests: boot_sector_test(): make it multi-shot
      tests: acpi: add reboot cycle to bridge test
      tests: acpi: whitelist DSDT before refactoring acpi based PCI hotplug machinery
      pcihp: drop pcihp_bridge_en dependency when composing PCNT method
      tests: acpi: update expected blobs
      tests: acpi: whitelist DSDT before refactoring acpi based PCI hotplug machinery
      pcihp: compose PCNT callchain right before its user _GPE._E01
      pcihp: do not put empty PCNT in DSDT
      tests: acpi: update expected blobs
      whitelist DSDT before adding endpoint devices to bridge testcases
      tests: acpi: add endpoint devices to bridges
      tests: acpi: update expected blobs
      x86: pcihp: acpi: prepare slot ignore rule to work with self describing bridges
      pci: acpi: wire up AcpiDevAmlIf interface to generic bridge
      pcihp: make bridge describe itself using AcpiDevAmlIfClass:build_dev_aml
      pci: make sure pci_bus_is_express() won't error out with "discards ‘const’ qualifier"
      pcihp: isolate rule whether slot should be described in DSDT
      tests: acpi: whitelist DSDT before decoupling PCI hotplug code from basic slots description
      pcihp: acpi: decouple hotplug and generic slots description
      tests: acpi: update expected blobs
      tests: acpi: whitelist DSDT blobs before removing dynamic _DSM on coldplugged bridges
      pcihp: acpi: ignore coldplugged bridges when composing hotpluggable slots
      tests: acpi: update expected blobs
      tests: acpi: whitelist DSDT before moving non-hotpluggble slots description from hotplug path
      pcihp: generate populated non-hotpluggble slot descriptions on non-hotplug path
      tests: acpi: update expected blobs

Jason A. Donenfeld (1):
      x86: don't let decompressed kernel image clobber setup_data

Marcel Apfelbaum (1):
      docs/pcie.txt: Replace ioh3420 with pcie-root-port

Minghao Yuan (1):
      vhost-user: Skip unnecessary duplicated VHOST_USER_ADD/REM_MEM_REG requests

Peter Xu (1):
      intel-iommu: Document iova_tree

Philippe Mathieu-Daudé (2):
      hw/pci-host: Use register definitions from PCI standard
      hw: Use TYPE_PCI_BUS definition where appropriate

Thomas Huth (1):
      tests/qtest/bios-tables-test: Make the test less verbose by default

Vladimir Sementsov-Ogievskiy (1):
      shpc: disallow unplug when power indicator is blinking

 docs/pcie.txt                                 |  16 +-
 include/exec/memory.h                         |  26 +++
 include/hw/acpi/acpi_aml_interface.h          |   3 +
 include/hw/acpi/acpi_dev_interface.h          |   3 +-
 include/hw/acpi/pci.h                         |   4 +
 include/hw/i386/intel_iommu.h                 |  38 +++-
 include/hw/i386/microvm.h                     |   5 +-
 include/hw/i386/pc.h                          |   6 +-
 include/hw/isa/isa.h                          |   1 -
 include/hw/nvram/fw_cfg.h                     |   9 +
 include/hw/pci/pci.h                          |   2 +-
 include/hw/pci/pcie_port.h                    |   3 +-
 hw/acpi/acpi-x86-stub.c                       |   5 +-
 hw/acpi/acpi_interface.c                      |  10 +
 hw/acpi/cpu.c                                 |   3 +-
 hw/acpi/pci-bridge-stub.c                     |  20 ++
 hw/acpi/pci-bridge.c                          |  27 +++
 hw/acpi/pcihp.c                               |  35 +--
 hw/acpi/piix4.c                               |   5 +-
 hw/arm/smmu-common.c                          |   3 +-
 hw/core/machine.c                             |   1 +
 hw/i2c/smbus_ich9.c                           |   5 +-
 hw/i386/acpi-build.c                          | 301 +++++++++++++++-----------
 hw/i386/acpi-common.c                         |   7 +-
 hw/i386/acpi-microvm.c                        |   3 +-
 hw/i386/microvm.c                             |  15 +-
 hw/i386/pc_q35.c                              |   5 +-
 hw/i386/x86.c                                 |  52 +++--
 hw/isa/isa-bus.c                              |  10 -
 hw/isa/lpc_ich9.c                             |   5 +-
 hw/isa/piix3.c                                |   5 +-
 hw/nvram/fw_cfg.c                             |   9 +
 hw/pci-bridge/gen_pcie_root_port.c            |   7 +-
 hw/pci-bridge/pci_bridge_dev.c                |   1 -
 hw/pci-host/grackle.c                         |   2 +-
 hw/pci-host/raven.c                           |   6 +-
 hw/pci-host/uninorth.c                        |  33 +--
 hw/pci/pci.c                                  |   2 +-
 hw/pci/pci_bridge.c                           |  14 ++
 hw/pci/pcie.c                                 |   6 +-
 hw/pci/pcie_port.c                            |   3 +-
 hw/pci/shpc.c                                 |   7 +
 hw/virtio/vhost-user.c                        | 104 +--------
 hw/virtio/virtio-iommu.c                      |   3 +-
 tests/qtest/bios-tables-test.c                | 161 ++++++++++----
 tests/qtest/boot-sector.c                     |   6 +-
 tests/qtest/libqtest.c                        |   4 +
 hw/acpi/Kconfig                               |   4 +
 hw/acpi/meson.build                           |   4 +-
 hw/i386/Kconfig                               |   1 +
 tests/data/acpi/pc/DSDT                       | Bin 6458 -> 6360 bytes
 tests/data/acpi/pc/DSDT.acpierst              | Bin 6418 -> 6283 bytes
 tests/data/acpi/pc/DSDT.acpihmat              | Bin 7783 -> 7685 bytes
 tests/data/acpi/pc/DSDT.bridge                | Bin 9532 -> 12487 bytes
 tests/data/acpi/pc/DSDT.cphp                  | Bin 6922 -> 6824 bytes
 tests/data/acpi/pc/DSDT.dimmpxm               | Bin 8112 -> 8014 bytes
 tests/data/acpi/pc/DSDT.hpbridge              | Bin 6418 -> 6289 bytes
 tests/data/acpi/pc/DSDT.hpbrroot              | Bin 3064 -> 3081 bytes
 tests/data/acpi/pc/DSDT.ipmikcs               | Bin 6530 -> 6432 bytes
 tests/data/acpi/pc/DSDT.memhp                 | Bin 7817 -> 7719 bytes
 tests/data/acpi/pc/DSDT.nohpet                | Bin 6316 -> 6218 bytes
 tests/data/acpi/pc/DSDT.numamem               | Bin 6464 -> 6366 bytes
 tests/data/acpi/pc/DSDT.roothp                | Bin 6656 -> 9745 bytes
 tests/data/acpi/q35/DSDT                      | Bin 8310 -> 8252 bytes
 tests/data/acpi/q35/DSDT.acpierst             | Bin 8327 -> 8269 bytes
 tests/data/acpi/q35/DSDT.acpihmat             | Bin 9635 -> 9577 bytes
 tests/data/acpi/q35/DSDT.acpihmat-noinitiator | Bin 8589 -> 8531 bytes
 tests/data/acpi/q35/DSDT.applesmc             | Bin 8356 -> 8298 bytes
 tests/data/acpi/q35/DSDT.bridge               | Bin 11439 -> 11481 bytes
 tests/data/acpi/q35/DSDT.core-count2          | Bin 32450 -> 32392 bytes
 tests/data/acpi/q35/DSDT.cphp                 | Bin 8774 -> 8716 bytes
 tests/data/acpi/q35/DSDT.cxl                  | Bin 9636 -> 9578 bytes
 tests/data/acpi/q35/DSDT.dimmpxm              | Bin 9964 -> 9906 bytes
 tests/data/acpi/q35/DSDT.ipmibt               | Bin 8385 -> 8327 bytes
 tests/data/acpi/q35/DSDT.ipmismbus            | Bin 8398 -> 8340 bytes
 tests/data/acpi/q35/DSDT.ivrs                 | Bin 8327 -> 8269 bytes
 tests/data/acpi/q35/DSDT.memhp                | Bin 9669 -> 9611 bytes
 tests/data/acpi/q35/DSDT.mmio64               | Bin 9440 -> 9382 bytes
 tests/data/acpi/q35/DSDT.multi-bridge         | Bin 8630 -> 12337 bytes
 tests/data/acpi/q35/DSDT.nohpet               | Bin 8168 -> 8110 bytes
 tests/data/acpi/q35/DSDT.numamem              | Bin 8316 -> 8258 bytes
 tests/data/acpi/q35/DSDT.pvpanic-isa          | Bin 8411 -> 8353 bytes
 tests/data/acpi/q35/DSDT.tis.tpm12            | Bin 8916 -> 8858 bytes
 tests/data/acpi/q35/DSDT.tis.tpm2             | Bin 8942 -> 8884 bytes
 tests/data/acpi/q35/DSDT.viot                 | Bin 9419 -> 9361 bytes
 tests/data/acpi/q35/DSDT.xapic                | Bin 35673 -> 35615 bytes
 86 files changed, 611 insertions(+), 399 deletions(-)
 create mode 100644 hw/acpi/pci-bridge-stub.c
 create mode 100644 hw/acpi/pci-bridge.c


Re: [PULL 00/56] virtio,pc,pci: features, cleanups, fixes
Posted by Peter Maydell 1 year, 2 months ago
On Mon, 30 Jan 2023 at 20:18, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> The following changes since commit 13356edb87506c148b163b8c7eb0695647d00c2a:
>
>   Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-01-24 09:45:33 +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 f5cb612867d3b10b86d6361ba041767e02c1b127:
>
>   docs/pcie.txt: Replace ioh3420 with pcie-root-port (2023-01-28 06:21:30 -0500)
>
> ----------------------------------------------------------------
> virtio,pc,pci: features, cleanups, fixes
>
> lots of fixes, cleanups
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM