[PULL 00/39] Misc HW patches for 2025-09-02

Philippe Mathieu-Daudé posted 39 patches 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250902131016.84968-1-philmd@linaro.org
Maintainers: "Philippe Mathieu-Daudé" <philmd@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Markus Armbruster <armbru@redhat.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Peter Maydell <peter.maydell@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Alistair Francis <alistair@alistair23.me>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Glenn Miles <milesg@linux.ibm.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Eduardo Habkost <eduardo@habkost.net>, John Snow <jsnow@redhat.com>, Huacai Chen <chenhuacai@kernel.org>, Aurelien Jarno <aurelien@aurel32.net>, Francisco Iglesias <francisco.iglesias@amd.com>, Jason Wang <jasowang@redhat.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Nicholas Piggin <npiggin@gmail.com>, Aditya Gupta <adityag@linux.ibm.com>, Fam Zheng <fam@euphon.net>, Bin Meng <bmeng.cn@gmail.com>, Laurent Vivier <laurent@vivier.eu>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Aleksandar Rikalo <arikalo@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>
There is a newer version of this series
MAINTAINERS                             |   7 +-
docs/about/deprecated.rst               |  18 --
docs/about/removed-features.rst         |  14 +-
docs/devel/style.rst                    |   4 +-
docs/system/target-mips.rst             |  11 -
configs/devices/mips-softmmu/common.mak |   1 -
meson.build                             |   5 +-
hw/sd/sdmmc-internal.h                  |   3 +-
include/crypto/hmac.h                   |  12 +
include/elf.h                           |   7 +
include/exec/target_page.h              |  11 +-
include/hw/irq.h                        |  23 +-
include/hw/sd/sd.h                      |   1 -
include/hw/ssi/ssi.h                    |  14 ++
target/ppc/cpu.h                        |   4 +
cpu-target.c                            |   5 -
crypto/hmac-gcrypt.c                    |   4 +-
crypto/hmac-glib.c                      |   4 +-
crypto/hmac-gnutls.c                    |   4 +-
crypto/hmac-nettle.c                    |   4 +-
hw/arm/boot.c                           |   2 +-
hw/arm/virt.c                           |   1 +
hw/char/max78000_uart.c                 |   7 +
hw/char/serial-pci-multi.c              |   3 +-
hw/core/irq.c                           |   8 +
hw/display/xlnx_dp.c                    |  10 +-
hw/gpio/pca9554.c                       |   2 +-
hw/i386/pc_piix.c                       |   6 +-
hw/ide/ich.c                            |   3 +-
hw/isa/isa-superio.c                    |   1 +
hw/mips/loongson3_virt.c                |   1 +
hw/mips/malta.c                         |   1 +
hw/mips/mipssim.c                       | 249 --------------------
hw/misc/xlnx-versal-cframe-reg.c        |   9 +
hw/net/e1000e_core.c                    |   5 -
hw/net/mipsnet.c                        | 297 ------------------------
hw/pci/pci.c                            |  15 +-
hw/ppc/pnv.c                            |  86 +++++++
hw/scsi/mptsas.c                        |   6 +-
hw/sd/sd.c                              |  39 ++--
linux-user/mips/elfload.c               |   6 +
migration/vfio-stub.c                   |  16 ++
migration/vfio.c                        |  14 --
page-target.c                           |  21 --
target-info-stub.c                      |   4 +
target/mips/tcg/system/tlb_helper.c     |   2 +-
target/ppc/kvm.c                        |   6 +-
target/ppc/misc_helper.c                |  59 +----
hw/intc/meson.build                     |   6 +-
hw/meson.build                          |  45 ++--
hw/mips/Kconfig                         |   7 -
hw/mips/meson.build                     |   1 -
hw/net/Kconfig                          |   3 -
hw/net/meson.build                      |   1 -
hw/net/trace-events                     |   7 -
migration/meson.build                   |   8 +-
scripts/coverity-scan/COMPONENTS.md     |   3 +
57 files changed, 331 insertions(+), 785 deletions(-)
delete mode 100644 hw/mips/mipssim.c
delete mode 100644 hw/net/mipsnet.c
create mode 100644 migration/vfio-stub.c
delete mode 100644 page-target.c
[PULL 00/39] Misc HW patches for 2025-09-02
Posted by Philippe Mathieu-Daudé 3 weeks, 5 days ago
The following changes since commit 09d16ef11c97684a658c29ef1c75bce9f6019328:

  Merge tag 'pull-loongarch-20250829' of https://github.com/bibo-mao/qemu into staging (2025-09-01 11:15:06 +1000)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/hw-misc-20250902

for you to fetch changes up to 3071c0ce5f55aeb9ec65fb20be1e762290371102:

  hw/i386/pc_piix.c: remove unnecessary if() from pc_init1() (2025-09-02 15:06:57 +0200)

----------------------------------------------------------------
Misc HW patches

- Compile various system files once
- Remove SDCard spec v1.10
- Remove mipssim machine and mipsnet device model
- Prevent crash in e1000e when legacy interrupt fires after enabling MSI-X
- Introduce qemu_init_irq_child()
- Remove various memory leaks reported by ASan
- Few Coverity fixes
- Use 74Kf CPU to run MIPS16e binaries and M14Kc for microMIPS ones

(a pair if spurious checkpatch.pl warnings ignored).

----------------------------------------------------------------

Aditya Gupta (1):
  hw/ppc: Fix build error with CONFIG_POWERNV disabled

Cédric Le Goater (4):
  hw/arm/virt: Include 'system/system.h'
  hw/isa/superio: Include 'system/system.h'
  hw/mips/loongson3_virt: Include 'system/system.h'
  hw/mips/malta: Include 'system/system.h'

