xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: About runtime service for Xen on ARM
       [not found] <55D5733B.4050804@huawei.com>
@ 2015-08-26  3:24 ` Julien Grall
  2015-08-26  7:04   ` Jan Beulich
  2015-08-26 13:27   ` Shannon Zhao
  0 siblings, 2 replies; 4+ messages in thread
From: Julien Grall @ 2015-08-26  3:24 UTC (permalink / raw)
  To: Shannon Zhao
  Cc: Ian Campbell, Stefano Stabellini, Daniel Kiper, Huangpeng (Peter),
	xen-devel@lists.xen.org, Shannon Zhao, Christoffer Dall



On 19/08/2015 23:27, Shannon Zhao wrote:
> Hi Julien,

Hi Shannon,

Sorry for the late answer I was on holiday. In general it's better to CC 
multiple person and the mailing list as we may not be able to answer in 
short time or not know the answer.

I've CCed the ML and few people which know better than me the status of 
EFI runtime.

> Do you know the status of runtime service for Xen on ARM? Does it
> support runtime service booting with DT? If not, is there a plan to
> support it?

There is no support of runtime EFI on ARM for now and I'm not aware of 
any short plan for this.

> In addition, if you know this, does it support runtime service for Xen
> on x86?

There is some on-going work for EFI runtime on x86. I'm not sure if it 
has been upstream (CCed Daniel for this).

Although, one of there is a fundamental difference between the UEFI boot 
on x86 and ARM. While the code is the same, on ARM the UEFI act as a 
stub and should not be able to communicate via exported variable with 
Xen (we clobber BSS just after the UEFI stub jump on the normal boot start).

I know that the ARM EFI stub is using some shared variable with Xen (I 
have in mind the memory banks see bootinfo). We are very lucky that it's 
working because the variable is living in initdata which somehow is part 
of text (I'm not sure why) and not BSS.
So we should either decide that the stub and xen should be able to 
communicate together or not.

I would be in favor of the former but I don't know what are the view of 
the others.

Regards,

-- 
Julien Grall

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About runtime service for Xen on ARM
  2015-08-26  3:24 ` About runtime service for Xen on ARM Julien Grall
@ 2015-08-26  7:04   ` Jan Beulich
  2015-09-01 13:24     ` Stefano Stabellini
  2015-08-26 13:27   ` Shannon Zhao
  1 sibling, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2015-08-26  7:04 UTC (permalink / raw)
  To: Julien Grall, Shannon Zhao
  Cc: Ian Campbell, Stefano Stabellini, Daniel Kiper, Huangpeng (Peter),
	xen-devel@lists.xen.org, Shannon Zhao, Christoffer Dall

>>> On 26.08.15 at 05:24, <julien.grall@citrix.com> wrote:
> On 19/08/2015 23:27, Shannon Zhao wrote:
>> In addition, if you know this, does it support runtime service for Xen
>> on x86?
> 
> There is some on-going work for EFI runtime on x86. I'm not sure if it 
> has been upstream (CCed Daniel for this).

Daniel is working on boot improvements; runtime services have been
available from the beginning of EFI support on the x86 side.

Jan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About runtime service for Xen on ARM
  2015-08-26  3:24 ` About runtime service for Xen on ARM Julien Grall
  2015-08-26  7:04   ` Jan Beulich
@ 2015-08-26 13:27   ` Shannon Zhao
  1 sibling, 0 replies; 4+ messages in thread
From: Shannon Zhao @ 2015-08-26 13:27 UTC (permalink / raw)
  To: Julien Grall, Shannon Zhao
  Cc: Ian Campbell, Stefano Stabellini, Daniel Kiper, Huangpeng (Peter),
	xen-devel@lists.xen.org, Christoffer Dall

Hi Julien,

Thanks for your reply. :)

On 2015/8/26 11:24, Julien Grall wrote:
>
>
> On 19/08/2015 23:27, Shannon Zhao wrote:
>> Hi Julien,
>
> Hi Shannon,
>
> Sorry for the late answer I was on holiday. In general it's better to CC
> multiple person and the mailing list as we may not be able to answer in
> short time or not know the answer.
>
> I've CCed the ML and few people which know better than me the status of
> EFI runtime.
>
>> Do you know the status of runtime service for Xen on ARM? Does it
>> support runtime service booting with DT? If not, is there a plan to
>> support it?
>
> There is no support of runtime EFI on ARM for now and I'm not aware of
> any short plan for this.
>
>> In addition, if you know this, does it support runtime service for Xen
>> on x86?
>
> There is some on-going work for EFI runtime on x86. I'm not sure if it
> has been upstream (CCed Daniel for this).
>
> Although, one of there is a fundamental difference between the UEFI boot
> on x86 and ARM. While the code is the same, on ARM the UEFI act as a
> stub and should not be able to communicate via exported variable with
> Xen (we clobber BSS just after the UEFI stub jump on the normal boot
> start).
>
> I know that the ARM EFI stub is using some shared variable with Xen (I
> have in mind the memory banks see bootinfo). We are very lucky that it's
> working because the variable is living in initdata which somehow is part
> of text (I'm not sure why) and not BSS.
> So we should either decide that the stub and xen should be able to
> communicate together or not.
>
> I would be in favor of the former but I don't know what are the view of
> the others.
>
> Regards,
>

-- 
Shannon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About runtime service for Xen on ARM
  2015-08-26  7:04   ` Jan Beulich
@ 2015-09-01 13:24     ` Stefano Stabellini
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2015-09-01 13:24 UTC (permalink / raw)
  To: Jan Beulich
  Cc: Ian Campbell, Stefano Stabellini, Daniel Kiper, Huangpeng (Peter),
	xen-devel@lists.xen.org, Julien Grall, Shannon Zhao, Shannon Zhao,
	Christoffer Dall

On Wed, 26 Aug 2015, Jan Beulich wrote:
> >>> On 26.08.15 at 05:24, <julien.grall@citrix.com> wrote:
> > On 19/08/2015 23:27, Shannon Zhao wrote:
> >> In addition, if you know this, does it support runtime service for Xen
> >> on x86?
> > 
> > There is some on-going work for EFI runtime on x86. I'm not sure if it 
> > has been upstream (CCed Daniel for this).
> 
> Daniel is working on boot improvements; runtime services have been
> available from the beginning of EFI support on the x86 side.

I am pretty sure that we can reuse the same code to do runtime services on arm too.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-01 13:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <55D5733B.4050804@huawei.com>
2015-08-26  3:24 ` About runtime service for Xen on ARM Julien Grall
2015-08-26  7:04   ` Jan Beulich
2015-09-01 13:24     ` Stefano Stabellini
2015-08-26 13:27   ` Shannon Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).