All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <Ian.Campbell@citrix.com>,
	Suriyan Ramasami <suriyan.r@gmail.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: xen:arm boot failures after commit 1c92a2aa*
Date: Wed, 24 Sep 2014 16:58:29 +0100	[thread overview]
Message-ID: <5422EA25.9080705@linaro.org> (raw)
In-Reply-To: <1411568192.28127.40.camel@kazak.uk.xensource.com>

Hi Ian,

On 09/24/2014 03:16 PM, Ian Campbell wrote:
> On Wed, 2014-09-24 at 05:36 -0700, Suriyan Ramasami wrote:
> Thanks,
> 
>> (XEN)   VTCR_EL2: 80003518
> 
> THis has changed from 0x80003558 before this change (sorry, this was in
> your original report too and I failed to spot it).
> 
> The missing bit changes the starting level of the PT from L1 to L2,
> which ain't gonna work very well ;-).
> 
> I can't for the life of me figure out how/why this works on arndale, but
> it does...

It also works on Midway (without the patch below). I guess it depends on
the position of the RAM in the p2m.

> Anyway, does this fix it for you?
> 
> 8<------------------
> 
> From ada27d3a56ba89513721e24abe4a4bebee2ab9cf Mon Sep 17 00:00:00 2001
> From: Ian Campbell <ian.campbell@citrix.com>
> Date: Wed, 24 Sep 2014 15:13:28 +0100
> Subject: [PATCH] xen: arm: correct VTCR setting on arm32.
> 
> 1c92a2aaf8c6 "xen: arm: support for up to 48-bit IPA addressing on
> arm64" inadvertently changes the VTCR setting for 32-bit from
> 0x80003558 to 0x80003518, changing the SL0 setting from 0x1 (p2m
> starts at L1) to 0x0 (p2m starts at L2).
> 
> For some (inexplicable) reason this doesn't cause any issue on
> Arndale but it does on the OdroidXU.
> 
> Reported-by: Suriyan Ramasami <suriyan.r@gmail.com>
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

Reviewed-by: Julien Grall <julien.grall@linaro.org>

Regards,

-- 
Julien Grall

  reply	other threads:[~2014-09-24 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 12:17 xen:arm boot failures after commit 1c92a2aa* Suriyan Ramasami
2014-09-24 12:26 ` Ian Campbell
2014-09-24 12:36   ` Suriyan Ramasami
2014-09-24 14:16     ` Ian Campbell
2014-09-24 15:58       ` Julien Grall [this message]
2014-09-24 16:11         ` Suriyan Ramasami
2014-09-25  9:06           ` Ian Campbell
2014-09-25  9:08         ` Ian Campbell

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=5422EA25.9080705@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=Ian.Campbell@citrix.com \
    --cc=suriyan.r@gmail.com \
    --cc=xen-devel@lists.xen.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.