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 <subratabanik@google.com>
Change-Id: I33f7f3a8622600ef23163faf45e2da7b96d6bbdb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81386
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik
2024-03-22 16:11:41 +05:30
parent 38f96b9716
commit c1a094d18e

View File

@@ -84,6 +84,8 @@ enum timestamp_id {
TS_COPYVPD_RW_END = 552, TS_COPYVPD_RW_END = 552,
TS_TPM_ENABLE_UPDATE_START = 553, TS_TPM_ENABLE_UPDATE_START = 553,
TS_TPM_ENABLE_UPDATE_END = 554, TS_TPM_ENABLE_UPDATE_END = 554,
TS_ESOL_START = 555,
TS_ESOL_END = 556,
/* 900-940 reserved for vendorcode extensions (900-940: AMD) */ /* 900-940 reserved for vendorcode extensions (900-940: AMD) */
TS_AGESA_INIT_RESET_START = 900, 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, TS_NAME_DEF(TS_TPM_ENABLE_UPDATE_START, TS_TPM_ENABLE_UPDATE_END,
"started TPM enable update"), "started TPM enable update"),
TS_NAME_DEF(TS_TPM_ENABLE_UPDATE_END, 0, "finished 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 */ /* AMD related timestamps */
TS_NAME_DEF(TS_AGESA_INIT_RESET_START, TS_AGESA_INIT_RESET_END, "calling AmdInitReset"), TS_NAME_DEF(TS_AGESA_INIT_RESET_START, TS_AGESA_INIT_RESET_END, "calling AmdInitReset"),