From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web08.3152.1657765672216125909 for ; Wed, 13 Jul 2022 19:27:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HBBnY7yw; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: kuqin12@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id p9so1084647pjd.3 for ; Wed, 13 Jul 2022 19:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KV5STVSLSy7+u7e3nDoi6yJqCbk2peb4lrOYMRumpFk=; b=HBBnY7yw6UsTVMfo8YWKJ9QePlhUipNhhvmW6rGlE0RFzNQHkx+eB+olH+oxKFguQD z3Tk/NskSeQ60PsFoVMuFINso/MObsp7jKkB/3AqtRPE4ZFSgDFP5cR72X36cV5wXwsl 9NwnqQaJu0afh8WwhqwvVH9gtCELZJ1uKFp2TPkqhAkTl3DPt+sC/1X3T6bM3ww/hptM 96+nc8fX8hz0ippmnMK2Nor/DAplHaU8pIb0GeHjhhpVi+SVve4oa6be1AuMuRHS9B/e era+OMDCFqzciwhVwIp2YL0CXVlZRiWqjGxyQ1hjEiroFXFjaV3TllaOZ9U5viZO4M4Y AvCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KV5STVSLSy7+u7e3nDoi6yJqCbk2peb4lrOYMRumpFk=; b=6Ek4XJ/lJsQz2SJDCfM6l+oyDv88FQeBzDuGkvxp/oDu6OxEK7dn4+qz0SIt1Krfmo vTkGBbnAny9oynbWykHpAbrjPH6a7zbuDjFr1SNjebRkOi6CnaCElWU+leFX8Gy4rkMk Ct/fSFffLW60U0MQwWm7E7K2HB7lSgcwL+PHUeF0RPNcMiD6l5ykaH4ESvEHWmj3E2vs Occ+WCXPAOXoFwR3z4D5SC+oiCxlkhxFKTahNfAtwSyWay2KJhwsVXuKOEr1BxCQ1Nob gNHzW/sN/M9K6sojz/POIzaWLTCBGhfMWdDOmJImi+a54BpiP5Tpi83bkLpoiiiON0Jz ta8g== X-Gm-Message-State: AJIora9WRxQkA9/MaADA25U29GQmLk5MuzaHpY1jIT2Jd99gIfD/u51z GTkt6BS1xfq8I1yQ8sE6w+ieDykwzco= X-Google-Smtp-Source: AGRyM1tQ8mbrOKjhKo/VdwsCGDQvEZ9G8N23i6XB7TAkuuBAqZKQJjojt+ApLiMHRHNvDwtZWX6PxQ== X-Received: by 2002:a17:902:d395:b0:16b:e5e9:ac59 with SMTP id e21-20020a170902d39500b0016be5e9ac59mr6140928pld.74.1657765671506; Wed, 13 Jul 2022 19:27:51 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([192.182.149.255]) by smtp.gmail.com with ESMTPSA id t68-20020a625f47000000b0052aaf7fdf2esm244014pfb.137.2022.07.13.19.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 19:27:51 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao , Jian J Wang , Qi Zhang , Rahul Kumar Subject: [edk2-staging][PATCH v2 0/3] Add TPM subclass definition Date: Wed, 13 Jul 2022 19:27:35 -0700 Message-Id: <20220714022738.110-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.37.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3966 This patch series is a follow up of previous submission: https://edk2.groups.io/g/devel/message/91075 v2 patch changes include feedback for v1 series: a. Removed PCD replacement related code change; >>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 v2 branch: https://github.com/kuqin12/edk2/tree/BZ3966-add_tpm_subclass_v2 Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Cc: Jian J Wang Cc: Qi Zhang Cc: Rahul Kumar Kun Qin (3): EDK2 Code First: PI Specification: New peripheral subclass for TPM MdePkg: MmCommunication: Add TPM subclass definition to MdePkg SecurityPkg: SubClassTpm: Updated default value CodeFirst/BZ3966-SpecChange.md | 59 ++++++++++++++++++++ MdePkg/Include/Pi/PiStatusCode.h | 1 + SecurityPkg/SecurityPkg.dec | 6 +- SecurityPkg/SecurityPkg.uni | 2 +- 4 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 CodeFirst/BZ3966-SpecChange.md -- 2.37.0.windows.1