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


Groups > linux.kernel > #1617597

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

From Julien Grall <julien.grall@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: xen: Implement EFI reset_system callback
Date 2017-04-06 10:40 +0200
Message-ID <ttb7s-66T-13@gated-at.bofh.it> (permalink)
References <tsXHc-66T-11@gated-at.bofh.it> <tsZfX-6W2-13@gated-at.bofh.it> <tt95E-4Qc-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Juergen,

On 06/04/17 07:23, Juergen Gross wrote:
> On 05/04/17 21:49, Boris Ostrovsky wrote:
>> On 04/05/2017 02:14 PM, Julien Grall wrote:
>>> The x86 code has theoritically a similar issue, altought EFI does not
>>> seem to be the preferred method. I have left it unimplemented on x86 and
>>> CCed Linux Xen x86 maintainers to know their view here.
>>
>> (+Daniel)
>>
>> This could be a problem for x86 as well, at least theoretically.
>> xen_machine_power_off() may call pm_power_off(), which is efi.reset_system.
>>
>> So I think we should have a similar routine there.
>
> +1
>
> I don't see any problem with such a routine added, in contrast to
> potential "reboots" instead of power off without it.
>
> So I think this dummy xen_efi_reset_system() should be added to
> drivers/xen/efi.c instead.

I will resend the patch during day with xen_efi_reset_system moved to 
common code and implement the x86 counterpart (thought, I will not be 
able to test it).

>
>>> This should also probably be fixed in stable tree.
>
> Yes.

I will CC stable.

Thank you,

-- 
Julien Grall

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


Thread

[PATCH] arm64: xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-05 20:20 +0200
  Re: [PATCH] arm64: xen: Implement EFI reset_system callback Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-04-05 22:00 +0200
    Re: [PATCH] arm64: xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-04-06 08:30 +0200
      Re: [PATCH] arm64: xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-04-06 10:40 +0200
      Re: [PATCH] arm64: xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-06 10:40 +0200
        Re: [PATCH] arm64: xen: Implement EFI reset_system callback Daniel Kiper <daniel.kiper@oracle.com> - 2017-04-06 16:30 +0200
          Re: [PATCH] arm64: xen: Implement EFI reset_system callback Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-04-06 16:40 +0200
          Re: [PATCH] arm64: xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-06 16:40 +0200
          Re: [PATCH] arm64: xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-04-06 16:40 +0200
            Re: [PATCH] arm64: xen: Implement EFI reset_system callback Daniel Kiper <daniel.kiper@oracle.com> - 2017-04-06 17:30 +0200
              Re: [PATCH] arm64: xen: Implement EFI reset_system callback Julien Grall <julien.grall@arm.com> - 2017-04-06 17:50 +0200
                Re: [PATCH] arm64: xen: Implement EFI reset_system callback Mark Rutland <mark.rutland@arm.com> - 2017-04-06 18:00 +0200
                Re: [PATCH] arm64: xen: Implement EFI reset_system callback Daniel Kiper <daniel.kiper@oracle.com> - 2017-04-06 18:10 +0200
                Re: [PATCH] arm64: xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-04-06 18:30 +0200
                Re: [PATCH] arm64: xen: Implement EFI reset_system callback Daniel Kiper <daniel.kiper@oracle.com> - 2017-04-06 18:50 +0200
                Re: [PATCH] arm64: xen: Implement EFI reset_system callback Juergen Gross <jgross@suse.com> - 2017-04-06 19:50 +0200
  Re: [PATCH] arm64: xen: Implement EFI reset_system callback Stefano Stabellini <sstabellini@kernel.org> - 2017-04-05 23:30 +0200

csiph-web