Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629877

Re: [PATCH 3/3 v2] xen: Implement EFI reset_system callback

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3 v2] xen: Implement EFI reset_system callback
Date 2017-04-24 20:30 +0200
Message-ID <tzQUj-21B-29@gated-at.bofh.it> (permalink)
References <tzQrf-1BV-3@gated-at.bofh.it> <tzQrg-1BV-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/24/2017 01:58 PM, Julien Grall wrote:
> When rebooting DOM0 with ACPI on ARM64, the kernel is crashing with the stack
> trace [1].
>
> This is happening because when EFI runtimes are enabled, the reset code
> (see machine_restart) will first try to use EFI restart method.
>
> However, the EFI restart code is expecting the reset_system callback to
> be always set. This is not the case for Xen and will lead to crash.
>
> The EFI restart helper is used in multiple places and some of them don't
> not have fallback (see machine_power_off). So implement reset_system
> callback as a call to xen_reboot when using EFI Xen.

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3 v2] xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-24 20:00 +0200
  [PATCH 3/3 v2] xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-24 20:00 +0200
    Re: [PATCH 3/3 v2] xen: Implement EFI reset_system callback Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-04-24 20:30 +0200
    Re: [PATCH 3/3 v2] xen: Implement EFI reset_system callback Stefano Stabellini <sstabellini@kernel.org> - 2017-04-24 21:40 +0200
  Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-05-02 11:20 +0200
    Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-05-02 11:40 +0200
      Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-05-02 13:00 +0200
  Re: [PATCH 0/3 v2] xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-05-02 12:20 +0200

csiph-web