coreboot-kgpe-d16/src/ec
Duncan Laurie 3cd3cb6f33 ec/google/wilco: Suppress UCSI events in S0ix
If a UCSI event comes in when the EC is in S0ix mode then the kernel
driver attempts a transaction but fails and this can leave the system
in an unexpected state where the only wake source is the power button.

This change will not notify the UCSI driver if the EC is in S0ix mode
and instead keep track of the event and send it on resume.

BUG=b:157923800
TEST=tested on drallion system:
1. Put drallion system into suspend
2. Attach power supply
3. Ensure the system can wake with keypress

Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: I43acb089385d9b41ac955f053e409daad67423f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-06-17 19:46:36 +00:00
..
51nb/npce985la0dx treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
compal/ene932 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
google ec/google/wilco: Suppress UCSI events in S0ix 2020-06-17 19:46:36 +00:00
hp/kbc1126 src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
kontron treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lenovo ec/lenovo/h8: Config the ec hardware ids for newer thinkpads 2020-05-26 04:41:43 +00:00
purism/librem treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
quanta treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
roda/it8518 src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
smsc/mec1308 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00