All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@kernel.org>
To: qemu-devel@nongnu.org
Cc: Keith Monahan <keith@techtravels.org>,
	Helge Deller <deller@gmx.de>,
	Richard Henderson <richard.henderson@linaro.org>
Subject: [PULL 4/4] hw/hppa: preload a BTLB entry for the soft power button page
Date: Thu, 19 Nov 2026 23:47:44 +0100	[thread overview]
Message-ID: <20261119224744.31309-5-deller@kernel.org> (raw)
In-Reply-To: <20261119224744.31309-1-deller@kernel.org>

From: Keith Monahan <keith@techtravels.org>

HP-UX 9 reads the soft power button register from its clock interrupt
without mapping it.  The guest boots without
-fw_cfg opt/power-button-enable,string=0 and powers off cleanly on
system_powerdown.

Signed-off-by: Keith Monahan <keith@techtravels.org>
Signed-off-by: Helge Deller <deller@gmx.de>
---
 hw/hppa/machine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index f23936fc5b..3b83968f33 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -909,6 +909,7 @@ static void hppa_machine_reset(MachineState *ms, ResetType type)
         static const struct { uint32_t start, last; } io_btlb[] = {
             { 0xf0100000, 0xf01fffff },     /* LASI */
             { 0xfff80000, 0xffffffff },     /* central bus */
+            { 0xf00ff000, 0xf00fffff },     /* soft power button register */
         };
         CPUHPPAState *env = &cpu[0]->env;
 
-- 
2.54.0



  parent reply	other threads:[~2026-11-19 22:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 22:47 [PULL 0/4] Hp715 fixes patches Helge Deller
2026-11-19 22:47 ` [PULL 1/4] target/hppa: clear EIRR under the BQL and keep the interval timer matching Helge Deller
2026-11-19 22:47 ` [PULL 2/4] target/hppa: re-arm the interval timer after loadvm Helge Deller
2026-11-19 22:47 ` [PULL 3/4] Revert "target/hppa: Move emulated power button into CPU I/O region" Helge Deller
2026-11-19 22:47 ` Helge Deller [this message]
2026-11-20 19:43 ` [PULL 0/4] Hp715 fixes patches 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=20261119224744.31309-5-deller@kernel.org \
    --to=deller@kernel.org \
    --cc=deller@gmx.de \
    --cc=keith@techtravels.org \
    --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.