From nobody Fri May 17 06:43:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+105947+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105947+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1686248711; cv=none; d=zohomail.com; s=zohoarc; b=SZ0N/JlKbaI/c+YQ/nnki9hbaRM0p74bVr5dD5iS24CIiL6HfcnVkx31bRRzu6OLXHhai/pgfBIv8obRt1plTahN6LPRoZM1HaFNSjP1prF+M2O2M6NG2QbQNHqKpodeceThMVi9bMZDdopvWK//3AcxImr79BxNTaTUi034Ljk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686248711; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Htpx0RvNluuczb5lu3b+Ob2gevN6TnvkCoGyG+CZOzI=; b=dC1lgDjV1A34H8u6RJyW0USHdcs1+raZiAk5BVmTU0MAn/iTd9g4QkxE2BTYsVhgs7tMwzpF2WfA0TlNkSKb0SQhGoUfbrIanw4KqgAZzjj62GTjE5phqNnnl4RS8fmKNUTUCYiyxLQu8eFEX1fbAhFmBraO6rYA8KtlJ6Ptbu4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105947+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 168624871145268.10898806750697; Thu, 8 Jun 2023 11:25:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rPRmYY1788612xltp9V7zSX7; Thu, 08 Jun 2023 11:25:11 -0700 X-Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web10.1756.1686248710283096269 for ; Thu, 08 Jun 2023 11:25:10 -0700 X-Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-53482b44007so517480a12.2 for ; Thu, 08 Jun 2023 11:25:10 -0700 (PDT) X-Gm-Message-State: 37WjejwbtUSc8Bzv6XyQ1l3kx1787277AA= X-Google-Smtp-Source: ACHHUZ5z+SitATGakEpiWbPqMVUZ5CUYqCups4CcegbuGcfEt1BmhMT5fjDjlhYiUuKi1YwYUafCmQ== X-Received: by 2002:a17:90b:3ece:b0:256:cf39:afce with SMTP id rm14-20020a17090b3ece00b00256cf39afcemr5018340pjb.43.1686248709437; Thu, 08 Jun 2023 11:25:09 -0700 (PDT) X-Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:f:fc5d:9362:be2c:efe5]) by smtp.gmail.com with ESMTPSA id b13-20020a170903228d00b001ae8b4dc49bsm1757526plh.13.2023.06.08.11.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 11:25:09 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [PATCH v2 1/3] MdePkg: PiStatusCode: Add new Host Software class Error Code to MdePkg Date: Thu, 8 Jun 2023 11:25:02 -0700 Message-Id: <20230608182504.2266-2-kuqin12@gmail.com> In-Reply-To: <20230608182504.2266-1-kuqin12@gmail.com> References: <20230608182504.2266-1-kuqin12@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kuqin12@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1686248711; bh=VY/j6KKgHTNHPUUwzpNObLQMJHSW+iaK4qTB1hstxIA=; h=Cc:Date:From:Reply-To:Subject:To; b=cAWa6RYimyQoDcuAdTPGshPPq1ZsYyKgarwCcKO+95mN98qbblnAnlEASi63+Kor99D IAPN7SatIB75Rytwojt22zspvV7cHdpgvhJyNILMhwRFfRHdhsw67PTSlJXB0Ux5GuBkt ybjc2hRNxpXz30JqCuIlQrEEYS/dE+hMrEk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1686248713512100008 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3794 This change introduces a new error code definitions under Host Software class according to PI specification v1.8. The new error code definition will cover system reboot events under the conditions of inconsistent memory map from one boot to another. These error codes could provide helpful datapoints to OEMs to investigate and prevent system failures in general. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Kun Qin Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- Notes: v2: - Added reviewed-by tag [Liming] MdePkg/Include/Pi/PiStatusCode.h | 41 ++++++++++---------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusC= ode.h index ef2aea7364bc..3222a082c550 100644 --- a/MdePkg/Include/Pi/PiStatusCode.h +++ b/MdePkg/Include/Pi/PiStatusCode.h @@ -965,26 +965,27 @@ typedef struct { /// These are shared by all subclasses. /// ///@{ -#define EFI_SW_EC_NON_SPECIFIC 0x00000000 -#define EFI_SW_EC_LOAD_ERROR 0x00000001 -#define EFI_SW_EC_INVALID_PARAMETER 0x00000002 -#define EFI_SW_EC_UNSUPPORTED 0x00000003 -#define EFI_SW_EC_INVALID_BUFFER 0x00000004 -#define EFI_SW_EC_OUT_OF_RESOURCES 0x00000005 -#define EFI_SW_EC_ABORTED 0x00000006 -#define EFI_SW_EC_ILLEGAL_SOFTWARE_STATE 0x00000007 -#define EFI_SW_EC_ILLEGAL_HARDWARE_STATE 0x00000008 -#define EFI_SW_EC_START_ERROR 0x00000009 -#define EFI_SW_EC_BAD_DATE_TIME 0x0000000A -#define EFI_SW_EC_CFG_INVALID 0x0000000B -#define EFI_SW_EC_CFG_CLR_REQUEST 0x0000000C -#define EFI_SW_EC_CFG_DEFAULT 0x0000000D -#define EFI_SW_EC_PWD_INVALID 0x0000000E -#define EFI_SW_EC_PWD_CLR_REQUEST 0x0000000F -#define EFI_SW_EC_PWD_CLEARED 0x00000010 -#define EFI_SW_EC_EVENT_LOG_FULL 0x00000011 -#define EFI_SW_EC_WRITE_PROTECTED 0x00000012 -#define EFI_SW_EC_FV_CORRUPTED 0x00000013 +#define EFI_SW_EC_NON_SPECIFIC 0x00000000 +#define EFI_SW_EC_LOAD_ERROR 0x00000001 +#define EFI_SW_EC_INVALID_PARAMETER 0x00000002 +#define EFI_SW_EC_UNSUPPORTED 0x00000003 +#define EFI_SW_EC_INVALID_BUFFER 0x00000004 +#define EFI_SW_EC_OUT_OF_RESOURCES 0x00000005 +#define EFI_SW_EC_ABORTED 0x00000006 +#define EFI_SW_EC_ILLEGAL_SOFTWARE_STATE 0x00000007 +#define EFI_SW_EC_ILLEGAL_HARDWARE_STATE 0x00000008 +#define EFI_SW_EC_START_ERROR 0x00000009 +#define EFI_SW_EC_BAD_DATE_TIME 0x0000000A +#define EFI_SW_EC_CFG_INVALID 0x0000000B +#define EFI_SW_EC_CFG_CLR_REQUEST 0x0000000C +#define EFI_SW_EC_CFG_DEFAULT 0x0000000D +#define EFI_SW_EC_PWD_INVALID 0x0000000E +#define EFI_SW_EC_PWD_CLR_REQUEST 0x0000000F +#define EFI_SW_EC_PWD_CLEARED 0x00000010 +#define EFI_SW_EC_EVENT_LOG_FULL 0x00000011 +#define EFI_SW_EC_WRITE_PROTECTED 0x00000012 +#define EFI_SW_EC_FV_CORRUPTED 0x00000013 +#define EFI_SW_EC_INCONSISTENT_MEMORY_MAP 0x00000014 ///@} =20 // --=20 2.40.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105947): https://edk2.groups.io/g/devel/message/105947 Mute This Topic: https://groups.io/mt/99413157/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 06:43:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+105948+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105948+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1686248711; cv=none; d=zohomail.com; s=zohoarc; b=LqEB+1+gmcQz/s6qYAF2QOlATyivddM4bsURz5RwxTaD8tGn3cIK0+oIw5qq92HqP2CGMMP6yP/vQmnGo5EYr2Ji93DVuAM+O/emEWdr+DCYlPS4fUDnrNqm182rtqkwm5ndV1HTZq7/9rS1PakWhubPbXdEQn0s8KR46DpMhoo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686248711; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=lvSLM364A56D7Yo3xQaaKC3AKCa4FvGRsT4SLYppbIc=; b=HM/HZ52CXqmW8M1y4uc1/ZD7tgZkJPjpHrkul/zS83nMSmlAB/lAPrTVgrigGSeP1BUZqUN+obdV86wSYqwpXmXEb7ANw0o88Yna9Z2mHqpeEa6b+tER8qoUNrusICzq0qMJYTYKm4Ijcl59Y6T+3osezXQiddmE+7wZjcm9S7c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105948+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1686248711946499.4001600416284; Thu, 8 Jun 2023 11:25:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id y66IYY1788612xNFQ1YNGIvc; Thu, 08 Jun 2023 11:25:11 -0700 X-Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.web11.1763.1686248711082742197 for ; Thu, 08 Jun 2023 11:25:11 -0700 X-Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-543cc9541feso532560a12.2 for ; Thu, 08 Jun 2023 11:25:11 -0700 (PDT) X-Gm-Message-State: n23A0vSyQpYskLZG5m3gOiSOx1787277AA= X-Google-Smtp-Source: ACHHUZ5vSLSCzm+fJoQJyviUe9zbJy0Qyvfdeni/LvfRhx3VG/yMcXknl09xd1s4HTk3RXH49cJlJQ== X-Received: by 2002:a17:90a:c4f:b0:259:10a8:2389 with SMTP id u15-20020a17090a0c4f00b0025910a82389mr3942145pje.35.1686248710322; Thu, 08 Jun 2023 11:25:10 -0700 (PDT) X-Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:f:fc5d:9362:be2c:efe5]) by smtp.gmail.com with ESMTPSA id b13-20020a170903228d00b001ae8b4dc49bsm1757526plh.13.2023.06.08.11.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 11:25:09 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [PATCH v2 2/3] MdePkg: PiStatusCode: Add TPM subclass definition to MdePkg Date: Thu, 8 Jun 2023 11:25:03 -0700 Message-Id: <20230608182504.2266-3-kuqin12@gmail.com> In-Reply-To: <20230608182504.2266-1-kuqin12@gmail.com> References: <20230608182504.2266-1-kuqin12@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kuqin12@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1686248711; bh=pKy8kwaY5XP6tZfyMRX49/KNpWUyensgzbCuAaZj8Xc=; h=Cc:Date:From:Reply-To:Subject:To; b=vEhzegTLJTzdcheQCX37yJZU9BfyxlIGpCMd5O7ykhQTByNjz/07ELfNdXXqqpQ1Z/Y 6ePoTmYJ7kMjmi5Dvht9osCLXvVhJDRgCvMN29tLwydNk9gkeRywysc44svuZzk6eWIee tDZvVWEr/t7fBAF2q4mq3c0H2+Ylz4ER3wo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1686248713501100007 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3966 This change introduces a new peripheral subclass definition from PI specification v1.8. The new subclass definition will cover system reboot events under the status reports from Trusted Platform Modules (TPMs). These definition could provide helpful datapoints to OEMs to analyze system security state and healthiness, as well as avoid definition collision with other existing peripheral subclass definitions. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Kun Qin Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- Notes: v2: - Added reviewed-by tag [Liming] MdePkg/Include/Pi/PiStatusCode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusC= ode.h index 3222a082c550..6675431611cb 100644 --- a/MdePkg/Include/Pi/PiStatusCode.h +++ b/MdePkg/Include/Pi/PiStatusCode.h @@ -363,6 +363,7 @@ typedef struct { #define EFI_PERIPHERAL_LCD_DEVICE (EFI_PERIPHERAL | 0x000B0000) #define EFI_PERIPHERAL_NETWORK (EFI_PERIPHERAL | 0x000C0000) #define EFI_PERIPHERAL_DOCKING (EFI_PERIPHERAL | 0x000D0000) +#define EFI_PERIPHERAL_TPM (EFI_PERIPHERAL | 0x000E0000) ///@} =20 /// --=20 2.40.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105948): https://edk2.groups.io/g/devel/message/105948 Mute This Topic: https://groups.io/mt/99413158/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 06:43:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+105949+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105949+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1686248712; cv=none; d=zohomail.com; s=zohoarc; b=Mp3siuhEkvvJ2CqNM1jWqzsOyik3u96Ie0fM3lhfOx+GJwzibUrGHrQhbjnosSTD0oYhmIHJIQ7Iju+MmW3YR5Zcs7aIRmU3GcjfAzq2WmbW6m2QmNLTUDGhekQXgKujiW65QK1RoiXcDj3/5Kvf6Ct/9T0ozzmq0yWYjf2XEIU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686248712; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Xibg1hS22ZmS/Od8yVaJ5NIM3LV2S2E3g27/wyPQWK8=; b=GgFNiNRND62rVouzFa7zQrMmnH+BZLIXvEZjmQTvZvtae6zQTlcwDO3D+amoEwNPAUnTZDEbO6Gu6F6ptoodrMaSBMmjIPZgUgvZNcvSh7PwtPoR0151yJnioDD7p70nKouup3uCHoLKKbOnHlVi+CB1P/abVvCwhZTJoRNUYuk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+105949+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1686248712965168.00694429584223; Thu, 8 Jun 2023 11:25:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id c35SYY1788612xnVScTq9Qr1; Thu, 08 Jun 2023 11:25:12 -0700 X-Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web10.1758.1686248712078037184 for ; Thu, 08 Jun 2023 11:25:12 -0700 X-Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-256531ad335so9288a91.0 for ; Thu, 08 Jun 2023 11:25:12 -0700 (PDT) X-Gm-Message-State: KgGLKld5jIFbRW4JojKd94eux1787277AA= X-Google-Smtp-Source: ACHHUZ4TS7lWQtaC3uEkZETIeDgEEo0n+O9jkT1SvHcJtn8JgvB+TeIsbpVIfDNoBr2Tc/gwoCr4aA== X-Received: by 2002:a17:90a:12c1:b0:247:529f:92d7 with SMTP id b1-20020a17090a12c100b00247529f92d7mr8562951pjg.8.1686248711330; Thu, 08 Jun 2023 11:25:11 -0700 (PDT) X-Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:f:fc5d:9362:be2c:efe5]) by smtp.gmail.com with ESMTPSA id b13-20020a170903228d00b001ae8b4dc49bsm1757526plh.13.2023.06.08.11.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 11:25:10 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Qi Zhang , Rahul Kumar , Jiewen Yao , Liming Gao Subject: [edk2-devel] [PATCH v2 3/3] SecurityPkg: SubClassTpm: Updated default value Date: Thu, 8 Jun 2023 11:25:04 -0700 Message-Id: <20230608182504.2266-4-kuqin12@gmail.com> In-Reply-To: <20230608182504.2266-1-kuqin12@gmail.com> References: <20230608182504.2266-1-kuqin12@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kuqin12@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1686248712; bh=KUKDIWZM38WaBP56mopezpdMd6KZ3sfVJWWX+pcNyiM=; h=Cc:Date:From:Reply-To:Subject:To; b=H9+JgY1nNSFpiaO3/6JLdwqwtDjUeW2eN2g//WChzxM1jlXE+N5Vwmmaq1bOxkLpfKD 1wgTQjZCLevTNxWuimidlsvzNzQz1xB7a9Ro9q8mLNZMt8e2ZHq22OK9v9Eg+j8WQDXWw HrQw1l/MZCwpAgMT4BqFzf1iB6VWvKJHxok= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1686248713748100012 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3966 This change updated the default value of TPM device subclass PCD to `0x010E0000` in order to match the definition of EFI_PERIPHERAL_TPM from PI specification v1.8. Cc: Jiewen Yao Cc: Jian J Wang Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Kun Qin Reviewed-by: Jiewen Yao Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- Notes: v2: - Added reviewed-by tag [Jiewen] - Added reviewed-by tag [Liming] SecurityPkg/SecurityPkg.dec | 6 +++--- SecurityPkg/SecurityPkg.uni | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index 0a8042d63fe1..53aa7ec43557 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -308,10 +308,10 @@ [PcdsFixedAtBuild, PcdsPatchableInModule] gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass|0|UINT8|0x00000006 =20 ## Progress Code for TPM device subclass definitions.

