mbox

[PULL,00/56] Misc HW patches for 2024-02-15

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

Pull-request

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

Message

Philippe Mathieu-Daudé Feb. 15, 2024, 5:56 p.m. UTC
The following changes since commit 5767815218efd3cbfd409505ed824d5f356044ae:

  Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-02-14 15:45:52 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 9a4b35f57eefbfc6977ed47d1f19d839e9e4784d:

  hw/ide/ich9: Use AHCIPCIState typedef (2024-02-15 16:58:47 +0100)

----------------------------------------------------------------
Misc HW patch queue

- Remove unused MIPS SAAR* registers (Phil)
- Remove warning when testing the TC58128 NAND EEPROM (Peter)
- KConfig cleanups around ISA SuperI/O and MIPS (Paolo)
- QDev API uses sanitization (Philippe)
- Split AHCI model as PCI / SysBus (Philippe)
- Add SMP support to SPARC Leon3 board (Clément)

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

Bernhard Beschow (1):
  hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board

Clément Chigot (9):
  hw/sparc/grlib: split out the headers for each peripherals
  hw/intc/grlib_irqmp: add ncpus property
  hw/intc/grlib_irqmp: implements the multiprocessor status register
  hw/intc/grlib_irqmp: implements multicore irq
  target/sparc: implement asr17 feature for smp
  hw/sparc/leon3: remove SP initialization
  hw/sparc/leon3: implement multiprocessor
  hw/sparc/leon3: check cpu_id in the tiny bootloader
  MAINTAINERS: replace Fabien by myself as Leon3 maintainer

Paolo Bonzini (5):
  hw/mips: remove unnecessary "select PTIMER"
  hw/isa: clean up Kconfig selections for ISA_SUPERIO
  hw/isa: fix ISA_SUPERIO dependencies
  hw/isa: specify instance_size in isa_superio_type_info
  hw/isa: extract FDC37M81X to a separate file

Peter Maydell (1):
  hw/block/tc58128: Don't emit deprecation warning under qtest

Philippe Mathieu-Daudé (39):
  target/mips: Use qemu_irq typedef for CPUMIPSState::irq member
  target/mips: Remove helpers accessing SAAR registers
  hw/misc/mips: Reduce itc_reconfigure() scope
  target/mips: Remove MIPSITUState::itu field
  target/mips: Remove CPUMIPSState::saarp field
  hw/misc/mips_itu: Remove MIPSITUState::cpu0 field
  hw/misc/mips_itu: Remove MIPSITUState::saar field
  target/mips: Remove unused mips_def_t::SAARP field
  target/mips: Remove CPUMIPSState::CP0_SAAR[2] field
  target/mips: Remove helpers accessing SAARI register
  target/mips: Remove CPUMIPSState::CP0_SAARI field
  target/mips: Remove the unused DisasContext::saar field
  hw/rx/rx62n: Reduce inclusion of 'qemu/units.h'
  hw/rx/rx62n: Only call qdev_get_gpio_in() when necessary
  hw/i386/q35: Realize LPC PCI function before accessing it
  hw/ppc/prep: Realize ISA bridge before accessing it
  hw/misc/macio: Realize IDE controller before accessing it
  hw/sh4/r2d: Realize IDE controller before accessing it
  hw/dma: Pass parent object to i8257_dma_init()
  hw/sparc/sun4m: Realize DMA controller before accessing it
  hw/sparc64/cpu: Initialize GPIO before realizing CPU devices
  target/sparc: Provide hint about CPUSPARCState::irq_manager member
  hw/sparc/leon3: Remove duplicate code
  hw/sparc/leon3: Remove unused 'env' argument of write_bootloader()
  hw/sparc/leon3: Have write_bootloader() take a void pointer argument
  hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in()
  hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu()
  hw/sparc/leon3: Initialize GPIO before realizing CPU devices
  hw/i386/q35: Simplify pc_q35_init() since PCI is always enabled
  hw/i386/q35: Use DEVICE() cast macro with PCIDevice object
  hw/ide/ahci: Expose AHCIPCIState structure
  hw/ide/ahci: Rename AHCI PCI function as 'pdev'
  hw/ide/ahci: Inline ahci_get_num_ports()
  hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs()
  hw/ide/ahci: Convert AHCIState::ports to unsigned
  hw/ide/ahci: Do not pass 'ports' argument to ahci_realize()
  hw/ide/ahci: Remove SysbusAHCIState::num_ports field
  hw/ide/ahci: Move SysBus definitions to 'ahci-sysbus.h'
  hw/ide/ich9: Use AHCIPCIState typedef

