[PULL 00/20] pci,pc,virtio: bugfixes

Michael S. Tsirkin posted 20 patches 4 years, 2 months ago
Failed in applying to current master (apply log)
include/hw/acpi/ich9.h                |   1 +
include/hw/pci/pci.h                  |   2 +
include/hw/qdev-core.h                |   1 +
include/hw/virtio/vhost.h             |   4 +-
hw/acpi/ich9.c                        |  18 ++++++++
hw/i386/acpi-build.c                  |  12 ++++--
hw/i386/pc.c                          |   2 +
hw/i386/pc_q35.c                      |   9 +++-
hw/mem/pc-dimm.c                      |  23 ++++++----
hw/net/vhost_net.c                    |  12 +++---
hw/pci/pci.c                          |  25 ++++++++++-
hw/pci/pci_host.c                     |   6 ++-
hw/pci/pcie.c                         |  79 ++++++++++++++++++++++++++++------
hw/pci/pcie_port.c                    |   2 +-
hw/virtio/vhost-vdpa.c                |   2 +-
hw/virtio/virtio.c                    |  24 ++++-------
net/vhost-vdpa.c                      |   8 +++-
softmmu/qdev-monitor.c                |   6 ++-
tests/data/acpi/q35/DSDT              | Bin 8289 -> 8289 bytes
tests/data/acpi/q35/DSDT.acpihmat     | Bin 9614 -> 9614 bytes
tests/data/acpi/q35/DSDT.bridge       | Bin 11003 -> 11003 bytes
tests/data/acpi/q35/DSDT.cphp         | Bin 8753 -> 8753 bytes
tests/data/acpi/q35/DSDT.dimmpxm      | Bin 9943 -> 9943 bytes
tests/data/acpi/q35/DSDT.ipmibt       | Bin 8364 -> 8364 bytes
tests/data/acpi/q35/DSDT.ivrs         | Bin 8306 -> 8306 bytes
tests/data/acpi/q35/DSDT.memhp        | Bin 9648 -> 9648 bytes
tests/data/acpi/q35/DSDT.mmio64       | Bin 9419 -> 9419 bytes
tests/data/acpi/q35/DSDT.multi-bridge | Bin 8583 -> 8583 bytes
tests/data/acpi/q35/DSDT.nohpet       | Bin 8147 -> 8147 bytes
tests/data/acpi/q35/DSDT.numamem      | Bin 8295 -> 8295 bytes
tests/data/acpi/q35/DSDT.tis.tpm12    | Bin 8894 -> 8894 bytes
tests/data/acpi/q35/DSDT.tis.tpm2     | Bin 8894 -> 8894 bytes
tests/data/acpi/q35/DSDT.xapic        | Bin 35652 -> 35652 bytes
33 files changed, 176 insertions(+), 60 deletions(-)
[PULL 00/20] pci,pc,virtio: bugfixes
Posted by Michael S. Tsirkin 4 years, 2 months ago
The following changes since commit 0a70bcf18caf7a61d480f8448723c15209d128ef:

  Update version for v6.2.0-rc0 release (2021-11-09 18:22:57 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to 18416c62e36a79823a9e28f6b2260aa13c25e1d9:

  pcie: expire pending delete (2021-11-15 11:10:11 -0500)

----------------------------------------------------------------
pci,pc,virtio: bugfixes

pci power management fixes
acpi hotplug fixes
misc other fixes

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

----------------------------------------------------------------
Eugenio Pérez (4):
      vhost: Rename last_index to vq_index_end
      vhost: Fix last vq queue index of devices with no cvq
      vdpa: Replace qemu_open_old by qemu_open at
      vdpa: Check for existence of opts.vhostdev

Gerd Hoffmann (6):
      pci: implement power state
      pcie: implement slot power control for pcie root ports
      pcie: add power indicator blink check
      pcie: factor out pcie_cap_slot_unplug()
      pcie: fast unplug when slot power is off
      pcie: expire pending delete

Igor Mammedov (2):
      pcie: rename 'native-hotplug' to 'x-native-hotplug'
      tests: bios-tables-test update expected blobs

Jason Wang (2):
      virtio: use virtio accessor to access packed descriptor flags
      virtio: use virtio accessor to access packed event

Julia Suvorova (3):
      hw/acpi/ich9: Add compat prop to keep HPC bit set for 6.1 machine type
      bios-tables-test: Allow changes in DSDT ACPI tables
      hw/i386/acpi-build: Deny control on PCIe Native Hot-plug in _OSC

Philippe Mathieu-Daudé (1):
      hw/mem/pc-dimm: Restrict NUMA-specific code to NUMA machines

Stefan Hajnoczi (1):
      softmmu/qdev-monitor: fix use-after-free in qdev_set_id()

Stefano Garzarella (1):
      net/vhost-vdpa: fix memory leak in vhost_vdpa_get_max_queue_pairs()

 include/hw/acpi/ich9.h                |   1 +
 include/hw/pci/pci.h                  |   2 +
 include/hw/qdev-core.h                |   1 +
 include/hw/virtio/vhost.h             |   4 +-
 hw/acpi/ich9.c                        |  18 ++++++++
 hw/i386/acpi-build.c                  |  12 ++++--
 hw/i386/pc.c                          |   2 +
 hw/i386/pc_q35.c                      |   9 +++-
 hw/mem/pc-dimm.c                      |  23 ++++++----
 hw/net/vhost_net.c                    |  12 +++---
 hw/pci/pci.c                          |  25 ++++++++++-
 hw/pci/pci_host.c                     |   6 ++-
 hw/pci/pcie.c                         |  79 ++++++++++++++++++++++++++++------
 hw/pci/pcie_port.c                    |   2 +-
 hw/virtio/vhost-vdpa.c                |   2 +-
 hw/virtio/virtio.c                    |  24 ++++-------
 net/vhost-vdpa.c                      |   8 +++-
 softmmu/qdev-monitor.c                |   6 ++-
 tests/data/acpi/q35/DSDT              | Bin 8289 -> 8289 bytes
 tests/data/acpi/q35/DSDT.acpihmat     | Bin 9614 -> 9614 bytes
 tests/data/acpi/q35/DSDT.bridge       | Bin 11003 -> 11003 bytes
 tests/data/acpi/q35/DSDT.cphp         | Bin 8753 -> 8753 bytes
 tests/data/acpi/q35/DSDT.dimmpxm      | Bin 9943 -> 9943 bytes
 tests/data/acpi/q35/DSDT.ipmibt       | Bin 8364 -> 8364 bytes
 tests/data/acpi/q35/DSDT.ivrs         | Bin 8306 -> 8306 bytes
 tests/data/acpi/q35/DSDT.memhp        | Bin 9648 -> 9648 bytes
 tests/data/acpi/q35/DSDT.mmio64       | Bin 9419 -> 9419 bytes
 tests/data/acpi/q35/DSDT.multi-bridge | Bin 8583 -> 8583 bytes
 tests/data/acpi/q35/DSDT.nohpet       | Bin 8147 -> 8147 bytes
 tests/data/acpi/q35/DSDT.numamem      | Bin 8295 -> 8295 bytes
 tests/data/acpi/q35/DSDT.tis.tpm12    | Bin 8894 -> 8894 bytes
 tests/data/acpi/q35/DSDT.tis.tpm2     | Bin 8894 -> 8894 bytes
 tests/data/acpi/q35/DSDT.xapic        | Bin 35652 -> 35652 bytes
 33 files changed, 176 insertions(+), 60 deletions(-)


Re: [PULL 00/20] pci,pc,virtio: bugfixes
Posted by Philippe Mathieu-Daudé 4 years, 2 months ago
On 11/15/21 17:37, Michael S. Tsirkin wrote:
> The following changes since commit 0a70bcf18caf7a61d480f8448723c15209d128ef:
> 
>   Update version for v6.2.0-rc0 release (2021-11-09 18:22:57 +0100)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> 
> for you to fetch changes up to 18416c62e36a79823a9e28f6b2260aa13c25e1d9:
> 
>   pcie: expire pending delete (2021-11-15 11:10:11 -0500)
> 
> ----------------------------------------------------------------
> pci,pc,virtio: bugfixes
> 
> pci power management fixes
> acpi hotplug fixes
> misc other fixes
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Eugenio Pérez (4):
>       vhost: Rename last_index to vq_index_end
>       vhost: Fix last vq queue index of devices with no cvq
>       vdpa: Replace qemu_open_old by qemu_open at
>       vdpa: Check for existence of opts.vhostdev
> 
> Gerd Hoffmann (6):
>       pci: implement power state
>       pcie: implement slot power control for pcie root ports
>       pcie: add power indicator blink check
>       pcie: factor out pcie_cap_slot_unplug()
>       pcie: fast unplug when slot power is off
>       pcie: expire pending delete
> 
> Igor Mammedov (2):
>       pcie: rename 'native-hotplug' to 'x-native-hotplug'
>       tests: bios-tables-test update expected blobs
> 
> Jason Wang (2):
>       virtio: use virtio accessor to access packed descriptor flags
>       virtio: use virtio accessor to access packed event
> 
> Julia Suvorova (3):
>       hw/acpi/ich9: Add compat prop to keep HPC bit set for 6.1 machine type
>       bios-tables-test: Allow changes in DSDT ACPI tables
>       hw/i386/acpi-build: Deny control on PCIe Native Hot-plug in _OSC
> 
> Philippe Mathieu-Daudé (1):
>       hw/mem/pc-dimm: Restrict NUMA-specific code to NUMA machines
> 
> Stefan Hajnoczi (1):
>       softmmu/qdev-monitor: fix use-after-free in qdev_set_id()
> 
> Stefano Garzarella (1):
>       net/vhost-vdpa: fix memory leak in vhost_vdpa_get_max_queue_pairs()
> 
>  include/hw/acpi/ich9.h                |   1 +
>  include/hw/pci/pci.h                  |   2 +
>  include/hw/qdev-core.h                |   1 +
>  include/hw/virtio/vhost.h             |   4 +-
>  hw/acpi/ich9.c                        |  18 ++++++++
>  hw/i386/acpi-build.c                  |  12 ++++--
>  hw/i386/pc.c                          |   2 +
>  hw/i386/pc_q35.c                      |   9 +++-
>  hw/mem/pc-dimm.c                      |  23 ++++++----
>  hw/net/vhost_net.c                    |  12 +++---
>  hw/pci/pci.c                          |  25 ++++++++++-
>  hw/pci/pci_host.c                     |   6 ++-
>  hw/pci/pcie.c                         |  79 ++++++++++++++++++++++++++++------
>  hw/pci/pcie_port.c                    |   2 +-
>  hw/virtio/vhost-vdpa.c                |   2 +-
>  hw/virtio/virtio.c                    |  24 ++++-------
>  net/vhost-vdpa.c                      |   8 +++-
>  softmmu/qdev-monitor.c                |   6 ++-

Cc'ing Alex for this apparently unrelated test failure:

make[2]: Entering directory 'build/tests/tcg/arm-linux-user'
timeout --foreground 60  tests/guest-debug/run-test.py --gdb
/usr/bin/gdb-multiarch --qemu build/qemu-arm --qargs "" --bin testthread
--test tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py >
run-gdbstub-thread-breakpoint.out
make[2]: *** [tests/tcg/multiarch/Makefile.target:71:
run-gdbstub-thread-breakpoint] Error 1
make[1]: *** [tests/tcg/Makefile.qemu:102: run-guest-tests] Error 2
make: *** [tests/Makefile.include:63: run-tcg-tests-arm-linux-user] Error 2

https://gitlab.com/qemu-project/qemu/-/jobs/1785024040#L5986


Re: [PULL 00/20] pci,pc,virtio: bugfixes
Posted by Richard Henderson 4 years, 2 months ago
On 11/15/21 11:43 PM, Philippe Mathieu-Daudé wrote:
> Cc'ing Alex for this apparently unrelated test failure:
> 
> make[2]: Entering directory 'build/tests/tcg/arm-linux-user'
> timeout --foreground 60  tests/guest-debug/run-test.py --gdb
> /usr/bin/gdb-multiarch --qemu build/qemu-arm --qargs "" --bin testthread
> --test tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py >
> run-gdbstub-thread-breakpoint.out
> make[2]: *** [tests/tcg/multiarch/Makefile.target:71:
> run-gdbstub-thread-breakpoint] Error 1
> make[1]: *** [tests/tcg/Makefile.qemu:102: run-guest-tests] Error 2
> make: *** [tests/Makefile.include:63: run-tcg-tests-arm-linux-user] Error 2
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/1785024040#L5986

For the record, this one is transient.


r~

Re: [PULL 00/20] pci,pc,virtio: bugfixes
Posted by Richard Henderson 4 years, 2 months ago
On 11/15/21 5:37 PM, Michael S. Tsirkin wrote:
> The following changes since commit 0a70bcf18caf7a61d480f8448723c15209d128ef:
> 
>    Update version for v6.2.0-rc0 release (2021-11-09 18:22:57 +0100)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> 
> for you to fetch changes up to 18416c62e36a79823a9e28f6b2260aa13c25e1d9:
> 
>    pcie: expire pending delete (2021-11-15 11:10:11 -0500)
> 
> ----------------------------------------------------------------
> pci,pc,virtio: bugfixes
> 
> pci power management fixes
> acpi hotplug fixes
> misc other fixes
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Eugenio Pérez (4):
>        vhost: Rename last_index to vq_index_end
>        vhost: Fix last vq queue index of devices with no cvq
>        vdpa: Replace qemu_open_old by qemu_open at
>        vdpa: Check for existence of opts.vhostdev
> 
> Gerd Hoffmann (6):
>        pci: implement power state
>        pcie: implement slot power control for pcie root ports
>        pcie: add power indicator blink check
>        pcie: factor out pcie_cap_slot_unplug()
>        pcie: fast unplug when slot power is off
>        pcie: expire pending delete
> 
> Igor Mammedov (2):
>        pcie: rename 'native-hotplug' to 'x-native-hotplug'
>        tests: bios-tables-test update expected blobs
> 
> Jason Wang (2):
>        virtio: use virtio accessor to access packed descriptor flags
>        virtio: use virtio accessor to access packed event
> 
> Julia Suvorova (3):
>        hw/acpi/ich9: Add compat prop to keep HPC bit set for 6.1 machine type
>        bios-tables-test: Allow changes in DSDT ACPI tables
>        hw/i386/acpi-build: Deny control on PCIe Native Hot-plug in _OSC
> 
> Philippe Mathieu-Daudé (1):
>        hw/mem/pc-dimm: Restrict NUMA-specific code to NUMA machines
> 
> Stefan Hajnoczi (1):
>        softmmu/qdev-monitor: fix use-after-free in qdev_set_id()
> 
> Stefano Garzarella (1):
>        net/vhost-vdpa: fix memory leak in vhost_vdpa_get_max_queue_pairs()
> 
>   include/hw/acpi/ich9.h                |   1 +
>   include/hw/pci/pci.h                  |   2 +
>   include/hw/qdev-core.h                |   1 +
>   include/hw/virtio/vhost.h             |   4 +-
>   hw/acpi/ich9.c                        |  18 ++++++++
>   hw/i386/acpi-build.c                  |  12 ++++--
>   hw/i386/pc.c                          |   2 +
>   hw/i386/pc_q35.c                      |   9 +++-
>   hw/mem/pc-dimm.c                      |  23 ++++++----
>   hw/net/vhost_net.c                    |  12 +++---
>   hw/pci/pci.c                          |  25 ++++++++++-
>   hw/pci/pci_host.c                     |   6 ++-
>   hw/pci/pcie.c                         |  79 ++++++++++++++++++++++++++++------
>   hw/pci/pcie_port.c                    |   2 +-
>   hw/virtio/vhost-vdpa.c                |   2 +-
>   hw/virtio/virtio.c                    |  24 ++++-------
>   net/vhost-vdpa.c                      |   8 +++-
>   softmmu/qdev-monitor.c                |   6 ++-
>   tests/data/acpi/q35/DSDT              | Bin 8289 -> 8289 bytes
>   tests/data/acpi/q35/DSDT.acpihmat     | Bin 9614 -> 9614 bytes
>   tests/data/acpi/q35/DSDT.bridge       | Bin 11003 -> 11003 bytes
>   tests/data/acpi/q35/DSDT.cphp         | Bin 8753 -> 8753 bytes
>   tests/data/acpi/q35/DSDT.dimmpxm      | Bin 9943 -> 9943 bytes
>   tests/data/acpi/q35/DSDT.ipmibt       | Bin 8364 -> 8364 bytes
>   tests/data/acpi/q35/DSDT.ivrs         | Bin 8306 -> 8306 bytes
>   tests/data/acpi/q35/DSDT.memhp        | Bin 9648 -> 9648 bytes
>   tests/data/acpi/q35/DSDT.mmio64       | Bin 9419 -> 9419 bytes
>   tests/data/acpi/q35/DSDT.multi-bridge | Bin 8583 -> 8583 bytes
>   tests/data/acpi/q35/DSDT.nohpet       | Bin 8147 -> 8147 bytes
>   tests/data/acpi/q35/DSDT.numamem      | Bin 8295 -> 8295 bytes
>   tests/data/acpi/q35/DSDT.tis.tpm12    | Bin 8894 -> 8894 bytes
>   tests/data/acpi/q35/DSDT.tis.tpm2     | Bin 8894 -> 8894 bytes
>   tests/data/acpi/q35/DSDT.xapic        | Bin 35652 -> 35652 bytes
>   33 files changed, 176 insertions(+), 60 deletions(-)

Applied, thanks.

r~