security/vboot/sync_ec: Add timestamps
Add 4 new timestamps to the EC software sync flow: 1) Beginning of EC software sync 2) EC finished calculating Vboot hash 3) EC is no longer requesting power limiting 4) End of EC software sync BUG=none BRANCH=none TEST=verified timestamps show up in cbmem log Change-Id: I6e5703c146b5ec27d01700fdb39cb3d2092ea8a8 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36209 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Patrick Georgi
parent
d6fc557b93
commit
f9e74991d3
@@ -79,6 +79,10 @@ enum timestamp_id {
|
||||
TS_END_TPMPCR = 512,
|
||||
TS_START_TPMLOCK = 513,
|
||||
TS_END_TPMLOCK = 514,
|
||||
TS_START_EC_SYNC = 515,
|
||||
TS_EC_HASH_READY = 516,
|
||||
TS_EC_POWER_LIMIT_WAIT = 517,
|
||||
TS_END_EC_SYNC = 518,
|
||||
TS_START_COPYVPD = 550,
|
||||
TS_END_COPYVPD_RO = 551,
|
||||
TS_END_COPYVPD_RW = 552,
|
||||
@@ -202,6 +206,11 @@ static const struct timestamp_id_to_name {
|
||||
{ TS_END_COPYVPD_RO, "finished loading Chrome OS VPD (RO)" },
|
||||
{ TS_END_COPYVPD_RW, "finished loading Chrome OS VPD (RW)" },
|
||||
|
||||
{ TS_START_EC_SYNC, "starting EC software sync" },
|
||||
{ TS_EC_HASH_READY, "EC vboot hash ready" },
|
||||
{ TS_EC_POWER_LIMIT_WAIT, "waiting for EC to allow higher power draw" },
|
||||
{ TS_END_EC_SYNC, "finished EC software sync" },
|
||||
|
||||
{ TS_DC_START, "depthcharge start" },
|
||||
{ TS_RO_PARAMS_INIT, "RO parameter init" },
|
||||
{ TS_RO_VB_INIT, "RO vboot init" },
|
||||
|
Reference in New Issue
Block a user