From c1a094d18ea7912fa71186a838668d50eecc809e Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 22 Mar 2024 16:11:41 +0530 Subject: [PATCH] commonlib: Add timestamp entries for eSOL This patch adds timestamp entries for eSOL (early Sign-Off Life). This is critical to tracking the panel initialization time while rendering the eSOL screen. TEST=Able to build and boot google/omnigul. 555: started early sign-off life (eSOL) notification 643,694 (40) 556: finished early sign-off life (eSOL) notification 1,072,143 (428,449) Signed-off-by: Subrata Banik Change-Id: I33f7f3a8622600ef23163faf45e2da7b96d6bbdb Reviewed-on: https://review.coreboot.org/c/coreboot/+/81386 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/commonlib/include/commonlib/timestamp_serialized.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commonlib/include/commonlib/timestamp_serialized.h b/src/commonlib/include/commonlib/timestamp_serialized.h index 0ccb3b9394..fc7dba8a8a 100644 --- a/src/commonlib/include/commonlib/timestamp_serialized.h +++ b/src/commonlib/include/commonlib/timestamp_serialized.h @@ -84,6 +84,8 @@ enum timestamp_id { TS_COPYVPD_RW_END = 552, TS_TPM_ENABLE_UPDATE_START = 553, TS_TPM_ENABLE_UPDATE_END = 554, + TS_ESOL_START = 555, + TS_ESOL_END = 556, /* 900-940 reserved for vendorcode extensions (900-940: AMD) */ TS_AGESA_INIT_RESET_START = 900, @@ -265,6 +267,8 @@ static const struct timestamp_id_to_name { TS_NAME_DEF(TS_TPM_ENABLE_UPDATE_START, TS_TPM_ENABLE_UPDATE_END, "started TPM enable update"), TS_NAME_DEF(TS_TPM_ENABLE_UPDATE_END, 0, "finished TPM enable update"), + TS_NAME_DEF(TS_ESOL_START, 0, "started early sign-off life (eSOL) notification"), + TS_NAME_DEF(TS_ESOL_END, 0, "finished early sign-off life (eSOL) notification"), /* AMD related timestamps */ TS_NAME_DEF(TS_AGESA_INIT_RESET_START, TS_AGESA_INIT_RESET_END, "calling AmdInitReset"),