Re: [PATCH] ACPI / sleep: Drain outstanding events after disabling multiple GPEs

2014-11-14 Thread Rafael J. Wysocki
On Saturday, November 15, 2014 02:30:51 AM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After multiple GPEs have been disabled at the low level in one go, > like when acpi_disable_all_gpes() is called, we should always drain > all of the outstanding events from them, or the ACPICA's

[PATCH] ACPI / sleep: Drain outstanding events after disabling multiple GPEs

2014-11-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After multiple GPEs have been disabled at the low level in one go, like when acpi_disable_all_gpes() is called, we should always drain all of the outstanding events from them, or the ACPICA's GPE handling code may re-enable one of them as a result of a race condition.

[PATCH] ACPI / sleep: Drain outstanding events after disabling multiple GPEs

2014-11-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After multiple GPEs have been disabled at the low level in one go, like when acpi_disable_all_gpes() is called, we should always drain all of the outstanding events from them, or the ACPICA's GPE handling code may re-enable one of them as a

Re: [PATCH] ACPI / sleep: Drain outstanding events after disabling multiple GPEs

2014-11-14 Thread Rafael J. Wysocki
On Saturday, November 15, 2014 02:30:51 AM Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After multiple GPEs have been disabled at the low level in one go, like when acpi_disable_all_gpes() is called, we should always drain all of the outstanding events from