All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: xen-devel@lists.xensource.com,
	"xen.org" <Ian.Jackson@eu.citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [linux-linus test] 30356: regressions - FAIL
Date: Wed, 24 Sep 2014 09:24:09 +0100	[thread overview]
Message-ID: <1411547049.1781.119.camel@kazak.uk.xensource.com> (raw)
In-Reply-To: <542203A9.3090702@linaro.org>

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.

Ian.

  reply	other threads:[~2014-09-24  8:24 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 [this message]
2014-09-24 10:02             ` Stefano Stabellini
2014-09-24 10:15               ` Ian Campbell
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=1411547049.1781.119.camel@kazak.uk.xensource.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=julien.grall@linaro.org \
    --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.