mbox

[PULL,00/28] Misc HW & UI patches for 2024-08-06

Message ID 20240806125157.91185-1-philmd@linaro.org (mailing list archive)
State New, archived
Headers show

Pull-request

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

Message

Philippe Mathieu-Daudé Aug. 6, 2024, 12:51 p.m. UTC
Hi,

Bigger PR than I expected for RC2, but unfortunately
the LoongArch Virt is broken so requires these patches
(it took me long to figure all the issues with them).

The following changes since commit e7207a9971dd41618b407030902b0b2256deb664:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-08-06 08:02:34 +1000)

are available in the Git repository at:

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

for you to fetch changes up to e006f0186bff4c66d3dd7a34e08fdae81d606480:

  docs/specs/pci-ids: Fix markup (2024-08-06 10:22:52 +0200)

----------------------------------------------------------------
Misc HW & UI patches

- Replace Loongson IPI with LoongArch IPI on LoongArch Virt machine (Bibo)
- SD card: Do not abort when reading DAT lines on invalid cmd state (Phil)
- SDHCI: Reset @data_count index on invalid ADMA transfers (Phil)
- Don't decrement PFlash counter below 0 (Peter)
- Explicit a 8bit truncate on IDE ATAPI (Peter)
- Silent Coverity warning in ISA FDC (Peter)
- Remove dead code in PCI IDE bmdma_prepare_buf (Peter)
- Improve OpenGL and related display error messages (Peter)
- Set PCI base address register write mask on GC64120 host bridge (Phil)
- List PCIe Root Port and PCIe-to-PCI bridge in QEMU PCI IDs list (George)

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

Bibo Mao (14):
  hw/intc/loongson_ipi: Rename LoongsonIPI -> LoongsonIPIState
  hw/intc/loongson_ipi: Extract loongson_ipi_common_realize()
  hw/intc/loongson_ipi: Add TYPE_LOONGSON_IPI_COMMON stub
  hw/intc/loongson_ipi: Move common definitions to loongson_ipi_common.h
  hw/intc/loongson_ipi: Move IPICore::mmio_mem to LoongsonIPIState
  hw/intc/loongson_ipi: Move IPICore structure to loongson_ipi_common.h
  hw/intc/loongson_ipi: Pass LoongsonIPICommonState to send_ipi_data()
  hw/intc/loongson_ipi: Add LoongsonIPICommonClass::get_iocsr_as handler
  hw/intc/loongson_ipi: Add LoongsonIPICommonClass::cpu_by_arch_id
    handler
  hw/intc/loongson_ipi: Expose loongson_ipi_core_read/write helpers
  hw/intc/loongson_ipi: Move common code to loongson_ipi_common.c
  hw/intc/loongarch_ipi: Add loongarch IPI support
  hw/loongarch/virt: Replace Loongson IPI with LoongArch IPI
  hw/intc/loongson_ipi: Restrict to MIPS

George Matsumura (2):
  docs/specs/pci-ids: Add missing devices
  docs/specs/pci-ids: Fix markup

Peter Maydell (7):
  hw/block/pflash_cfi01: Don't decrement pfl->counter below 0
  hw/ide/atapi: Be explicit that assigning to s->lcyl truncates
  hw/block/fdc-isa: Assert that isa_fdc_get_drive_max_chs() found
    something
  hw/ide/pci: Remove dead code from bmdma_prepare_buf()
  hw/display/virtio-gpu: Improve "opengl is not available" error message
  system/vl.c: Expand OpenGL related errors
  ui/console: Note in '-display help' that some backends support
    suboptions

Philippe Mathieu-Daudé (5):
  hw/sd/sdcard: Explicit dummy byte value
  hw/sd/sdcard: Do not abort when reading DAT lines on invalid cmd state
  hw/sd/sdhci: Reset @data_count index on invalid ADMA transfers
  hw/pci-host/gt64120: Set PCI base address register write mask
  hw/pci-host/gt64120: Reset config registers during RESET phase

 MAINTAINERS                           |   6 +-
 docs/specs/pci-ids.rst                |   8 +-
 include/hw/intc/loongarch_ipi.h       |  25 ++
 include/hw/intc/loongson_ipi.h        |  51 +---
 include/hw/intc/loongson_ipi_common.h |  74 ++++++
 include/hw/loongarch/virt.h           |   1 -
 hw/block/fdc-isa.c                    |   2 +
 hw/block/pflash_cfi01.c               |   1 +
 hw/display/virtio-gpu-gl.c            |   8 +-
 hw/ide/atapi.c                        |   2 +-
 hw/ide/pci.c                          |   7 +-
 hw/intc/loongarch_ipi.c               |  68 +++++
 hw/intc/loongson_ipi.c                | 338 +++----------------------
 hw/intc/loongson_ipi_common.c         | 347 ++++++++++++++++++++++++++
 hw/loongarch/virt.c                   |   4 +-
 hw/pci-host/gt64120.c                 |  23 +-
 hw/sd/sd.c                            |  16 +-
 hw/sd/sdhci.c                         |   1 +
 system/vl.c                           |   5 +-
 ui/console.c                          |   5 +
 hw/intc/Kconfig                       |   8 +
 hw/intc/meson.build                   |   2 +
 hw/loongarch/Kconfig                  |   2 +-
 23 files changed, 634 insertions(+), 370 deletions(-)
 create mode 100644 include/hw/intc/loongarch_ipi.h
 create mode 100644 include/hw/intc/loongson_ipi_common.h
 create mode 100644 hw/intc/loongarch_ipi.c
 create mode 100644 hw/intc/loongson_ipi_common.c

Comments

Richard Henderson Aug. 6, 2024, 9:08 p.m. UTC | #1
On 8/6/24 22:51, Philippe Mathieu-Daudé wrote:
> Hi,
> 
> Bigger PR than I expected for RC2, but unfortunately
> the LoongArch Virt is broken so requires these patches
> (it took me long to figure all the issues with them).
> 
> The following changes since commit e7207a9971dd41618b407030902b0b2256deb664:
> 
>    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2024-08-06 08:02:34 +1000)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/hw-misc-20240806
> 
> for you to fetch changes up to e006f0186bff4c66d3dd7a34e08fdae81d606480:
> 
>    docs/specs/pci-ids: Fix markup (2024-08-06 10:22:52 +0200)
> 
> ----------------------------------------------------------------
> Misc HW & UI patches
> 
> - Replace Loongson IPI with LoongArch IPI on LoongArch Virt machine (Bibo)
> - SD card: Do not abort when reading DAT lines on invalid cmd state (Phil)
> - SDHCI: Reset @data_count index on invalid ADMA transfers (Phil)
> - Don't decrement PFlash counter below 0 (Peter)
> - Explicit a 8bit truncate on IDE ATAPI (Peter)
> - Silent Coverity warning in ISA FDC (Peter)
> - Remove dead code in PCI IDE bmdma_prepare_buf (Peter)
> - Improve OpenGL and related display error messages (Peter)
> - Set PCI base address register write mask on GC64120 host bridge (Phil)
> - List PCIe Root Port and PCIe-to-PCI bridge in QEMU PCI IDs list (George)


Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.

r~