- # EFI_PERIPHERAL_TPM =3D (EFI_PERIPHERAL | 0x000D0000) =3D 0x010D0000<= BR> + # EFI_PERIPHERAL_TPM =3D (EFI_PERIPHERAL | 0x000E0000) =3D 0x010E0000<= BR> # @Prompt Status Code for TPM device definitions - # @ValidList 0x80000003 | 0x010D0000 - gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice|0x010D0000|= UINT32|0x00000007 + # @ValidList 0x80000003 | 0x010E0000 + gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice|0x010E0000|= UINT32|0x00000007 =20 ## Defines the IO port used to trigger a software System Management Inte= rrupt (SMI).

# Used as the SMI Command IO port by security functionality that trigge= rs a software SMI such diff --git a/SecurityPkg/SecurityPkg.uni b/SecurityPkg/SecurityPkg.uni index 68587304d779..6c28b8021333 100644 --- a/SecurityPkg/SecurityPkg.uni +++ b/SecurityPkg/SecurityPkg.uni @@ -169,7 +169,7 @@ #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdStatusCodeSubClassTpmDevice_P= ROMPT #language en-US "Status Code for TPM device definitions" =20 #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdStatusCodeSubClassTpmDevice_H= ELP #language en-US "Progress Code for TPM device subclass definitions.
\n" - = "EFI_PERIPHERAL_TPM =3D (EFI_PERIPHERAL | 0x000D0000)= =3D 0x010D0000
" + = "EFI_PERIPHERAL_TPM =3D (EFI_PERIPHERAL | 0x000E0000)= =3D 0x010E0000
" =20 #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdRsa2048Sha256PublicKeyBuffer_= PROMPT #language en-US "One or more SHA 256 Hashes of RSA 2048 bit public = keys used to verify Recovery and Capsule Update images" =20 --=20 2.40.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105949): https://edk2.groups.io/g/devel/message/105949 Mute This Topic: https://groups.io/mt/99413159/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-