REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3966

>From PI Specification v1.7 Errata A, EFI_PERIPHERAL_DOCKING is defined as
0xD0000 (as well as included in PiStatusCode.h).

However, subclass employed as PCD for TPM peripheral in SecurityPkg is
also defined as 0xD0000. The TPM subclass code was used in TcgPei.c when
reporting error codes.

The collision of subclass definition could cause the parsing of reported
errors being ambiguous.

This patch series add EFI_PERIPHERAL_TPM as a spec-defined value and
removed potential usages in the SecurityPkg.

Patch v1 branch: https://github.com/kuqin12/edk2/tree/BZ3966-add_tpm_subclass

Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Jian J Wang <jian.j.w...@intel.com>
Cc: Qi Zhang <qi1.zh...@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Andrew Fish <af...@apple.com>
Cc: Leif Lindholm <l...@nuviainc.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang....@intel.com>

Kun Qin (7):
  EDK2 Code First: PI Specification: New peripheral subclass for TPM
  MdePkg: MmCommunication: Add TPM subclass definition to MdePkg
  SecurityPkg: Tcg2Dxe: Replace PcdStatusCodeSubClassTpmDevice
  SecurityPkg: Tcg2Pei: Replace PcdStatusCodeSubClassTpmDevice
  SecurityPkg: TcgDxe: Replace PcdStatusCodeSubClassTpmDevice
  SecurityPkg: TcgPei: Replace PcdStatusCodeSubClassTpmDevice
  SecurityPkg: SubClassTpm: Updated default value

 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c   |  4 +-
 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c   |  4 +-
 SecurityPkg/Tcg/TcgDxe/TcgDxe.c     |  2 +-
 SecurityPkg/Tcg/TcgPei/TcgPei.c     |  4 +-
 CodeFirst/BZ3966-SpecChange.md      | 60 ++++++++++++++++++++
 MdePkg/Include/Pi/PiStatusCode.h    |  1 +
 SecurityPkg/SecurityPkg.dec         |  6 +-
 SecurityPkg/SecurityPkg.uni         |  2 +-
 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf |  1 -
 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf |  1 -
 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf   |  1 -
 SecurityPkg/Tcg/TcgPei/TcgPei.inf   |  1 -
 12 files changed, 72 insertions(+), 15 deletions(-)
 create mode 100644 CodeFirst/BZ3966-SpecChange.md

-- 
2.35.1.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91075): https://edk2.groups.io/g/devel/message/91075
Mute This Topic: https://groups.io/mt/92200211/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to