chipsalliance / caliptra-sw

Caliptra software (ROM, FMC, runtime firmware), and libraries/tools needed to build and test
Apache License 2.0
53 stars 39 forks source link

Error for Stash Measurement MB Command Causes Fatal Error #1590

Closed JohnTraverAmd closed 2 months ago

JohnTraverAmd commented 3 months ago

Within Caliptra, if the SOC sends too many Stash measurement commands, or if the Stash measurement command were to fail wihtin Caliptra for any reason, Caliptra should move to a Fatal Error state.

This will ensure that any SOC ROM/FW couldn't send a stash measurement that wasn't properly stored within Caliptra.

jhand2 commented 3 months ago

Are we sure we don't want to leave this up to the SoC? The SoC will get an error code if the limit is reached and then can make a decision about what to do.