All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Julien Grall <julien.grall@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	"edk2-devel@lists.01.org" <edk2-devel@ml01.01.org>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Julien Grall <julien.grall@gmail.com>,
	Heyi Guo <heyi.guo@linaro.org>
Subject: Re: Unable to use EFI firmware in Xen ARM guest after 41f8901
Date: Fri, 2 Oct 2015 14:07:03 +0100	[thread overview]
Message-ID: <1443791223.11707.99.camel@citrix.com> (raw)
In-Reply-To: <CAKv+Gu_CJeQE-stGfqoaGa0DWoF_=f6XbsNx+UZbbNhCjA8XYw@mail.gmail.com>

On Fri, 2015-10-02 at 14:48 +0200, Ard Biesheuvel wrote:
> On 2 October 2015 at 14:43, Ian Campbell <ian.campbell@citrix.com> wrote:
> > On Fri, 2015-10-02 at 14:18 +0200, Ard Biesheuvel wrote:
> > > Is there any reasonable upper bound to the domU PA space
> > >  other than what is communicated in the ID registers?
> > 
> > You mean the PASize bits/register? In which case that is it as far as
> > the
> > guest should be is concerned, yes.
> > 
> 
> OK.
> 
> As discussed on IRC (#xenarm), the rationale of this approach is that
> Xen's stage2 attributes will ultimately override device mappings, so
> 1:1 mapping the whole address space cacheable is actually a reasonable
> thing to do. And in fact, 4 KB of translation tables for each 512 GB
> of address space is probably not such a big deal after all.

Well, I'm not going to commit to that always being the case, since its not
part of the guest ABI, but given that OVMF would normally be supplied as
part of the host rather than the guest if we ever break/change that
assumption we do at least have the opportunity to get ovmf fixed/updated
around the same time.

IOW I suppose this is tolerable.

>  So I am
> inclined to leave things are they are if the proposed patch works.

Sure.

Ian.

  parent reply	other threads:[~2015-10-02 13:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 15:58 Unable to use EFI firmware in Xen ARM guest after 41f8901 Julien Grall
2015-10-01 16:05 ` Ard Biesheuvel
     [not found] ` <CAKv+Gu8qQiO3W22u8i4bFfGdy-vuQozA6L8Kb0YC2Jv-Gihftg@mail.gmail.com>
2015-10-01 16:32   ` Julien Grall
2015-10-02 12:18     ` Ard Biesheuvel
     [not found]     ` <CAKv+Gu-cPMdpcKvY0cR=vJOsE5B7CcqNMB=7xVHKo41FkLSVVw@mail.gmail.com>
2015-10-02 12:43       ` Ian Campbell
2015-10-02 12:48         ` Ard Biesheuvel
     [not found]         ` <CAKv+Gu_CJeQE-stGfqoaGa0DWoF_=f6XbsNx+UZbbNhCjA8XYw@mail.gmail.com>
2015-10-02 13:07           ` Ian Campbell [this message]
2015-10-02 13:07       ` Stefano Stabellini

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=1443791223.11707.99.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=edk2-devel@ml01.01.org \
    --cc=heyi.guo@linaro.org \
    --cc=julien.grall@citrix.com \
    --cc=julien.grall@gmail.com \
    --cc=leif.lindholm@linaro.org \
    --cc=stefano.stabellini@eu.citrix.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.