mbox

[PULL,00/26] Misc HW patches for 2024-05-08

Message ID 20240508174510.60470-1-philmd@linaro.org
State New
Headers show

Pull-request

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

Message

Philippe Mathieu-Daudé May 8, 2024, 5:44 p.m. UTC
The following changes since commit 4e66a08546a2588a4667766a1edab9caccf24ce3:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-07 09:26:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 15a91d34f7b08635e3919105f7ad0b5aafc49f50:

  misc: Use QEMU header path relative to include/ directory (2024-05-08 19:43:23 +0200)

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

- Few more g_memdup() replaced by safer g_memdup2() wrapper (Phil)
- Endianness access fixed in vfio-user config space (Mattias)
- Replace qemu_mutex_lock() -> QEMU_LOCK_GUARD in system/physmem (Phil)
- Per-AddressSpace bounce buffering (Mattias)
- Allow to compile x86 PC machines without Floppy Controller (Thomas)
- Cleanups around i386 "isa-bios" memory regions (Bernhard)
- Remove unused usb rndis_config_parameter structure (David)
- Migrate missing clock in STM32L4x5 GPIOs (Inès)
- Deprecate PPC 'ref405ep' machine and 405 CPUs (Cédric)
- Memory leak fixed in Loongarch Virt machine (Song Gao)
- hw/loongarch/ code moved around (Paolo & Bibo Mao)
- Emulate S3 suspend in loongson3_virt machine (Jiaxun)
- Implement IOCSR address space in Loongson IPI (Jiaxun)
- Use QEMU header path relative to include/ directory (Phil)

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

Bernhard Beschow (3):
  hw/i386/x86: Eliminate two if statements in x86_bios_rom_init()
  hw/i386: Have x86_bios_rom_init() take X86MachineState rather than
    MachineState
  hw/i386/x86: Don't leak "isa-bios" memory regions

Bibo Mao (2):
  hw/loongarch: Rename LOONGARCH_MACHINE with LOONGARCH_VIRT_MACHINE
  hw/loongarch: Rename LoongArchMachineState with
    LoongArchVirtMachineState

Cédric Le Goater (1):
  hw/ppc: Deprecate 'ref405ep' machine and 405 CPUs

Dr. David Alan Gilbert (1):
  hw/usb/dev-network: Remove unused struct 'rndis_config_parameter'

Inès Varhol (1):
  hw/gpio: Handle clock migration in STM32L4x5 gpios

Jiaxun Yang (4):
  hw/mips/loongson3_virt: Emulate suspend function
  hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
  hw/intc/loongarch_ipi: Rename as loongson_ipi
  hw/intc/loongson_ipi: Implement IOCSR address space for MIPS

Mattias Nissler (3):
  hw/remote/vfio-user: Fix config space access byte order
  system/physmem: Propagate AddressSpace to MapClient helpers
  system/physmem: Per-AddressSpace bounce buffering

Paolo Bonzini (1):
  hw/loongarch: move memory map to boot.c

Philippe Mathieu-Daudé (6):
  block/qcow2-bitmap: Replace g_memdup() by g_memdup2()
  target/ppc: Replace g_memdup() by g_memdup2()
  hw/hppa/machine: Replace g_memdup() by g_memdup2()
  hw/ppc/spapr_pci: Replace g_memdup() by g_memdup2()
  system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD
  misc: Use QEMU header path relative to include/ directory

Song Gao (1):
  hw/loongarch/virt: Fix memory leak

Thomas Huth (3):
  hw/i386/pc: Allow to compile without CONFIG_FDC_ISA
  hw/i386/Kconfig: Allow to compile Q35 without FDC_ISA
  hw/i386: Add the possibility to use i440fx and isapc without FDC

 MAINTAINERS                                   |   4 +
 docs/about/deprecated.rst                     |   8 +
 hw/loongarch/fw_cfg.h                         |   2 +-
 include/exec/cpu-common.h                     |   2 -
 include/exec/memory.h                         |  45 ++-
 include/hw/i386/x86.h                         |   4 +-
 .../intc/{loongarch_ipi.h => loongson_ipi.h}  |  12 +-
 include/hw/loongarch/boot.h                   |  10 +
 include/hw/loongarch/virt.h                   |  21 +-
 block/qcow2-bitmap.c                          |   2 +-
 hw/audio/virtio-snd.c                         |   2 +-
 hw/gpio/stm32l4x5_gpio.c                      |   6 +-
 hw/hppa/machine.c                             |  16 +-
 hw/i386/microvm.c                             |   2 +-
 hw/i386/pc.c                                  |  13 +-
 hw/i386/pc_piix.c                             |   6 +-
 hw/i386/pc_sysfw.c                            |  11 +-
 hw/i386/x86.c                                 |  19 +-
 hw/intc/loongarch_ipi.c                       |  19 +-
 hw/intc/loongson_ipi.c                        | 368 ++++++++++++++++++
 hw/loongarch/acpi-build.c                     |  89 +++--
 hw/loongarch/boot.c                           |  13 +-
 hw/loongarch/fw_cfg.c                         |   2 +-
 hw/loongarch/virt.c                           | 353 ++++++++---------
 hw/mips/loongson3_bootp.c                     |   1 +
 hw/mips/loongson3_virt.c                      |  20 +
 hw/ppc/ppc405_boards.c                        |   1 +
 hw/ppc/spapr_pci.c                            |   7 +-
 hw/remote/vfio-user-obj.c                     |   4 +-
 hw/rtc/ls7a_rtc.c                             |   2 +-
 hw/usb/dev-network.c                          |   8 -
 system/dma-helpers.c                          |   4 +-
 system/memory.c                               |   7 +
 system/physmem.c                              |  99 ++---
 target/i386/gdbstub.c                         |   2 +-
 target/ppc/mmu-hash64.c                       |   2 +-
 tests/qtest/nvme-test.c                       |   2 +-
 tests/qtest/ufs-test.c                        |   2 +-
 .gitlab-ci.d/buildtest.yml                    |   2 +-
 hw/i386/Kconfig                               |   2 +-
 hw/intc/Kconfig                               |   2 +-
 hw/intc/meson.build                           |   2 +-
 hw/intc/trace-events                          |   8 +-
 hw/loongarch/Kconfig                          |   2 +-
 44 files changed, 807 insertions(+), 401 deletions(-)
 rename include/hw/intc/{loongarch_ipi.h => loongson_ipi.h} (84%)
 create mode 100644 hw/intc/loongson_ipi.c