coreboot-kgpe-d16/src
Duncan Laurie d775ddab99 broadwell: Clear pending GPE events before entering sleep state
In the case of an EC wake event that is pending but not cleared
it is possible for the EC wake pin (i.e. GPIO27) to be asserted
after the kernel triggers the sleep SMI but before the system
goes to sleep.

If this happens then the GPE will be reported as a wake source
when the system wakes up again.

BUG=chrome-os-partner:33218
BRANCH=samus,auron
TEST=build and boot on samus, use the keyboard to enter suspend
with suspend_stress_test and ensure that only the RTC is listed
as a wake source upon resume.

Change-Id: Id900132bb81e4cf50885a652ed00a142d951ea4d
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 50396ab6a3a3efb3b3dea4f1c2a8f8804fed943e
Original-Change-Id: I319dc22e21126a3086415f8f8b2b35eaec66fd50
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/225540
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9231
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-02 13:32:00 +02:00
..
arch smbios: add a family id in smbios type1 family 2015-04-02 13:26:05 +02:00
console Avoid 64bit math on MIPS platforms 2015-03-30 21:42:38 +02:00
cpu x86: fix SMM programs linked with gc-sections 2015-03-30 23:03:27 +02:00
device cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
drivers cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
ec chromeec: Clear post code before reboot to RO 2015-03-31 20:21:43 +02:00
include smbios: add a family id in smbios type1 family 2015-04-02 13:26:05 +02:00
lib cbfs: more accurate size check for simple buffer mapping 2015-04-01 22:05:40 +02:00
mainboard Samus: fix unused GPIO pin 2015-04-02 13:29:40 +02:00
northbridge northbridge/amd/amdfam10: Generate SMBIOS tables for RAM 2015-04-02 05:55:41 +02:00
soc broadwell: Clear pending GPE events before entering sleep state 2015-04-02 13:32:00 +02:00
southbridge amd/pi/hudson: INCLUDES was renamed to CPPFLAGS_common 2015-04-01 20:53:27 +02:00
superio superio: ite8772f: Exit extemp busy state 2015-03-21 08:44:28 +01:00
vendorcode vboot: add vbnv flash driver 2015-04-02 13:24:29 +02:00
Kconfig Enable publishing of board ID where supported 2015-03-23 17:20:24 +01:00