RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Chen, Yu C
ernel Mailing List; linux- > p...@vger.kernel.org; Len Brown; Thomas Gleixner; Ingo Molnar; H. Peter > Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Tue, 08 Mar, at 04:25:30PM, Chen, Yu C wrote: > > Hum.

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Chen, Yu C
ernel Mailing List; linux- > p...@vger.kernel.org; Len Brown; Thomas Gleixner; Ingo Molnar; H. Peter > Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Tue, 08 Mar, at 04:25:30PM, Chen, Yu C wrote: > > Hum.

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Chen, Yu C
.kernel.org; > Len Brown; Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; > Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Tuesday, March 08, 2016 04:25:30 PM Chen, Yu C wrote: > > > -

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Chen, Yu C
.kernel.org; > Len Brown; Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; > Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Tuesday, March 08, 2016 04:25:30 PM Chen, Yu C wrote: > > > -

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Matt Fleming
On Tue, 08 Mar, at 04:25:30PM, Chen, Yu C wrote: > Hum. unfortunately it is not guaranteed to run after all of the other code, > because other components who register pm_power_off may be built as modules, > and > we can not predict/control the sequence registration. So this patch may > break

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-09 Thread Matt Fleming
On Tue, 08 Mar, at 04:25:30PM, Chen, Yu C wrote: > Hum. unfortunately it is not guaranteed to run after all of the other code, > because other components who register pm_power_off may be built as modules, > and > we can not predict/control the sequence registration. So this patch may > break

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Rafael J. Wysocki
..@vger.kernel.org; Linux Kernel Mailing List; > > > > linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; Matt > > > > Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > > > > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff iss

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Rafael J. Wysocki
..@vger.kernel.org; Linux Kernel Mailing List; > > > > linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; Matt > > > > Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > > > > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff iss

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Chen, Yu C
e...@vger.kernel.org; Linux Kernel Mailing List; linux...@vger.kernel.org; > Len Brown; Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; > Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Monday, March 07, 20

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Chen, Yu C
e...@vger.kernel.org; Linux Kernel Mailing List; linux...@vger.kernel.org; > Len Brown; Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; > Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Monday, March 07, 20

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Rafael J. Wysocki
9:19 PM > > To: Chen, Yu C > > Cc: ACPI Devel Maling List; x...@kernel.org; linux-...@vger.kernel.org; > > Linux > > Kernel Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui >

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Rafael J. Wysocki
9:19 PM > > To: Chen, Yu C > > Cc: ACPI Devel Maling List; x...@kernel.org; linux-...@vger.kernel.org; > > Linux > > Kernel Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui >

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Chen, Yu C
.kernel.org; Linux > Kernel Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > [cut] >

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Chen, Yu C
.kernel.org; Linux > Kernel Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > [cut] >

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Chen, Yu C
l Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Mon, Mar 7, 2016 at 3:50 AM,

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Chen, Yu C
l Mailing List; linux...@vger.kernel.org; Rafael J. Wysocki; Len Brown; > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full > platforms without _S5 > > On Mon, Mar 7, 2016 at 3:50 AM, Chen

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Rafael J. Wysocki
On Mon, Mar 7, 2016 at 3:50 AM, Chen Yu wrote: > The problem is Linux registers pm_power_off = efi_power_off > only if we are in hardware reduced mode. Actually, what we also > want is to do this when ACPI S5 is simply not supported on > non-legacy platforms. That should

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Rafael J. Wysocki
On Mon, Mar 7, 2016 at 3:50 AM, Chen Yu wrote: > The problem is Linux registers pm_power_off = efi_power_off > only if we are in hardware reduced mode. Actually, what we also > want is to do this when ACPI S5 is simply not supported on > non-legacy platforms. That should handle both the HW

[PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-06 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported on non-legacy platforms. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to

[PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-06 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported on non-legacy platforms. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to