Hans de Goede
aa23ca3d98
gpiolib: acpi: Add honor_wakeup module-option + quirk mechanism
...
On some laptops enabling wakeup on the GPIO interrupts used for ACPI _AEI
event handling causes spurious wakeups.
This commit adds a new honor_wakeup option, defaulting to true (our current
behavior), which can be used to disable wakeup on troublesome hardware
to avoid these spurious wakeups.
This is a workaround for an architectural problem with s2idle under Linux
where we do not have any mechanism to immediately go back to sleep after
wakeup events, other then for embedded-controller events using the standard
ACPI EC interface, for details see:
https://lore.kernel.org/linux-acpi/61450f9b-cbc6-0c09-8b3a-aff6bf9a0b3c@redhat.com/
One series of laptops which is not able to suspend without this workaround
is the HP x2 10 Cherry Trail models, this commit adds a DMI based quirk
which makes sets honor_wakeup to false on these models.
Cc: stable@vger.kernel.org
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200105160357.97154-3-hdegoede@redhat.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-01-07 12:58:15 +01:00
..
2019-12-04 19:44:12 -08:00
2019-11-07 09:27:48 +01:00
2019-12-04 19:44:12 -08:00
2019-12-04 19:44:12 -08:00
2019-11-07 09:27:48 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:29:52 -07:00
2019-07-03 10:24:12 +02:00
2018-01-13 22:22:49 +01:00
2019-11-07 09:27:48 +01:00
2019-07-09 09:07:00 -07:00
2019-08-05 11:42:29 +02:00
2019-12-11 10:07:22 +01:00
2019-11-07 09:27:48 +01:00
2019-10-09 18:20:19 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-12-01 17:56:50 -08:00
2019-08-05 13:25:34 +02:00
2019-05-24 17:36:45 +02:00
2019-08-15 09:44:19 +02:00
2019-05-30 11:26:32 -07:00
2019-09-11 14:50:02 +01:00
2019-02-08 15:55:40 +02:00
2019-07-15 11:03:02 -03:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-07-15 11:52:34 +02:00
2019-11-07 09:27:48 +01:00
2019-07-31 00:57:21 +02:00
2019-10-01 11:50:40 +02:00
2019-11-13 13:47:48 +01:00
2019-09-04 10:59:10 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-08-23 12:02:34 +02:00
2018-05-16 14:35:24 +02:00
2019-12-04 19:44:12 -08:00
2019-08-05 13:25:34 +02:00
2019-02-09 11:33:37 +01:00
2019-08-15 09:57:29 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-10-15 01:18:51 +02:00
2019-07-15 21:10:39 -07:00
2019-06-05 17:37:00 +02:00
2019-09-03 16:04:19 +02:00
2019-07-09 09:07:00 -07:00
2019-11-07 09:27:48 +01:00
2019-04-05 00:04:26 +07:00
2019-10-31 15:03:10 -07:00
2019-11-07 09:27:48 +01:00
2019-06-05 17:37:10 +02:00
2019-11-07 09:27:48 +01:00
2019-04-05 00:04:26 +07:00
2019-08-15 21:33:07 +02:00
2019-11-21 15:01:57 +01:00
2019-11-07 09:27:48 +01:00
2019-06-19 17:09:55 +02:00
2019-07-09 09:07:00 -07:00
2019-12-04 19:44:13 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-12-01 17:56:50 -08:00
2019-07-29 00:03:52 +02:00
2019-07-31 00:57:21 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:29:19 -07:00
2019-11-03 19:54:53 +01:00
2019-11-13 15:30:53 +02:00
2019-05-30 11:26:39 -07:00
2019-04-08 08:47:06 +02:00
2019-06-19 17:09:55 +02:00
2019-11-13 13:49:42 +01:00
2020-01-03 17:38:23 +01:00
2019-11-07 09:27:48 +01:00
2019-12-09 14:38:03 +01:00
2019-06-05 17:37:06 +02:00
2019-02-08 15:55:41 +02:00
2019-08-23 12:05:06 +02:00
2019-11-12 16:30:17 +01:00
2019-10-01 11:24:18 +02:00
2019-11-07 09:27:48 +01:00
2019-04-05 00:04:27 +07:00
2019-11-07 09:27:48 +01:00
2019-05-30 11:29:52 -07:00
2019-12-11 10:48:49 +01:00
2019-05-24 17:36:45 +02:00
2019-07-23 18:59:05 +03:00
2019-12-04 19:44:12 -08:00
2019-12-04 19:44:12 -08:00
2019-12-04 19:44:13 -08:00
2019-11-07 09:27:48 +01:00
2019-08-05 13:25:34 +02:00
2019-06-19 17:09:55 +02:00
2019-11-07 09:27:48 +01:00
2019-05-30 11:29:52 -07:00
2019-11-12 16:30:30 +01:00
2019-10-29 15:12:52 +01:00
2019-05-24 17:36:45 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2018-12-07 17:34:08 +02:00
2019-04-05 00:04:27 +07:00
2019-08-05 13:25:34 +02:00
2019-06-05 17:37:06 +02:00
2019-11-07 09:27:48 +01:00
2019-07-09 09:07:00 -07:00
2019-05-30 11:26:32 -07:00
2019-08-05 13:25:34 +02:00
2019-11-07 09:27:48 +01:00
2019-11-12 16:31:17 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-05-30 11:29:19 -07:00
2019-11-07 09:27:48 +01:00
2018-09-04 08:22:47 +02:00
2019-11-07 09:27:48 +01:00
2019-05-24 17:39:01 +02:00
2018-09-04 08:22:47 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-04-05 00:04:28 +07:00
2019-11-07 09:27:48 +01:00
2018-09-04 08:22:47 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-06-19 17:09:55 +02:00
2019-12-04 19:44:12 -08:00
2019-08-23 09:41:18 +02:00
2019-08-05 11:26:58 +02:00
2019-06-27 15:56:51 +01:00
2018-09-17 10:55:24 -07:00
2019-11-07 09:27:48 +01:00
2018-01-09 14:51:00 +01:00
2018-09-17 10:55:24 -07:00
2018-09-17 10:55:24 -07:00
2018-09-17 10:55:24 -07:00
2019-12-04 19:44:12 -08:00
2019-07-31 00:57:21 +02:00
2019-11-07 09:27:48 +01:00
2019-12-11 10:13:42 +01:00
2019-07-09 09:07:00 -07:00
2019-08-15 09:55:07 +02:00
2019-11-07 09:27:48 +01:00
2019-12-09 10:40:18 +01:00
2019-06-19 17:09:55 +02:00
2019-08-23 09:40:44 +02:00
2020-01-07 11:24:44 +01:00
2020-01-07 12:58:15 +01:00
2019-09-10 11:34:20 +01:00
2019-04-08 11:20:12 +02:00
2019-10-03 12:04:28 +02:00
2018-09-25 09:08:48 +02:00
2019-12-17 13:06:31 -08:00
2019-09-11 14:45:01 +01:00
2018-09-25 09:08:48 +02:00
2019-12-13 14:24:41 +01:00
2019-11-12 16:30:30 +01:00
2020-01-07 00:02:09 +01:00
2019-10-29 16:17:23 +01:00
2019-11-22 14:46:52 +01:00