From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id BF1229411BE for ; Mon, 27 May 2024 06:23:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9D/74ejX34rCsgfZCv6i+K4mTQPakhBuPsMQREGDo+4=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1716790982; v=1; b=AVsL7xZwa13fANYPgs+LAf8xDAExelwvndtGMQJ2gXXX4JhSSYLjdBOsNx4Utqq4l7qWlKA5 JcLAujR5arB0fDc4Imw0jSaWnnCQrwYy013NrwjT+Ta2Fy3Y/+Ut9XbpaJRNN3dTyAIJ8x8tcoo Os+aVX+GHRPNUDn3B5kIppN/jppJz4rBTxHtay+fiHZeOAPKns7bF4xiJv4cyPVOWZTCMA+2r3X CJSGvqEpgnXEU+DDWjotxLmsp0jG0y5gn/eH2wnT9f5pBxoiOnDRW9OyO92+8f3mdJz1J2sGGOJ yMXTcxQq9laO+X5PO+cyQjtaT11QAD3qz2tUlVZaLMfww== X-Received: by 127.0.0.2 with SMTP id UriLYY7687511x6A0T5dofsY; Sun, 26 May 2024 23:23:01 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by mx.groups.io with SMTP id smtpd.web10.21866.1716790980028359497 for ; Sun, 26 May 2024 23:23:00 -0700 X-CSE-ConnectionGUID: AbI58t2FRjKhpu1vz3CB0w== X-CSE-MsgGUID: w9wmRTrCQ0mtSTxD4cOi8A== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="12931179" X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="12931179" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2024 23:22:59 -0700 X-CSE-ConnectionGUID: OqIoHgCPQmaYp5KPiCjT7Q== X-CSE-MsgGUID: JZiCAXPKSySSIbidNivi8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="39622144" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 26 May 2024 23:22:57 -0700 X-Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Sun, 26 May 2024 23:22:56 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Sun, 26 May 2024 23:22:56 -0700 X-Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sun, 26 May 2024 23:22:55 -0700 X-Received: from BL1PR11MB5463.namprd11.prod.outlook.com (2603:10b6:208:315::23) by IA1PR11MB7726.namprd11.prod.outlook.com (2603:10b6:208:3f4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Mon, 27 May 2024 06:22:54 +0000 X-Received: from BL1PR11MB5463.namprd11.prod.outlook.com ([fe80::fc3c:306c:1d14:5d48]) by BL1PR11MB5463.namprd11.prod.outlook.com ([fe80::fc3c:306c:1d14:5d48%4]) with mapi id 15.20.7611.025; Mon, 27 May 2024 06:22:53 +0000 From: "Du Lin" To: "devel@edk2.groups.io" CC: Ard Biesheuvel , Gerd Hoffmann , "Yao, Jiewen" , "Lin, Du" Subject: Re: [edk2-devel] [PATCH] OvmfPkg: Update VMM Hob list check to support new resource attributes Thread-Topic: [edk2-devel] [PATCH] OvmfPkg: Update VMM Hob list check to support new resource attributes Thread-Index: AQHaodIKdj+EpV2QjUGbT9V0GDHEB7GZpZlwgBES+5A= Date: Mon, 27 May 2024 06:22:53 +0000 Message-ID: References: <17CDBAD36E570CF2.8965@groups.io> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5463:EE_|IA1PR11MB7726:EE_ x-ms-office365-filtering-correlation-id: d7f1dffa-b24d-441c-300c-08dc7e157114 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?dgOT2QqpsPR7Hm1ATC/hT5UB1b+7byFtdVdkFcYQ94ogQVd7z1SXQfOPd5M8?= =?us-ascii?Q?YYVlW+RlC1q3o/TV0uSiwmDGozNlCSSX/7cEfhI44WW+mUGGt1H/U3Ob9XaA?= =?us-ascii?Q?B3xWvlhf6P2NuUWnQkRJKiLu2mOEo9tNBMmzkXKg4ulXjr8BLSmBZdpYj43Y?= =?us-ascii?Q?sN3DOLcSoTDf1I35HnUQaNG8yLqdQSP9vKhOgpqKHoK99OeY7MYgOdHxQBLv?= =?us-ascii?Q?WJF7+Ti9n2Zv7Q+7VOB+K0aP6ScnH1XEglspAkM/otchcBn6oYv/mzFc9RZN?= =?us-ascii?Q?HLGcIzCQIBXBHNAqEBbdywnFeKT3yuPC8eFcVnaLCduIDo0I/RWAQoWGpQjh?= =?us-ascii?Q?n3WZXu6HNsr8+i7J5I/1cTcerNanmM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fOJb/QewvqrUR4zF+r/b0aJQuDVMwusLfcsThEB0X7WghUCy8bTdsN6w6?= =?us-ascii?Q?ZFc=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?a9H2zxfBS/fOU9u8ptOMecKv+jdnhuPSusboxzWIJ1FNJzO45ju2tCrrNud/?= =?us-ascii?Q?AN0iOkZuitXVT1hGvQqiFgJgX8Mi/zEStyruxm247n1Yaerp2/yqUaVqOoPF?= =?us-ascii?Q?lF26R2FcNQwaboY6NmIdvk8NDwrkRDFSdBzm+cXzKuJbcynsIbs9egtYFmAO?= =?us-ascii?Q?Pc9XvZoC9dd15A5WdGjd6AaDPh+l/l6bqvujbtafnLyAOZI5U0tCvYBK27Zh?= =?us-ascii?Q?2DM8QRQlTTYZ+xLmLppDmfdDaWYdzJPoSsK6sCjvMja1Sp/Dvd8tQF1IrNbe?= =?us-ascii?Q?y+THgQOAO0BDqBJmGWCSrg8EMjQGFd2wDZzwrq7Y35IAbM6RAw5NPHnPJVQv?= =?us-ascii?Q?KLB0Cac1meqqNxk4FlkffJt0W5+WGpu2+OHHx1wnoLpnYW0M4IhNMFE0pRgp?= =?us-ascii?Q?dQWb3e/bGt3M335qubUCq1ags9YRO4ttb4FP8s+MQrL64AV2upz1qfBTt98E?= =?us-ascii?Q?Djp84iE18gDlFkH/B25Zh952y9NTz1gyzC2TaX7iOeYtK/+t64MGJOl/M2k7?= =?us-ascii?Q?j/2QQ9jxwFWEOSGTgpOpw9ozRbRjNdHD6VEgxagNw7/eRSz38z9qXYJWGU3W?= =?us-ascii?Q?DpCHncyDD3q9ckORREnpRDMHFjLcsAb3JsQz+Yjk/RfTL4256Kly+13JCC/H?= =?us-ascii?Q?7FQlAc5rBXwodEbtDv9uKobfZLTlSS6cE5R98lUdS7TmCRKd7Y17i4/zvr+u?= =?us-ascii?Q?JrEVU6xpfnk/QlmtZY4lewpNLVYxuRlmzv1bwu5ZpSpPTqd5coDoSOjwPvlF?= =?us-ascii?Q?KvLiB6TOC+bVM7DigNmqRVE3ymAx+Khe7nK77mo5kR7K0DIHzRM3+WPtn2Fn?= =?us-ascii?Q?CM2PRkIf+KZIiL6i/21f8ipDCm4DOhObeaLlidp98ng1M4jvesoParebgJun?= =?us-ascii?Q?0z9W5FUozpDszh+wT1mdTMYzx1HIk7IjAhviLA8e2UpwJsIQrG51iVBDwt9I?= =?us-ascii?Q?CWMOcjfxfdUvX8s0Qp9BzAy9slPk4mRX8niaJMZszTX+tLi8rMNPTT84aKPZ?= =?us-ascii?Q?M6BJfnBIyGEP+qRJc6N1TjlIzsutNYRBfsDh0zjrx9rAIR+uAx9gxGai37Zy?= =?us-ascii?Q?ni8mR80d5ty7hMNlcHa++OkYUEfUSLI73yHxhOLIj4I99w+D5eSGhi8ahAsL?= =?us-ascii?Q?MZQtj3Ik8Sz9JMwPtYuKK/LE4NyZuVi5HlpYgLBIeW/pyc+SGbnSYhGyQJL6?= =?us-ascii?Q?oCnhQCH+Y8HYBdH06HNx4FNEsy2nWqsQn7Kml5jrl1BX4DOluJ7HnCzrSog2?= =?us-ascii?Q?TBh3UkbbJxePs1JzFROK3iN5rjGEbmpuVT0ITFsoa9OOQYOa4D6IBYRoFbOF?= =?us-ascii?Q?offc1b+e0T9BWUGpVYC/PoQNqOaEkXJL4X207CGeklTSDykqNDtmdYhJZRUb?= =?us-ascii?Q?XmI+xPiBDmO16Xrwg+D1sQRc/CchB+TfOCfSnCMU3ecodTsSQU4i1G4GHnKD?= =?us-ascii?Q?iMBiBGiqokwz8r4MO2AwYhNCo8cwRwWuCev5dYULUElQU3N+5hqsjR3jjisp?= =?us-ascii?Q?56sxKg46ja243HtXAl8ZrPVuNMKUL1E2ABQg/Ek4A1bLGIBolrBWtEDHOVmo?= =?us-ascii?Q?W3jBs+JGkOKSZGXbTOU=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5463.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7f1dffa-b24d-441c-300c-08dc7e157114 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2024 06:22:53.5983 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DM2H5SWsl/T4SG1yoCkbsUfX7KwPJBA2VS/EE8QX0ytYpxNJiJzwh6Ru12U4BzJd89g07llshfLDMHSH1T3Ugw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7726 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 26 May 2024 23:23:00 -0700 Resent-From: du.lin@intel.com Reply-To: devel@edk2.groups.io,du.lin@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: JwoqLh1T6jzJEg5tvZ7BEo6Mx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=AVsL7xZw; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Thanks for the review and approval. Could you please help merge this patch = to the upstream? A pull request has been created for this patch: https://gi= thub.com/tianocore/edk2/pull/5644. Thanks. BRs, Lin, Du -----Original Message----- From: Yao, Jiewen =20 Sent: Thursday, May 16, 2024 5:37 PM To: devel@edk2.groups.io; Lin, Du Cc: Ard Biesheuvel ; Gerd Hoffmann Subject: RE: [edk2-devel] [PATCH] OvmfPkg: Update VMM Hob list check to sup= port new resource attributes Reviewed-by: Jiewen Yao > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Lin, Du > Sent: Thursday, May 9, 2024 1:27 PM > To: devel@edk2.groups.io > Cc: Lin, Du ; Ard Biesheuvel=20 > ; Gerd Hoffmann ; Yao,=20 > Jiewen > Subject: [edk2-devel] [PATCH] OvmfPkg: Update VMM Hob list check to=20 > support new resource attributes >=20 > Encrypted and Special Purpose resource attributes are introduced in PI=20 > 1.8 Specification. This patch is to update VMM Hob list integrity=20 > check to recognise these resource attributes. >=20 > Cc: Ard Biesheuvel > Cc: Gerd Hoffmann > Cc: Jiewen Yao > Signed-off-by: Du Lin > --- > OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > b/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > index b6085eab44..19e9b1bf54 100644 > --- a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > +++ b/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > @@ -643,6 +643,8 @@ ValidateHobList ( > =20 > EFI_RESOURCE_ATTRIBUTE_PERSISTABLE | >=20 > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTED | >=20 > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTABLE | > + =20 > + EFI_RESOURCE_ATTRIBUTE_ENCRYPTED| > + > EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE | >=20 > EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE))) !=3D 0) > { > DEBUG ((DEBUG_ERROR, "HOB: Unknow ResourceDescriptor=20 > ResourceAttribute type. Type: 0x%08x\n", Hob.ResourceDescriptor- > >ResourceAttribute)); > -- > 2.44.0.windows.1 >=20 >=20 >=20 >=20 >=20 -=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 (#119274): https://edk2.groups.io/g/devel/message/119274 Mute This Topic: https://groups.io/mt/105996363/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-