[PULL 00/10] Hppa fixes 8.2 patches

deller@kernel.org posted 10 patches 10 months ago
Failed in applying to current master (apply log)
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>
hw/hppa/machine.c         |  28 +++++++++++++++++-----------
hw/pci-host/astro.c       |  26 +++++++++++++++++++++++---
pc-bios/hppa-firmware.img | Bin 681388 -> 163324 bytes
roms/seabios-hppa         |   2 +-
target/hppa/cpu.c         |   6 +-----
target/hppa/cpu.h         |   1 +
target/hppa/mem_helper.c  |  35 +++++++++++++++++++++--------------
target/hppa/op_helper.c   |   6 +-----
8 files changed, 65 insertions(+), 39 deletions(-)
[PULL 00/10] Hppa fixes 8.2 patches
Posted by deller@kernel.org 10 months ago
From: Helge Deller <deller@gmx.de>

The following changes since commit 7425b6277f12e82952cede1f531bfc689bf77fb1:

  Merge tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-12-27 05:15:32 -0500)

are available in the Git repository at:

  https://github.com/hdeller/qemu-hppa.git tags/hppa-fixes-8.2-pull-request

for you to fetch changes up to 4bda8224fa89ab28958644c5f1a4117886fe8418:

  target/hppa: Update SeaBIOS-hppa to version 15 (2024-01-13 06:49:18 +0100)

----------------------------------------------------------------
target/hppa qemu v8.2 regression fixes

There were some regressions introduced with Qemu v8.2 on the hppa/hppa64
target, e.g.:

- 32-bit HP-UX crashes on B160L (32-bit) machine
- NetBSD boot failure due to power button in page zero
- NetBSD FPU detection failure
- OpenBSD 7.4 boot failure

This patch series fixes those known regressions and additionally:

- allows usage of the max. 3840MB of memory (instead of 3GB),
- adds support for the qemu --nodefaults option (to debug other devices)

This patch set will not fix those known (non-regression) bugs:
- HP-UX and NetBSD still fail to boot on the new 64-bit C3700 machine
- Linux kernel will still fail to boot on C3700 as long as kernel modules are used.

Changes v2->v3:
- Added comment about Figures H-10 and H-11 in the parisc2.0 spec
  in patch which calculate PDC address translation if PSW.W=0
- Introduce and use hppa_set_ior_and_isr()
- Use drive_get_max_bus(IF_SCSI), nd_table[] and serial_hd() to check
  if default devices should be created
- Added Tested-by and Reviewed-by tags

Changes v1->v2:
- fix OpenBSD boot with SeaBIOS v15 instead of v14
- commit message enhancements suggested by BALATON Zoltan
- use uint64_t for ram_max in patch #1

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

Helge Deller (10):
  hw/hppa/machine: Allow up to 3840 MB total memory
  hw/hppa/machine: Disable default devices with --nodefaults option
  hw/pci-host/astro: Add missing astro & elroy registers for NetBSD
  target/hppa: Fix PDC address translation on PA2.0 with PSW.W=0
  hw/hppa: Move software power button address back into PDC
  target/hppa: Avoid accessing %gr0 when raising exception
  target/hppa: Export function hppa_set_ior_and_isr()
  target/hppa: Fix IOR and ISR on unaligned access trap
  target/hppa: Fix IOR and ISR on error in probe
  target/hppa: Update SeaBIOS-hppa to version 15

 hw/hppa/machine.c         |  28 +++++++++++++++++-----------
 hw/pci-host/astro.c       |  26 +++++++++++++++++++++++---
 pc-bios/hppa-firmware.img | Bin 681388 -> 163324 bytes
 roms/seabios-hppa         |   2 +-
 target/hppa/cpu.c         |   6 +-----
 target/hppa/cpu.h         |   1 +
 target/hppa/mem_helper.c  |  35 +++++++++++++++++++++--------------
 target/hppa/op_helper.c   |   6 +-----
 8 files changed, 65 insertions(+), 39 deletions(-)

-- 
2.43.0
Re: [PULL 00/10] Hppa fixes 8.2 patches
Posted by Peter Maydell 10 months ago
On Sat, 13 Jan 2024 at 05:59, <deller@kernel.org> wrote:
>
> From: Helge Deller <deller@gmx.de>
>
> The following changes since commit 7425b6277f12e82952cede1f531bfc689bf77fb1:
>
>   Merge tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-12-27 05:15:32 -0500)
>
> are available in the Git repository at:
>
>   https://github.com/hdeller/qemu-hppa.git tags/hppa-fixes-8.2-pull-request
>
> for you to fetch changes up to 4bda8224fa89ab28958644c5f1a4117886fe8418:
>
>   target/hppa: Update SeaBIOS-hppa to version 15 (2024-01-13 06:49:18 +0100)
>
> ----------------------------------------------------------------
> target/hppa qemu v8.2 regression fixes
>
> There were some regressions introduced with Qemu v8.2 on the hppa/hppa64
> target, e.g.:
>
> - 32-bit HP-UX crashes on B160L (32-bit) machine
> - NetBSD boot failure due to power button in page zero
> - NetBSD FPU detection failure
> - OpenBSD 7.4 boot failure
>
> This patch series fixes those known regressions and additionally:
>
> - allows usage of the max. 3840MB of memory (instead of 3GB),
> - adds support for the qemu --nodefaults option (to debug other devices)
>
> This patch set will not fix those known (non-regression) bugs:
> - HP-UX and NetBSD still fail to boot on the new 64-bit C3700 machine
> - Linux kernel will still fail to boot on C3700 as long as kernel modules are used.
>
> Changes v2->v3:
> - Added comment about Figures H-10 and H-11 in the parisc2.0 spec
>   in patch which calculate PDC address translation if PSW.W=0
> - Introduce and use hppa_set_ior_and_isr()
> - Use drive_get_max_bus(IF_SCSI), nd_table[] and serial_hd() to check
>   if default devices should be created
> - Added Tested-by and Reviewed-by tags
>
> Changes v1->v2:
> - fix OpenBSD boot with SeaBIOS v15 instead of v14
> - commit message enhancements suggested by BALATON Zoltan
> - use uint64_t for ram_max in patch #1
>



Applied, thanks.

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

-- PMM