Pierrick Bouvier (1):
  MAINTAINERS: Add myself as reviewer for TCG Plugins

 MAINTAINERS                                   |   4 +-
 hw/ide/ahci_internal.h                        |  10 +-
 include/hw/arm/allwinner-a10.h                |   2 +-
 include/hw/arm/allwinner-r40.h                |   2 +-
 include/hw/arm/xlnx-zynqmp.h                  |   2 +-
 include/hw/char/grlib_uart.h                  |  32 ++++
 include/hw/dma/i8257.h                        |   2 +-
 include/hw/ide/ahci-pci.h                     |  22 +++
 include/hw/ide/ahci-sysbus.h                  |  35 +++++
 include/hw/ide/ahci.h                         |  38 +----
 .../hw/{sparc/grlib.h => intc/grlib_irqmp.h}  |  18 +--
 include/hw/misc/mips_itu.h                    |   6 -
 include/hw/rx/rx62n.h                         |   2 -
 include/hw/timer/grlib_gptimer.h              |  32 ++++
 target/mips/cpu.h                             |   6 +-
 target/mips/internal.h                        |   1 -
 target/mips/tcg/translate.h                   |   1 -
 target/sparc/cpu.h                            |   5 +-
 target/sparc/helper.h                         |   1 +
 target/mips/tcg/sysemu_helper.h.inc           |   6 -
 hw/arm/highbank.c                             |   2 +-
 hw/arm/sbsa-ref.c                             |   1 +
 hw/block/tc58128.c                            |   4 +-
 hw/char/grlib_apbuart.c                       |   6 +-
 hw/dma/i82374.c                               |   2 +-
 hw/dma/i8257.c                                |   4 +-
 hw/i386/pc_piix.c                             |   2 +-
 hw/i386/pc_q35.c                              |  57 +++----
 hw/ide/ahci-allwinner.c                       |   3 +-
 hw/ide/ahci.c                                 |  29 ++--
 hw/ide/ich.c                                  |  10 +-
 hw/intc/grlib_irqmp.c                         | 110 ++++++++-----
 hw/isa/fdc37m81x-superio.c                    |  32 ++++
 hw/isa/isa-superio.c                          |  18 ---
 hw/isa/lpc_ich9.c                             |   2 +-
 hw/isa/piix.c                                 |   2 +-
 hw/isa/smc37c669-superio.c                    |   1 -
 hw/isa/vt82c686.c                             |   2 +-
 hw/mips/boston.c                              |  14 +-
 hw/mips/cps.c                                 |   3 -
 hw/mips/jazz.c                                |   2 +-
 hw/mips/mipssim.c                             |   7 +-
 hw/misc/macio/macio.c                         |   9 +-
 hw/misc/mips_itu.c                            |  35 +----
 hw/ppc/prep.c                                 |   2 +-
 hw/rx/rx-gdbsim.c                             |   1 +
 hw/rx/rx62n.c                                 |  17 ++-
 hw/sh4/r2d.c                                  |   2 +-
 hw/sparc/leon3.c                              | 144 ++++++++++++------
 hw/sparc/sun4m.c                              |   7 +-
 hw/sparc64/sparc64.c                          |   4 +-
 hw/timer/grlib_gptimer.c                      |   6 +-
 target/mips/sysemu/machine.c                  |   4 +-
 target/mips/tcg/sysemu/cp0_helper.c           |  63 --------
 target/mips/tcg/translate.c                   |  62 --------
 target/sparc/helper.c                         |  16 ++
 target/sparc/translate.c                      |  13 +-
 hw/isa/Kconfig                                |  20 +--
 hw/isa/meson.build                            |   1 +
 hw/mips/Kconfig                               |   6 +-
 60 files changed, 491 insertions(+), 461 deletions(-)
 create mode 100644 include/hw/char/grlib_uart.h
 create mode 100644 include/hw/ide/ahci-pci.h
 create mode 100644 include/hw/ide/ahci-sysbus.h
 rename include/hw/{sparc/grlib.h => intc/grlib_irqmp.h} (83%)
 create mode 100644 include/hw/timer/grlib_gptimer.h
 create mode 100644 hw/isa/fdc37m81x-superio.c

Comments

Peter Maydell Feb. 16, 2024, 1:31 p.m. UTC | #1
On Thu, 15 Feb 2024 at 17:58, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> The following changes since commit 5767815218efd3cbfd409505ed824d5f356044ae:
>
>   Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-02-14 15:45:52 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/philmd/qemu.git tags/hw-misc-20240215
>
> for you to fetch changes up to 9a4b35f57eefbfc6977ed47d1f19d839e9e4784d:
>
>   hw/ide/ich9: Use AHCIPCIState typedef (2024-02-15 16:58:47 +0100)
>
> ----------------------------------------------------------------
> Misc HW patch queue
>
> - Remove unused MIPS SAAR* registers (Phil)
> - Remove warning when testing the TC58128 NAND EEPROM (Peter)
> - KConfig cleanups around ISA SuperI/O and MIPS (Paolo)
> - QDev API uses sanitization (Philippe)
> - Split AHCI model as PCI / SysBus (Philippe)
> - Add SMP support to SPARC Leon3 board (Clément)
>


Applied, thanks.

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

-- PMM