From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
To: peter.maydell@linaro.org
Cc: qemu-devel@nongnu.org, joserz@linux.vnet.ibm.com,
bharata@linux.vnet.ibm.com, nikunj@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH 2/3] risu_ppc64le: zero the xer register
Date: Thu, 9 Feb 2017 11:28:50 +0530 [thread overview]
Message-ID: <1486619931-1086-3-git-send-email-nikunj@linux.vnet.ibm.com> (raw)
In-Reply-To: <1486619931-1086-1-git-send-email-nikunj@linux.vnet.ibm.com>
Observed failures running with P9 mambo model, and figured out that the
xer wasn't initialized.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
---
risugen_ppc64.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/risugen_ppc64.pm b/risugen_ppc64.pm
index 0532e3a..03f9317 100644
--- a/risugen_ppc64.pm
+++ b/risugen_ppc64.pm
@@ -168,6 +168,9 @@ sub clear_vr_registers()
insn32(0x3ac10020);
# li r23, 0
write_mov_ri(23, 0);
+ # zero the xer register
+ # mtxer r23
+ insn32(0x7ee103a6);
# std r23, 0(r22)
insn32(0xfaf60000);
--
2.7.4
next prev parent reply other threads:[~2017-02-09 5:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 5:58 [Qemu-devel] [PATCH 0/3] Risu PPC improvements Nikunj A Dadhania
2017-02-09 5:58 ` [Qemu-devel] [PATCH 1/3] risu_ppc64le: set r23 as the comment says Nikunj A Dadhania
2017-02-09 5:58 ` Nikunj A Dadhania [this message]
2017-02-09 5:58 ` [Qemu-devel] [PATCH 3/3] risu_ppc64le: remove aarch64 related comments Nikunj A Dadhania
2017-02-10 14:09 ` [Qemu-devel] [PATCH 0/3] Risu PPC improvements Peter Maydell
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=1486619931-1086-3-git-send-email-nikunj@linux.vnet.ibm.com \
--to=nikunj@linux.vnet.ibm.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=joserz@linux.vnet.ibm.com \
--cc=peter.maydell@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).