Denis Rastyogin (1):
  target/mips: fix TLB huge page check to use 64-bit shift

Djordje Todorovic (1):
  hw/pci: Allow explicit function numbers in pci

Jan Kiszka (4):
  hw/sd/sdcard: Fix size check for backing block image
  hw/sd/sdcard: Add validation for boot-partition-size
  hw/sd/sdcard: Refactor sd_bootpart_offset
  crypto/hmac: Allow to build hmac over multiple
    qcrypto_gnutls_hmac_bytes[v] calls

Laurent Vivier (1):
  e1000e: Prevent crash from legacy interrupt firing after MSI-X enable

Mark Cave-Ayland (1):
  hw/i386/pc_piix.c: remove unnecessary if() from pc_init1()

Peter Maydell (8):
  hw/irq: New qemu_init_irq_child() function
  hw/char/serial-pci-multi: Use qemu_init_irq_child() to avoid leak
  hw/ide/ich.c: Use qemu_init_irq_child() to avoid memory leak
  hw/gpio/pca9554: Avoid leak in pca9554_set_pin()
  hw/char/max78000_uart: Destroy FIFO on deinit
  hw/misc/xlnx-versal-cframe-reg: Free FIFO, g_tree on deinit
  hw/display/xlnx_dp: Don't leak dpcd and edid objects
  hw/arm/boot: Correctly free the MemoryDeviceInfoList

Philippe Mathieu-Daudé (12):
  hw/sd/sdcard: Remove support for spec v1.10
  target/ppc/kvm: Avoid using alloca()
  docs/devel/style: Mention alloca() family API is forbidden
  scripts/coverity-scan/COMPONENTS.md: Add a 'plugins' category
  hw/scsi/mptsas: Avoid silent integer truncation in MPI_FUNC_IOC_INIT
  hw/ssi: Document ssi_transfer() method
  elf: Add EF_MIPS_ARCH_ASE definitions
  linux-user/mips: Select 74Kf CPU to run MIPS16e binaries
  linux-user/mips: Select M14Kc CPU to run microMIPS binaries
  hw/mips: Remove mipssim machine
  hw/net: Remove mipsnet device model
  docs/about/removed-features: Clarify 'device_add' is removed

Pierrick Bouvier (6):
  migration: compile migration/ram.c once
  migration/vfio: compile only once
  cpu-target: build compilation unit once for user/system
  include/exec/target_page.h: move page-target.c to header
  hw/meson: enter target hw first
  hw/intc: compile some arm related source once

 MAINTAINERS                             |   7 +-
 docs/about/deprecated.rst               |  18 --
 docs/about/removed-features.rst         |  14 +-
 docs/devel/style.rst                    |   4 +-
 docs/system/target-mips.rst             |  11 -
 configs/devices/mips-softmmu/common.mak |   1 -
 meson.build                             |   5 +-
 hw/sd/sdmmc-internal.h                  |   3 +-
 include/crypto/hmac.h                   |  12 +
 include/elf.h                           |   7 +
 include/exec/target_page.h              |  11 +-
 include/hw/irq.h                        |  23 +-
 include/hw/sd/sd.h                      |   1 -
 include/hw/ssi/ssi.h                    |  14 ++
 target/ppc/cpu.h                        |   4 +
 cpu-target.c                            |   5 -
 crypto/hmac-gcrypt.c                    |   4 +-
 crypto/hmac-glib.c                      |   4 +-
 crypto/hmac-gnutls.c                    |   4 +-
 crypto/hmac-nettle.c                    |   4 +-
 hw/arm/boot.c                           |   2 +-
 hw/arm/virt.c                           |   1 +
 hw/char/max78000_uart.c                 |   7 +
 hw/char/serial-pci-multi.c              |   3 +-
 hw/core/irq.c                           |   8 +
 hw/display/xlnx_dp.c                    |  10 +-
 hw/gpio/pca9554.c                       |   2 +-
 hw/i386/pc_piix.c                       |   6 +-
 hw/ide/ich.c                            |   3 +-
 hw/isa/isa-superio.c                    |   1 +
 hw/mips/loongson3_virt.c                |   1 +
 hw/mips/malta.c                         |   1 +
 hw/mips/mipssim.c                       | 249 --------------------
 hw/misc/xlnx-versal-cframe-reg.c        |   9 +
 hw/net/e1000e_core.c                    |   5 -
 hw/net/mipsnet.c                        | 297 ------------------------
 hw/pci/pci.c                            |  15 +-
 hw/ppc/pnv.c                            |  86 +++++++
 hw/scsi/mptsas.c                        |   6 +-
 hw/sd/sd.c                              |  39 ++--
 linux-user/mips/elfload.c               |   6 +
 migration/vfio-stub.c                   |  16 ++
 migration/vfio.c                        |  14 --
 page-target.c                           |  21 --
 target-info-stub.c                      |   4 +
 target/mips/tcg/system/tlb_helper.c     |   2 +-
 target/ppc/kvm.c                        |   6 +-
 target/ppc/misc_helper.c                |  59 +----
 hw/intc/meson.build                     |   6 +-
 hw/meson.build                          |  45 ++--
 hw/mips/Kconfig                         |   7 -
 hw/mips/meson.build                     |   1 -
 hw/net/Kconfig                          |   3 -
 hw/net/meson.build                      |   1 -
 hw/net/trace-events                     |   7 -
 migration/meson.build                   |   8 +-
 scripts/coverity-scan/COMPONENTS.md     |   3 +
 57 files changed, 331 insertions(+), 785 deletions(-)
 delete mode 100644 hw/mips/mipssim.c
 delete mode 100644 hw/net/mipsnet.c
 create mode 100644 migration/vfio-stub.c
 delete mode 100644 page-target.c

-- 
2.51.0