From nobody Mon Feb 9 07:23:46 2026 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+80575+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+80575+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1631551372; cv=none; d=zohomail.com; s=zohoarc; b=ET8g4qCEmYJAHAJazVNb7BL4EeEIBDVM28DFs28BG8PS5SNhdZ8/OOfIb/hXYi1DJ6JnjDOEpnMGiBrp23my7to1/ayfLHTgRV/hK7LRuWdUnDliq23KB3DMKnx2JZaOZuIdMAjskgVCOtYzmXfzgAUe4xSoYA/k5P12paI7bLA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631551372; 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=CQJglH9aV7AFTebIZ4Iv3bG+jgCuaohG1QE8Cp+2R+E=; b=OG9chy6LHM+R/Rr7jhdP0g/RSoSl5j+WgcyztpS5UZv+hmjOSeQt8DqhetE/lvSTiBq+yB9ew9D9T/XPAMa9KMgCN9J4R6iqspXAx/GymlkbmjeUIxRZYIDB10b5eDUCikshF5b7dAeWqPfw8T0BAjCWHuWcBk7y6ZptAVpd+xM= 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+80575+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1631551372543107.22489682037497; Mon, 13 Sep 2021 09:42:52 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 3ugJYY1788612xn49nsA3NVR; Mon, 13 Sep 2021 09:42:52 -0700 X-Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.158.5]) by mx.groups.io with SMTP id smtpd.web12.30410.1631542878749239350 for ; Mon, 13 Sep 2021 07:21:19 -0700 X-Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id 18DDh0GO026126; Mon, 13 Sep 2021 10:21:18 -0400 X-Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b232urv5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:17 -0400 X-Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18DCxSY9003338; Mon, 13 Sep 2021 10:21:17 -0400 X-Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b232urv56-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:17 -0400 X-Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18DEDht2018625; Mon, 13 Sep 2021 14:21:16 GMT X-Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma03dal.us.ibm.com with ESMTP id 3b0m3a29jq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 14:21:16 +0000 X-Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18DELFsp18940162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Sep 2021 14:21:15 GMT X-Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0D7B8136076; Mon, 13 Sep 2021 14:21:15 +0000 (GMT) X-Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9146113604F; Mon, 13 Sep 2021 14:21:14 +0000 (GMT) X-Received: from sbct-2.pok.ibm.com (unknown [9.47.158.152]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 13 Sep 2021 14:21:14 +0000 (GMT) From: Stefan Berger To: devel@edk2.groups.io Cc: mhaeuser@posteo.de, spbrogan@outlook.com, marcandre.lureau@redhat.com, kraxel@redhat.com, jiewen.yao@intel.com, Stefan Berger , Stefan Berger Subject: [edk2-devel] [PATCH v8 08/10] SecurityPkg/Tcg: Make Tcg2PlatformPei buildable and fix style issues Date: Mon, 13 Sep 2021 10:21:04 -0400 Message-Id: <20210913142106.2526997-9-stefanb@linux.vnet.ibm.com> In-Reply-To: <20210913142106.2526997-1-stefanb@linux.vnet.ibm.com> References: <20210913142106.2526997-1-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: NE2K9sv-cEGduMYlM1ffuLdC5k7Wy35J X-Proofpoint-GUID: lGCbCTUZBwMA0xHADqgVP46VYO6zFB04 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,stefanb@linux.vnet.ibm.com X-Gm-Message-State: B3AQhiAxxi2087kvbYxJhyiWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1631551372; bh=+lL6+/28meKoxYXD6Jqz8FTfB0KtHHbWIWUs1rfL23Q=; h=Cc:Date:From:Reply-To:Subject:To; b=tB0Y5R1qI5xTwoNM7JQGL4ing/6lesxkBZzd0pWKc66xsseRSR2EW5r2xWQapCZepZi PSC/ZF8E0zgYPznpGHF9eMKjDCgJ1tMoUVKLXOjcOXBoIQKMGe9fqDVO0/tBQ94Tkpqcs rPPt8TqZmzyhQhfFZogs4s3qfIyYYI6wQo8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1631551374516100039 Content-Type: text/plain; charset="utf-8" Signed-off-by: Stefan Berger --- SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c | 11 ++++++----- SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c b/SecurityPk= g/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c index 66ec75ad0e..21d2c1433d 100644 --- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c +++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c @@ -1,4 +1,5 @@ /** @file + Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res= ume =20 Copyright (c) 2017, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.
@@ -24,12 +25,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent /** This function handles PlatformInit task at the end of PEI =20 - @param[in] PeiServices Pointer to PEI Services Table. - @param[in] NotifyDesc Pointer to the descriptor for the Notification = event that - caused this function to execute. - @param[in] Ppi Pointer to the PPI data associated with this fu= nction. + @param[in] PeiServices Pointer to PEI Services Table. + @param[in] NotifyDescriptor Pointer to the descriptor for the Notific= ation event that + caused this function to execute. + @param[in] Ppi Pointer to the PPI data associated with t= his function. =20 - @retval EFI_SUCCESS The function completes successfully + @retval EFI_SUCCESS The function completes successfully @retval others **/ EFI_STATUS diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf b/Security= Pkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf index 579f09b940..6f57de025b 100644 --- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf +++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf @@ -1,4 +1,5 @@ -### @file +## @file +# Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res= ume # # Copyright (c) 2017, Intel Corporation. All rights reserved.
# @@ -35,7 +36,6 @@ [Packages] MdePkg/MdePkg.dec SecurityPkg/SecurityPkg.dec - MinPlatformPkg/MinPlatformPkg.dec =20 [Sources] Tcg2PlatformPei.c --=20 2.31.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 (#80575): https://edk2.groups.io/g/devel/message/80575 Mute This Topic: https://groups.io/mt/85580084/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-