From: Ian Campbell <ijc@hellion.org.uk>
To: Julien Grall <julien.grall@linaro.org>
Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org
Subject: Re: [PATCH] xen: arm: correct off-by-one error in consider_modules
Date: Mon, 22 Dec 2014 11:39:21 +0000 [thread overview]
Message-ID: <1419248361.26985.156.camel@hellion.org.uk> (raw)
In-Reply-To: <5497F849.3050806@linaro.org>
On Mon, 2014-12-22 at 11:54 +0100, Julien Grall wrote:
> Hi Ian,
>
> On 21/12/2014 12:18, Ian Campbell wrote:
> > By iterating up to <= mi->nr_mods we are running off the end of the boot
> > modules, but more importantly it causes us to then skip the first FDT reserved
> > region, meaning we might clobber it.
>
> Oops. Good catch!
>
> OOI, how did you find it?
U-boot on Jetson was locating the PSCI handling code at the top of RAM
and reserving it in the DT, but Xen was still relocating itself over it,
causing secondary CPU bringup to hang the board.
(This is an experimental u-boot, so it doesn't actually enforce the
security of the PSCI region yet, if it did I'd have expected a fault on
relocation instead of a hang on CPU up).
Ian.
next prev parent reply other threads:[~2014-12-22 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-21 11:18 [PATCH] xen: arm: correct off-by-one error in consider_modules Ian Campbell
2014-12-22 10:54 ` Julien Grall
2014-12-22 11:39 ` Ian Campbell [this message]
2015-01-05 16:17 ` Konrad Rzeszutek Wilk
2015-01-06 11:44 ` Ian Campbell
2015-01-20 14:40 ` 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=1419248361.26985.156.camel@hellion.org.uk \
--to=ijc@hellion.org.uk \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.org \
--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.