From: peter.crosthwaite@xilinx.com
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH v1 1/1] target-arm: helper.c: RAZ REVIDR cp register
Date: Tue, 23 Apr 2013 12:08:01 +1000 [thread overview]
Message-ID: <a1a99e3d3e17686fe0540a0e18ece49b62110275.1366682426.git.peter.crosthwaite@xilinx.com> (raw)
In-Reply-To: <cover.1366682426.git.peter.crosthwaite@xilinx.com>
From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Guests should be able to read REVIDR without suffering an abort. Just
RAZ the REVIDR register.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
---
target-arm/helper.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index fd055e8..e655c74 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1187,6 +1187,10 @@ void register_cp_regs_for_features(ARMCPU *cpu)
{ .name = "TLBTR",
.cp = 15, .crn = 0, .crm = 0, .opc1 = 0, .opc2 = 3,
.access = PL1_R, .type = ARM_CP_CONST, .resetvalue = 0 },
+ /* RAZ the REVIDR register */
+ { .name = "REVIDR",
+ .cp = 15, .crn = 0, .crm = 0, .opc1 = 0, .opc2 = 6,
+ .access = PL1_R, .type = ARM_CP_CONST, .resetvalue = 0 },
/* crn = 0 op1 = 0 crm = 3..7 : currently unassigned; we RAZ. */
{ .name = "DUMMY",
.cp = 15, .crn = 0, .crm = 3, .opc1 = 0, .opc2 = CP_ANY,
--
1.7.0.4
next parent reply other threads:[~2013-04-23 2:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1366682426.git.peter.crosthwaite@xilinx.com>
2013-04-23 2:08 ` peter.crosthwaite [this message]
2013-04-23 10:55 ` [Qemu-devel] [PATCH v1 1/1] target-arm: helper.c: RAZ REVIDR cp register 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=a1a99e3d3e17686fe0540a0e18ece49b62110275.1366682426.git.peter.crosthwaite@xilinx.com \
--to=peter.crosthwaite@xilinx.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).