commonlib: Add pKVM DRNG related timestamps
Add 2 new timestamps for measuring the time to generate pKVM deterministic random number generator seed in depthcharge. First indicate when the generation has started and a second when the setup is complete. BUG=b:449097147 TEST=builds Change-Id: I1bced5a331e4d10a1ec1c305b9b2a41d1e913579 Signed-off-by: Bartłomiej Grzesik <bgrzesik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89872 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
2646eeffb2
commit
75318743c3
1 changed files with 6 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ enum timestamp_id {
|
|||
TS_PVMFW_GSC_NVRAM_DONE = 1111,
|
||||
TS_PVMFW_SETUP_DONE = 1112,
|
||||
|
||||
TS_PKVM_DRNG_SEED_START = 1120,
|
||||
TS_PKVM_DRNG_SEED_DONE = 1121,
|
||||
|
||||
/* 1200-1300: ChromeOS Hypervisor */
|
||||
TS_CRHV_BOOT = 1200,
|
||||
TS_CRHV_PLATFORM_INIT = 1201,
|
||||
|
|
@ -379,6 +382,9 @@ static const struct timestamp_id_to_name {
|
|||
TS_NAME_DEF(TS_PVMFW_GSC_NVRAM_DONE, 0, "finished fetching boot params from GSC"),
|
||||
TS_NAME_DEF(TS_PVMFW_SETUP_DONE, 0, "finished pvmfw setup"),
|
||||
|
||||
TS_NAME_DEF(TS_PKVM_DRNG_SEED_START, 0, "started generating pKVM DRNG seed"),
|
||||
TS_NAME_DEF(TS_PKVM_DRNG_SEED_DONE, 0, "finished generating pKVM DRNG seed"),
|
||||
|
||||
/* ChromeOS hypervisor */
|
||||
TS_NAME_DEF(TS_CRHV_BOOT, 0, "hypervisor boot finished"),
|
||||
TS_NAME_DEF(TS_CRHV_PLATFORM_INIT, 0, "hypervisor platform initialized"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue