Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311736
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services |
| Date | 2016-01-18 19:30 +0100 |
| Message-ID | <qSmIV-4vc-3@gated-at.bofh.it> (permalink) |
| References | <qR6wx-2kF-3@gated-at.bofh.it> <qR6wy-2kF-21@gated-at.bofh.it> <qSfR8-8gP-23@gated-at.bofh.it> <qSm6e-3ZZ-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jan 18, 2016 at 05:45:24PM +0000, Stefano Stabellini wrote:
> On Mon, 18 Jan 2016, Mark Rutland wrote:
> > On Fri, Jan 15, 2016 at 02:55:29PM +0800, Shannon Zhao wrote:
> > > +void __init xen_efi_runtime_setup(void)
> > > +{
> > > + efi.get_time = xen_efi_get_time;
> > > + efi.set_time = xen_efi_set_time;
> > > + efi.get_wakeup_time = xen_efi_get_wakeup_time;
> > > + efi.set_wakeup_time = xen_efi_set_wakeup_time;
> > > + efi.get_variable = xen_efi_get_variable;
> > > + efi.get_next_variable = xen_efi_get_next_variable;
> > > + efi.set_variable = xen_efi_set_variable;
> > > + efi.query_variable_info = xen_efi_query_variable_info;
> > > + efi.update_capsule = xen_efi_update_capsule;
> > > + efi.query_capsule_caps = xen_efi_query_capsule_caps;
> > > + efi.get_next_high_mono_count = xen_efi_get_next_high_mono_count;
> > > + efi.reset_system = NULL;
> > > +}
> >
> > How do capsules work in the absence of an EFI system reset?
>
> Actually I don't think that capsules are available in Xen on ARM64 yet,
> see "TODO - disabled until implemented on ARM" in
> xen/common/efi/runtime.c.
>
> FYI system reset is available, but it is provided via a different
> mechanism (HYPERVISOR_sched_op(xen_restart...)
Will that trigger Xen to do the right thing to trigger capsule updates
when implemented in Xen? Or do we need a xen_efi_reset_system?
Does that override PSCI?
In machine_restart we try efi_reboot first specifically to allow for
capsule updates. Similarly drivers/firmware/efi/reboot.c registers
efi_power_off late in order to override anything else, though that's
best-effort at present.
Thanks,
Mark.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Mark Rutland <mark.rutland@arm.com> - 2016-01-18 12:10 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2016-01-18 18:50 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Mark Rutland <mark.rutland@arm.com> - 2016-01-18 19:30 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2016-01-19 13:10 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Mark Rutland <mark.rutland@arm.com> - 2016-01-19 14:10 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Shannon Zhao <shannon.zhao@linaro.org> - 2016-01-19 14:40 +0100
Re: [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2016-01-19 15:30 +0100
csiph-web