qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: Blue Swirl <blauwirbel@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 1/7] target-arm: make VMSAv7 remapping and AP dependent on V6K
Date: Wed, 27 Jul 2011 14:26:13 +0100	[thread overview]
Message-ID: <1311773179-23139-2-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1311773179-23139-1-git-send-email-peter.maydell@linaro.org>

From: Jamie Iles <jamie@jamieiles.com>

The VMSAv7 remapping and access permissions were introduced in ARMv6K
and not ARMv7.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 target-arm/helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target-arm/helper.c b/target-arm/helper.c
index ae4f334..4b03197 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -948,7 +948,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type,
   case 6:
       return prot_ro;
   case 7:
-      if (!arm_feature (env, ARM_FEATURE_V7))
+      if (!arm_feature (env, ARM_FEATURE_V6K))
           return 0;
       return prot_ro;
   default:
-- 
1.7.1

  reply	other threads:[~2011-07-27 13:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27 13:26 [Qemu-devel] [PULL 0/7] ARM patch queue (for master) Peter Maydell
2011-07-27 13:26 ` Peter Maydell [this message]
2011-07-27 13:26 ` [Qemu-devel] [PATCH 2/7] target-arm: support for ARM1176JZF-s cores Peter Maydell
2011-07-27 13:26 ` [Qemu-devel] [PATCH 3/7] target-arm: Mark 1136r1 as a v6K core Peter Maydell
2011-07-27 13:26 ` [Qemu-devel] [PATCH 4/7] target-arm: Support v6 barriers in linux-user mode Peter Maydell
2011-07-27 13:26 ` [Qemu-devel] [PATCH 5/7] target-arm: Handle UNDEF and UNPREDICTABLE cases for VLDM, VSTM Peter Maydell
2011-07-27 13:26 ` [Qemu-devel] [PATCH 6/7] target-arm: UNDEF on a VCVTT/VCVTB UNPREDICTABLE to avoid TCG assert Peter Maydell
2011-07-27 13:26 ` [Qemu-devel] [PATCH 7/7] target-arm: Don't print debug messages for various UNDEF cases Peter Maydell
2011-08-08  9:54 ` [Qemu-devel] [PULL 0/7] ARM patch queue (for master) Peter Maydell
2011-08-09 17:30   ` Edgar E. Iglesias

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=1311773179-23139-2-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.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 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).