Messages in this thread | | | From | "Rafael J. Wysocki" <> | Date | Fri, 14 Jun 2019 15:27:26 +0200 | Subject | Re: [PATCH] ACPI: PM: Clear wake-up device GPEs before enabling |
| |
On Fri, Jun 14, 2019 at 12:45 PM Mika Westerberg <mika.westerberg@linux.intel.com> wrote: > > On Thu, Jun 13, 2019 at 10:24:41PM +0200, Rafael J. Wysocki wrote: > > This patch may cause events to be missed if the GPE. I guess what you reall mean is > > something like the patch below. > > > > This should allow the kernel to see the events generated before the GPEs are > > implicitly enabled, but it should clear them for the explicit users of acpi_enable_gpe(). > > > > Mika, what do you think? > > Looks good to me. I also tested this with two TBT systems (Skull Canyon > NUC and Dell XPS 9370) using ACPI hotplug and it did not cause any > problems if I boot the system with device connected.
Awesome, thanks!
I'll add a changelog to it and post a full version over the weekend or early next week.
| |