Furquan Shaikh has submitted this change and it was merged. ( https://review.coreboot.org/19797 )
Change subject: elog: Add a new elog type for deep Sx variant ......................................................................
elog: Add a new elog type for deep Sx variant
This is useful for debugging based on eventlog to identify if platform entered normal or deep Sx.
BUG=b:38436041
Change-Id: Ic7d8e5b8aafc07aed385fe3c4831ab7d29e1f890 Signed-off-by: Furquan Shaikh furquan@chromium.org Reviewed-on: https://review.coreboot.org/19797 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Aaron Durbin adurbin@chromium.org --- M src/include/elog.h 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: Aaron Durbin: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/include/elog.h b/src/include/elog.h index 964e040..f18aa4b 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -113,6 +113,7 @@
/* Sleep/Wake */ #define ELOG_TYPE_ACPI_ENTER 0x9d +/* Deep Sx wake variant is provided below - 0xad */ #define ELOG_TYPE_ACPI_WAKE 0x9e #define ELOG_TYPE_WAKE_SOURCE 0x9f #define ELOG_WAKE_SOURCE_PCIE 0x00 @@ -178,6 +179,9 @@ /* Cr50 */ #define ELOG_TYPE_CR50_UPDATE 0xac
+/* Deep Sx wake variant */ +#define ELOG_TYPE_ACPI_DEEP_WAKE 0xad + #if CONFIG_ELOG /* Eventlog backing storage must be initialized before calling elog_init(). */ extern int elog_init(void);