coreboot/src/ec
Duncan Laurie 6ff848aaf8 ec/google/wilco: Read back from EC RAM after S0ix entry
We are seeing an EC interrupt after setting the EC RAM offset that
indicates that the EC should transition to S0ix mode and this is
preventing the kernel from going into S0ix on the first try.

As a workaround if we read back from the EC RAM while still in the
_DSM handler it seems to prevent this problem.

BUG=b:130644677
BRANCH=sarien
TEST=ensure s0ix entry works on the first try with sarien

Change-Id: Id607c4c2b14b79d0cd1bcea0c2032be2f2c0c141
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33455
Reviewed-by: Shaunak Saha <shaunak.saha@intel.corp-partner.google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-06-13 21:14:08 +00:00
..
acpi
compal/ene932 ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:28 +00:00
google ec/google/wilco: Read back from EC RAM after S0ix entry 2019-06-13 21:14:08 +00:00
hp/kbc1126 device/pnp: Add header files for PNP ops 2019-03-04 15:58:55 +00:00
kontron coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
lenovo ec/lenovo/h8: Fix method name in ACPI code 2019-06-03 10:10:21 +00:00
purism/librem
quanta coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
roda/it8518 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
smsc/mec1308 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
ec.h