All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric DeVolder <eric_devolder@yahoo.com>
To: qemu-devel@nongnu.org
Cc: Eric DeVolder <eric_devolder@yahoo.com>
Subject: [PATCH 2/2] target/ppc: Raise a machine check on a failed bus access on 6xx
Date: Tue, 10 Nov 2026 10:44:43 -0600	[thread overview]
Message-ID: <20261110164443.488899-2-eric_devolder@yahoo.com> (raw)
In-Reply-To: <20261110164443.488899-1-eric_devolder@yahoo.com>

For 6XX, enable ppc_cpu_do_transaction_failed() to take the machine
check.

Signed-off-by: Eric DeVolder <eric_devolder@yahoo.com>
---
 target/ppc/tcg-excp_helper.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/ppc/tcg-excp_helper.c b/target/ppc/tcg-excp_helper.c
index b04f07a637..29fd1d371d 100644
--- a/target/ppc/tcg-excp_helper.c
+++ b/target/ppc/tcg-excp_helper.c
@@ -297,6 +297,12 @@ void ppc_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr,
         }
         break;
 #endif
+    case POWERPC_EXCP_6xx:
+        /*
+         * A bus error (TEA) takes a machine check, if MSR[ME] is set. The
+         * 603 and 604 have no DAR or DSISR update for it.
+         */
+        break;
     default:
         /*
          * TODO: Check behaviour for other CPUs, for now do nothing.
-- 
2.53.0



      reply	other threads:[~2026-11-10 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261110164443.488899-1-eric_devolder.ref@yahoo.com>
2026-11-10 16:44 ` [PATCH 1/2] target/ppc: Let mtmsr set MSR[ME] on 32-bit PowerPC Eric DeVolder
2026-11-10 16:44   ` Eric DeVolder [this message]

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=20261110164443.488899-2-eric_devolder@yahoo.com \
    --to=eric_devolder@yahoo.com \
    --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.