[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150912113655.GG4530@olila.local.net-space.pl>
Date: Sat, 12 Sep 2015 13:36:55 +0200
From: Daniel Kiper <daniel.kiper@...cle.com>
To: Mark Rutland <mark.rutland@....com>
Cc: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-efi@...r.kernel.org" <linux-efi@...r.kernel.org>,
"Ian.Campbell@...rix.com" <Ian.Campbell@...rix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Stefano Stabellini <stefano.stabellini@...citrix.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"leif.lindholm@...aro.org" <leif.lindholm@...aro.org>,
"xen-devel@...ts.xen.org" <xen-devel@...ts.xen.org>,
"ard.biesheuvel@...aro.org" <ard.biesheuvel@...aro.org>,
"freebsd-arm@...ebsd.org" <freebsd-arm@...ebsd.org>,
"matt.fleming@...el.com" <matt.fleming@...el.com>,
"christoffer.dall@...aro.org" <christoffer.dall@...aro.org>,
"jbeulich@...e.com" <jbeulich@...e.com>,
Shannon Zhao <zhaoshenglong@...wei.com>,
"julien.grall@...rix.com" <julien.grall@...rix.com>,
"peter.huangpeng@...wei.com" <peter.huangpeng@...wei.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"shannon.zhao@...aro.org" <shannon.zhao@...aro.org>
Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub
parameters
On Fri, Sep 11, 2015 at 05:25:59PM +0100, Mark Rutland wrote:
> On Fri, Sep 11, 2015 at 01:46:43PM +0100, Daniel Kiper wrote:
> > On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote:
[...]
> > > What's troublesome with the boot services?
> > >
> > > What can't be simulated?
> >
> > How do you want to access bare metal EFI boot services from dom0 if they
> > were shutdown long time ago before loading dom0 image?
>
> I don't want to.
>
> I asked "What can't be simulated?" because I assumed everything
> necessary/mandatory could be simulated without needinng access to any
> real EFI boot services.
>
> As far as I can see all that's necessary is to provide a compatible
> interface.
Could you be more precise what do you need? Please enumerate. UEFI spec has
more than 2500 pages and I do not think that we need all stuff in dom0.
> > What do you need from EFI boot services in dom0?
>
> The ability to call ExitBootServices() and SetVirtualAddressMap() on a
> _virtual_ address map for _virtual_ services provided by the hypervisor.
I am confused. Why do you need that? Please remember, EFI is owned and
operated by Xen hypervisor. dom0 does not have direct access to EFI.
All stuff required in dom0 is provided via hypercalls. If you need an
extra data form EFI in dom0 please extend currently exiting API. Do
not emulate whole EFI if you need one or a few things from spec.
> A console so that I can log things early on.
IIUC, log from dom0. Please use machinery provided by Xen hypervisor.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists