From: Ian Campbell <Ian.Campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Julien Grall <julien.grall@linaro.org>,
"xen.org" <Ian.Jackson@eu.citrix.com>,
xen-devel@lists.xensource.com
Subject: Re: [linux-linus test] 30356: regressions - FAIL
Date: Wed, 24 Sep 2014 11:15:20 +0100 [thread overview]
Message-ID: <1411553720.1781.182.camel@kazak.uk.xensource.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1409241056100.22344@kaball.uk.xensource.com>
On Wed, 2014-09-24 at 11:02 +0100, Stefano Stabellini wrote:
> On Wed, 24 Sep 2014, Ian Campbell wrote:
> > On Wed, 2014-09-24 at 00:35 +0100, Julien Grall wrote:
> > >
> > > On 23/09/2014 19:40, Ian Campbell wrote:
> > > > On Tue, 2014-09-23 at 18:31 +0100, Julien Grall wrote:
> > > >> I guess we will have to select LPAE when XEN is enabled, right? If
> > > >> it's the case that would mean the user won't be able to compile a
> > > >> Linux guest with short page table and Xen.
> > > >>
> > > >> Any though?
> > > >
> > > > Things must work without in guest LPAE too, so something somewhere else
> > > > will need fixing.
> > > >
> > > > Apart from restricting the user in an unwanted way requiring LPAE will
> > > > mean that practically no distro installer will work in a Xen guest.
> > >
> > > Xen does an identity mapping for the host physical address into DOM0
> > > for the grant mapping. DOM0 will use a scratch page (see commit 340720b
> > > "xen/arm: reimplement xen_dma_unmap_page & friends") and map and this
> > > physical address.
> > >
> > > That means on platform with an address space higher than 32 bits, which
> > > is the case on Midway, we have to handle 64 bits physical address in DOM0.
> > >
> > > With the current implementation in Linux we can only use LPAE when a
> > > guest is started. The distro installer will still be able to work with
> > > short page table.
> > >
> > > The drawback is we are requiring LPAE from DOM0 and a different kernel
> > > in the guest if the user doesn't want to use LPAE.
> > >
> > > As the code is already pushed in Linux 3.17, I don't find a simpler
> > > solution to fix Linux boot without requiring LPAE.
> >
> > We will have to try harder then, requiring LPAE simply isn't acceptable
> > IMHO.
>
> I agree but the solution is not simple.
>
> With the current scheme we would need to find a way to map pages at
> 64bit physical addresses in Dom0 without CONFIG_ARM_LPAE. Not sure if
> that is possible.
I'm pretty certain it isn't...
> Otherwise we would need to come up with an entirely new scheme.
I fear this may end up being the case.
I've got a cold towel and a whiteboard waiting for you in the office...
Ian.
next prev parent reply other threads:[~2014-09-24 10:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 11:30 [linux-linus test] 30356: regressions - FAIL xen.org
2014-09-23 11:45 ` Ian Campbell
2014-09-23 15:20 ` Julien Grall
2014-09-23 17:31 ` Julien Grall
2014-09-23 18:40 ` Ian Campbell
2014-09-23 23:35 ` Julien Grall
2014-09-24 8:24 ` Ian Campbell
2014-09-24 10:02 ` Stefano Stabellini
2014-09-24 10:15 ` Ian Campbell [this message]
2014-10-30 23:18 ` Julien Grall
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=1411553720.1781.182.camel@kazak.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.