mbox series

[for-8.2,00/11] target/hppa: PA2.0 fixes

Message ID 20231111013212.229673-1-richard.henderson@linaro.org (mailing list archive)
Headers show
Series target/hppa: PA2.0 fixes | expand

Message

Richard Henderson Nov. 11, 2023, 1:32 a.m. UTC
Fixes to the recent hppa64 cpu support to enable booting
the 64-bit linux kernel to user-space.


r~


Helge Deller (6):
  target/hppa: Update to SeaBIOS-hppa version 11
  hw/hppa: Require at least SeaBIOS-hppa version 11
  target/hppa: Mask reserved PSW bits in expand_sm_imm
  target/hppa: Fix calculation of CR_IIASQ back register
  target/hppa: Fix possible overflow in TLB size calculation
  hw/pci-host/astro: Fix boot for C3700 machine

Richard Henderson (5):
  target/hppa: Use only low 2 immediate bits for PROBEI
  target/hppa: Use PRIV_P_TO_MMU_IDX in helper_probe
  target/hppa: Introduce MMU_IDX_MMU_DISABLED
  target/hppa: Replace MMU_PHYS_IDX with MMU_ABS_IDX, MMU_ABS_W_IDX
  target/hppa: Reduce TARGET_PHYS_ADDR_SPACE_BITS to 44

 target/hppa/cpu-param.h   |   2 +-
 target/hppa/cpu.h         |  25 +++++-----
 hw/hppa/machine.c         |   2 +-
 hw/pci-host/astro.c       |  73 +++++++++++++---------------
 target/hppa/int_helper.c  |   2 +-
 target/hppa/mem_helper.c  |  97 ++++++++++++++++++++++----------------
 target/hppa/op_helper.c   |   5 +-
 target/hppa/translate.c   |  41 +++++++++-------
 hw/pci-host/meson.build   |   2 +-
 pc-bios/hppa-firmware.img | Bin 755480 -> 681132 bytes
 roms/seabios-hppa         |   2 +-
 11 files changed, 134 insertions(+), 117 deletions(-)

Comments

Philippe Mathieu-Daudé Nov. 12, 2023, 5:05 p.m. UTC | #1
Hi Helge,

On 11/11/23 02:32, Richard Henderson wrote:
> From: Helge Deller <deller@gmx.de>
> 
> New SEABIOS_HPPA_VERSION 11
> (current master branch)
> 
> Fixes and enhancements (mostly to enable 64-bit Linux kernel):
> ....
> temporary commit

What information should go here?

> Signed-off-by: Helge Deller <deller@gmx.de>
> ---
>   pc-bios/hppa-firmware.img | Bin 755480 -> 681132 bytes
>   roms/seabios-hppa         |   2 +-
>   2 files changed, 1 insertion(+), 1 deletion(-)
Helge Deller Nov. 12, 2023, 6:10 p.m. UTC | #2
On 11/12/23 18:05, Philippe Mathieu-Daudé wrote:
> Hi Helge,
>
> On 11/11/23 02:32, Richard Henderson wrote:
>> From: Helge Deller <deller@gmx.de>
>>
>> New SEABIOS_HPPA_VERSION 11
>> (current master branch)
>>
>> Fixes and enhancements (mostly to enable 64-bit Linux kernel):
>> ....
>> temporary commit
>
> What information should go here?

Heh... yes... this was a commit during development and not planned to be committed as is.
See here (or below) for the "replacement" commit:
https://github.com/hdeller/qemu-hppa/commit/e5271cd0f3b114f4ef518409f1934efd0a77d0cf

Either Richard will include it, or I'll send it for review seperately:

target/hppa: Update to SeaBIOS-hppa from version 10 to 12

SEABIOS_HPPA_VERSION 12 contains those fixes and enhancements:
     - Reduce debug level
     - Update README file for PA-RISC
     - Fix debug name of CPU_HPA_xx if xx >= 10
     - Disable device indexing

SEABIOS_HPPA_VERSION 11 contains those fixes and enhancements
(mostly to enable support for 64-bit Linux kernel):
     - Fixed 64-bit CPU detection via "mfctl,w" instruction
     - Implement PDC_PSW for 64-bit CPUs
     - Added PAT PDC functions:
         - PDC_PAT_CELL
         - PDC_PAT_CHASSIS_LOG
         - PDC_PAT_PD_GET_ADDR_MAP
         - PDC_PAT_CPU
     - Fix return value of PDC_CACHE_RET_SPID space-id bits
     - Introduce new default software IDs for the machines
     - Fix CPU and FPU model numbers
     - Fix 64-bit SMP rendezvous
     - Fix Linux 64-bit kernel crash in STI due to usage of unsigned
       32-bit "next_font" pointer in sti header files
     - Fix graphics output to LASI artist card on PA2.0 machines
     - More USB OHCI endianess fixes
     - Fixes which make ODE run on B160L
     - Fixes which make ODE detect Astro Runway port and CPUs
     - Implement "firmware unlocking" via PDC_MODEL/PDC_MODEL_CAPABILITIES call
     - Add subfunction 2 for PDC_MODEL_VERSIONS