diff options
author | Qi Zhang <qi1.zhang@intel.com> | 2022-07-29 09:02:21 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-07-31 16:34:01 +0000 |
commit | 6f4e10d6db316c279ed90036c9a206a1b89f0878 (patch) | |
tree | 240d358ee59e2d5185a3c20f7b7fb9c904f84b69 /ArmPkg | |
parent | e9150618ec91f79e70a1719ac8c198bee34a99be (diff) | |
download | edk2-6f4e10d6db316c279ed90036c9a206a1b89f0878.tar.gz edk2-6f4e10d6db316c279ed90036c9a206a1b89f0878.tar.bz2 edk2-6f4e10d6db316c279ed90036c9a206a1b89f0878.zip |
SecurityPkg: Add retry mechanism for tpm command
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3980
As per TCG PC Client Device Driver Design Principle document,
if tpm commands fails due to timeout condition, then it should
have retry mechanism (3 retry attempts).
Existing implementation of PtpCrbTpmCommand does not have retry
mechanism if it fails with EFI_TIMEOUT.
See TCG PC Client Device Driver Design Principles for TPM 2.0
https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_Device_Driver_Design_Principles_TPM2p0_v1p1_r4_211104_final.pdf
Vision 1.1, Revision 0.04
Section 7.2.1
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Tested-by: Swapnil Patil <S.Keshavrao.Patil@dell.com>
Diffstat (limited to 'ArmPkg')
0 files changed, 0 insertions, 0 deletions