Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6f4e10d6db316c279ed90036c9a206a1b89f0878
      
https://github.com/tianocore/edk2/commit/6f4e10d6db316c279ed90036c9a206a1b89f0878
  Author: Qi Zhang <[email protected]>
  Date:   2022-07-31 (Sun, 31 Jul 2022)

  Changed paths:
    M SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c

  Log Message:
  -----------
  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 <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Jian J Wang <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
Tested-by: Swapnil Patil <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to