coreboot/src
Furquan Shaikh 7941c96f8e soc/intel/skylake: Add entry for deep Sx wake
If deep Sx is enabled and prev sleep state was not S0, then if SUS
power was lost, it means that the platform had entered deep Sx. Add an
elog entry for deep Sx variant in this case.

BUG=b:38436041
TEST=Verified that elog entries are updated correctly:

Deep S5:
59 | 2017-05-19 10:39:08 | Kernel Event | Clean Shutdown
60 | 2017-05-19 10:39:09 | ACPI Enter | S5
61 | 2017-05-19 10:39:17 | System boot | 22
62 | 2017-05-19 10:39:17 | EC Event | Power Button
63 | 2017-05-19 10:39:17 | ACPI Deep Sx Wake | S5
64 | 2017-05-19 10:39:17 | Wake Source | Power Button | 0
65 | 2017-05-19 10:39:17 | Chrome OS Developer Mode

Deep S3:
66 | 2017-05-19 10:40:11 | ACPI Enter | S3
67 | 2017-05-19 10:40:16 | EC Event | Power Button
68 | 2017-05-19 10:40:16 | ACPI Deep Sx Wake | S3
69 | 2017-05-19 10:40:16 | Wake Source | Power Button | 0

Normal S3:
77 | 2017-05-19 10:43:22 | ACPI Enter | S3
78 | 2017-05-19 10:43:39 | EC Event | Power Button
79 | 2017-05-19 10:43:39 | ACPI Wake | S3
80 | 2017-05-19 10:43:39 | Wake Source | Power Button | 0

Change-Id: Ia251334ae44668c2260d8d2e816f85f1f62faac4
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/19798
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-05-22 18:47:32 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/x86/include: Use IS_ENABLED() macro 2017-05-22 11:07:31 +02:00
commonlib commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
console cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-18 19:49:43 +02:00
cpu drivers/spi/spi_flash: Pass in flash structure to fill in probe 2017-05-19 21:21:47 +02:00
device device/oprom/include: Use IS_ENABLED() macro 2017-05-22 11:07:43 +02:00
drivers Kconfig: Move and clean up CONFIG_VGA 2017-05-22 12:24:43 +02:00
ec mb/lenovo/x201: Add support for ThinkLight 2017-05-11 16:43:26 +02:00
include elog: Add a new elog type for deep Sx variant 2017-05-22 18:47:21 +02:00
lib cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-18 19:49:43 +02:00
mainboard mb/intel/wtm2: Drop unsupported native graphics init 2017-05-22 10:25:04 +02:00
northbridge nb/intel/haswell: Fix up C NGI remnants 2017-05-22 10:25:42 +02:00
soc soc/intel/skylake: Add entry for deep Sx wake 2017-05-22 18:47:32 +02:00
southbridge sb/via/k8t890: Clean up CONFIG_VGA usage 2017-05-22 10:21:34 +02:00
superio superio/nuvoton: Make SuperIO config functions externally available 2017-05-11 16:40:55 +02:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-12 05:32:39 +02:00
Kconfig Kconfig: Move and clean up CONFIG_VGA 2017-05-22 12:24:43 +02:00