From: Helge Deller <deller@kernel.org>
To: qemu-devel@nongnu.org
Cc: Helge Deller <deller@gmx.de>, Brad Smith <brad@comstyle.com>,
"Kirill A . Korinsky" <kirill@korins.ky>
Subject: [PATCH v2 1/3] hw/hppa: fix OpenBSD boot on B160L emulation
Date: Tue, 24 Nov 2026 22:06:37 +0100 [thread overview]
Message-ID: <20261124210639.133084-2-deller@kernel.org> (raw)
In-Reply-To: <20261124210639.133084-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
next prev parent reply other threads:[~2026-11-24 21:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:06 [PATCH v2 0/3] target/hppa patches Helge Deller
2026-11-24 21:06 ` Helge Deller [this message]
2026-11-24 21:06 ` [PATCH v2 2/3] tests/functional/hppa: add OpenBSD CD-ROM boot test for qemu-system-hppa Helge Deller
2026-11-24 21:06 ` [PATCH v2 3/3] hw/hppa: adjust CPU HPA on 715 to avoid broadcast address Helge Deller
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=20261124210639.133084-2-deller@kernel.org \
--to=deller@kernel.org \
--cc=brad@comstyle.com \
--cc=deller@gmx.de \
--cc=kirill@korins.ky \
--cc=qemu-devel@nongnu.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.