All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 024aa8732acb for 5.4.y
@ 2020-03-27 13:11 Rafael J. Wysocki
  2020-03-27 13:32 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-03-27 13:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Stable

Hi Greg at al,

Please the following commit:

commit 024aa8732acb7d2503eae43c3fe3504d0a8646d0
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Thu Nov 28 23:50:40 2019 +0100

    ACPI: PM: s2idle: Rework ACPI events synchronization

    Note that the EC GPE processing need not be synchronized in
    acpi_s2idle_wake() after invoking acpi_ec_dispatch_gpe(), because
    that function checks the GPE status and dispatches its handler if
    need be and the SCI action handler is not going to run anyway at
    that point.

    Moreover, it is better to drain all of the pending ACPI events
    before restoring the working-state configuration of GPEs in
    acpi_s2idle_restore(), because those events are likely to be related
    to system wakeup, in which case they will not be relevant going
    forward.

    Rework the code to take these observations into account.

    Tested-by: Kenneth R. Crudup <kenny@panix.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>


into 5.4.y as it is needed to fix an ACPI wakeup events
synchronization issue in suspend-to-idle.

Note that this commit was present in 5.5.0, so 5.4.y is the only
-stable series needing this fix.

Cheers,
Rafael

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

* Re: Commit 024aa8732acb for 5.4.y
  2020-03-27 13:11 Commit 024aa8732acb for 5.4.y Rafael J. Wysocki
@ 2020-03-27 13:32 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2020-03-27 13:32 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Stable

On Fri, Mar 27, 2020 at 02:11:46PM +0100, Rafael J. Wysocki wrote:
> Hi Greg at al,
> 
> Please the following commit:
> 
> commit 024aa8732acb7d2503eae43c3fe3504d0a8646d0
> Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Date:   Thu Nov 28 23:50:40 2019 +0100
> 
>     ACPI: PM: s2idle: Rework ACPI events synchronization
> 
>     Note that the EC GPE processing need not be synchronized in
>     acpi_s2idle_wake() after invoking acpi_ec_dispatch_gpe(), because
>     that function checks the GPE status and dispatches its handler if
>     need be and the SCI action handler is not going to run anyway at
>     that point.
> 
>     Moreover, it is better to drain all of the pending ACPI events
>     before restoring the working-state configuration of GPEs in
>     acpi_s2idle_restore(), because those events are likely to be related
>     to system wakeup, in which case they will not be relevant going
>     forward.
> 
>     Rework the code to take these observations into account.
> 
>     Tested-by: Kenneth R. Crudup <kenny@panix.com>
>     Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> 
> into 5.4.y as it is needed to fix an ACPI wakeup events
> synchronization issue in suspend-to-idle.
> 
> Note that this commit was present in 5.5.0, so 5.4.y is the only
> -stable series needing this fix.

Now queued up, thanks!

greg k-h

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

end of thread, other threads:[~2020-03-27 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 13:11 Commit 024aa8732acb for 5.4.y Rafael J. Wysocki
2020-03-27 13:32 ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.