mbox

[PULL,v2,0/9] Hppa system mfdiag for v10 patches

Message ID 20250131092229.38232-1-deller@kernel.org (mailing list archive)
State New
Headers show

Pull-request

https://github.com/hdeller/qemu-hppa.git tags/hppa-system-mfdiag-for-v10-pull-request

Message

Helge Deller Jan. 31, 2025, 9:22 a.m. UTC
From: Helge Deller <deller@gmx.de>

The following changes since commit 7faf9d2f12ace4c1d04cf1a2b39334eef9a45f22:

  Merge tag 'pull-aspeed-20250127' of https://github.com/legoater/qemu into staging (2025-01-27 11:20:35 -0500)

are available in the Git repository at:

  https://github.com/hdeller/qemu-hppa.git tags/hppa-system-mfdiag-for-v10-pull-request

for you to fetch changes up to db34be329162cf6b06192703065e6c1010dbe3c5:

  target/hppa: Update SeaBIOS-hppa to version 18 (2025-01-31 10:05:42 +0100)

----------------------------------------------------------------
hppa 64-bit mfdiag improvements

The 64-bit hppa qemu emulation still fails to boot 64-bit HP-UX.
This patch series improves the emulation a lot, since it enables us to boot
64-bit HP-UX installer silently up until an endless loop where the machine
reports that it's up an running (it crashed before). This still needs further
analysis, but it's a big step forward.

Main changes to archieve this includes:
- Implementing diagnose registers (especially %dr2 for space-register hashing)
- a new SeaBIOS-hppa version 18, which includes those fixes and enhancements:
  - Fix IRT table entries to use slot number
  - Increase PCI alignment for memory bars to 64k
  - Fix PDC_CACHE/PDC_CACHE_RET_SPID return value
  - Allow up to 256 GB RAM on 64-bit machines

V2:
- fix linux-user build by adding missing "#ifndef CONFIG_USER_ONLY ... #endif"

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

Helge Deller (9):
  MAINTAINERS: Add myself as HPPA maintainer
  hppa: Sync contents of hppa_hardware.h header file with SeaBIOS-hppa
  disas/hppa: implement mfdiag/mtdiag disassembly
  target/hppa: Add CPU diagnose registers
  target/hppa: Drop diag_getshadowregs_pa2 and diag_putshadowregs_pa2
  target/hppa: Add instruction decoding for mfdiag and mtdiag
  target/hppa: 64-bit CPUs start with space register hashing enabled
  target/hppa: Implement space register hashing for 64-bit HP-UX
  target/hppa: Update SeaBIOS-hppa to version 18

 MAINTAINERS                 |   5 +++--
 disas/hppa.c                |  23 +++++++++++++++++++++--
 hw/hppa/hppa_hardware.h     |  36 ++++++++++++++++++++++++++++++++----
 pc-bios/hppa-firmware.img   | Bin 676760 -> 167644 bytes
 pc-bios/hppa-firmware64.img | Bin 763416 -> 206104 bytes
 roms/seabios-hppa           |   2 +-
 target/hppa/cpu.c           |  14 ++++++++++++--
 target/hppa/cpu.h           |  21 +++++++++------------
 target/hppa/helper.c        |  25 +++++++++++++++++++++++--
 target/hppa/helper.h        |   1 +
 target/hppa/insns.decode    |   6 ++++--
 target/hppa/int_helper.c    |  10 ++++++----
 target/hppa/machine.c       |   5 +++--
 target/hppa/mem_helper.c    |   5 +++++
 target/hppa/sys_helper.c    |   4 ++--
 target/hppa/translate.c     |  34 +++++++++++++++++++++++++++-------
 16 files changed, 149 insertions(+), 42 deletions(-)
 mode change 100644 => 100755 pc-bios/hppa-firmware.img
 mode change 100644 => 100755 pc-bios/hppa-firmware64.img