All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@kernel.org>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
	Helge Deller <deller@gmx.de>,
	"Kirill A . Korinsky" <kirill@korins.ky>
Subject: [PULL for 11.2 1/3] hw/hppa: fix OpenBSD boot on B160L emulation
Date: Wed, 25 Nov 2026 03:58:20 +0100	[thread overview]
Message-ID: <20261125025822.10813-2-deller@kernel.org> (raw)
In-Reply-To: <20261125025822.10813-1-deller@kernel.org>

From: Helge Deller <deller@gmx.de>

OpenBSD 8.0 hangs on boot since commit 98c37479afc7 ("target/hppa: Map
CPUs at same addresses as on physical machines"):

"Advanced audio (ext.)" at gsc0 (type a sv 7b mod 3 hv d4) offset 4000 not configured
"Core Centronics" at gsc0 (type a sv 74 mod 3 hv d0) offset 2000 not configured
dino0 at phantomas0 offset ff80000: can't map space
panic: trap: uvm_fault(0xaf8560, 0, 0, 2): 14
syncing disks... done
dump to dev 301 not possible
rebooting...SeaBIOS wants SYSTEM RESET.

On a physical machine, the boot CPU HPA is 0xfffbe000, so let's use
0xfffa0000 instead of the current (invalid) HPA of 0xfff10000 to allow
space for multiple CPUs.

Reported-by: Kirill A. Korinsky <kirill@korins.ky>
Signed-off-by: Helge Deller <deller@gmx.de>
---
 hw/hppa/machine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 3b83968f33..8dd9023058 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -716,7 +716,7 @@ static void machine_HP_B160L_init(MachineState *machine)
     PCIBus *pci_bus;
 
     /* Create CPUs and RAM.  */
-    translate = machine_HP_common_init_cpus(machine, 0xfff10000);
+    translate = machine_HP_common_init_cpus(machine, 0xfffa0000);
 
     if (hppa_is_pa20(&cpu[0]->env)) {
         error_report("The HP B160L workstation requires a 32-bit "
-- 
2.54.0



  reply	other threads:[~2026-11-25  2:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  2:58 [PULL for 11.2 0/3] hppa target fixes Helge Deller
2026-11-25  2:58 ` Helge Deller [this message]
2026-11-25  2:58 ` [PULL for 11.2 2/3] tests/functional/hppa: add OpenBSD CD-ROM boot test for qemu-system-hppa Helge Deller
2026-11-25  2:58 ` [PULL for 11.2 3/3] hw/hppa: adjust CPU HPA on 715 to avoid broadcast address Helge Deller
2026-11-25 20:55 ` [PULL for 11.2 0/3] hppa target fixes Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125025822.10813-2-deller@kernel.org \
    --to=deller@kernel.org \
    --cc=deller@gmx.de \
    --cc=kirill@korins.ky \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.