parisc: Place the CPU at HPA 0xfffa0000 and fw_cfg at 0xfffb0000

This is an RFC.  It changes an address which firmware and QEMU must
agree on, and it only works together with the QEMU patch "[RFC]
hw/hppa: Place the CPU at HPA 0xfffa0000 and fw_cfg at 0xfffb0000".
The rest of this series does not depend on it.

On real Astro based machines the (first) CPU is at HPA 0xfffa0000:
c3700.h has "Allegro W2 [32] at 0xfffffffffffa0000", a400.h
"Crescendo DC- 440 [160] at 0xfffffffffffa0000" and a500.h
"Crescendo 650 W2 [160] at 0xfffffffffffa0000".  QEMU and SeaBIOS put
the CPU one page higher at 0xfffb0000 and use 0xfffa0000 for the
fw_cfg interface, which does not exist on real hardware.  Swap both,
so that the OS sees the CPU at its real address.

Please note:

- CPU_HPA is shared with the 32-bit machines, so the CPU of the B160L
  and the 715 moves as well.  On the B160L this also changes the CPU
  module number, which is derived from the HPA, from 48 to 32.  The
  real B160L has its CPU at 0xfff10000 [62] (see b160l.h), so neither
  value is the real one there.  If you prefer, the swap can be limited
  to the 64-bit machines.

- A mismatch between firmware and QEMU is not caught by the
  /etc/firmware-min-version handshake: the monarch CPU is detected in
  head.S by comparing %r5 with CPU_HPA, long before the version check
  runs, so a mismatched pair hangs silently with all CPUs in the idle
  loop.  Both sides therefore need to be updated together.

- The version is raised to 26, so that QEMU can require it with
  MIN_SEABIOS_HPPA_VERSION.  As explained above, this documents the
  dependency more than it protects against a mismatch.

Signed-off-by: Mr Lalley <mr_lalley@yahoo.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2 files changed