qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] Fix correct reset value for ARM CP15 c1 auxiliary control register
Date: Fri, 27 Feb 2009 23:45:03 +0100	[thread overview]
Message-ID: <761ea48b0902271445l1efa1396j66b53fd3cc4e2442@mail.gmail.com> (raw)
In-Reply-To: <20090227221233.GA422@kos.to>

On Fri, Feb 27, 2009 at 11:12 PM, Riku Voipio <riku.voipio@iki.fi> wrote:
> From: Juha Riihimäki <juha.riihimaki@nokia.com>
>
> According to ARM Cortex A8 Technical Reference Manual, the reset value for CP15 c1 auxiliary control
> register is 2, not zero (page 3.12).

Out of curiosity does that change anything for your tests?

Laurent

Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>

> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
> ---
>  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 3250fb8..883f8ee 100644
> --- a/target-arm/helper.c
> +++ b/target-arm/helper.c
> @@ -1694,7 +1694,7 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn)
>             case ARM_CPUID_ARM11MPCORE:
>                 return 1;
>             case ARM_CPUID_CORTEXA8:
> -                return 0;
> +                return 2;
>             default:
>                 goto bad_reg;
>             }
> --
> 1.6.1.3
>
>
> --
> "rm -rf" only sounds scary if you don't have backups
>
>
>

  reply	other threads:[~2009-02-27 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27 22:12 [Qemu-devel] [PATCH 1/3] Fix correct reset value for ARM CP15 c1 auxiliary control register Riku Voipio
2009-02-27 22:45 ` Laurent Desnogues [this message]
2009-03-07 22:10 ` Aurelien Jarno

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=761ea48b0902271445l1efa1396j66b53fd3cc4e2442@mail.gmail.com \
    --to=laurent.desnogues@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).