On Tue, Jun 20, 2017 at 5:53 AM, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote: > > -> v2: Added acpi_sleep=no_ec_wakeup to prevent EC events from waking up > the system from s2idle on systems where they do that by default. This seems a big hacky. Is there no way to simply make acpi_ec_suspend() smarter while going to sleep? Instead of just unconditionally disabling every EC GPE, can we see that "this gpe is the power botton" somehow? Disabling the power button event sounds fundamentally broken, and it sounds like Windows doesn't do that. I doubt Windows has some hacky whitelist. So I'd rather fix a deeper issue than have these kinds of hacks, if at all possible. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html