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 EA8109414C3 for ; Thu, 16 May 2024 09:37:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=7bLBhxTVTObHf+Q328sgrY1RElvWKbz7nSs2YcKKch0=; 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=1715852247; v=1; b=OzIDnaR7nVe2uVmIc4aybkMPXvt7khcqR+pZfQLp0C6cRQhnUaMKptPIL9zrQ7VVmPhpvRLI y7NR32O9cIJkbqcW8rhDeOol+m6cDMPjj0eNoeomZusIEvooppKXp7C0uR5h7LUsCN/FEBvF1Z0 ByLY6bmWRODMkPwfRCY8H/YjY0GIsQ84GUJvKO46VV08+a/YpTNEaKetqlg7fnQMnETTN8kvUa+ BN50nWmm7ZZ469zT4tUIxTKFBx0S+FSZwfvl4tdSwOlVed8KWjAPTUJ4AIqUMa6E42bphv7pj3Z bI8y4gLBKHcq/3jU61eK9kWmxWhAeEDZP5FOLIQ3kfJXQ== X-Received: by 127.0.0.2 with SMTP id OgfyYY7687511xAzxksbSLDw; Thu, 16 May 2024 02:37:27 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mx.groups.io with SMTP id smtpd.web10.9133.1715852246288815840 for ; Thu, 16 May 2024 02:37:26 -0700 X-CSE-ConnectionGUID: jKlMMdA0QFK4H7oWULXgzw== X-CSE-MsgGUID: f8DS7lk9Q2+0Ah8tcwSL/A== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="12073583" X-IronPort-AV: E=Sophos;i="6.08,164,1712646000"; d="scan'208";a="12073583" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2024 02:37:25 -0700 X-CSE-ConnectionGUID: Z792XQx6S7K9AxoiIpN8uQ== X-CSE-MsgGUID: uOPytH7bSaWmXn8vhNykvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,164,1712646000"; d="scan'208";a="36245629" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 May 2024 02:37:25 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 16 May 2024 02:37:25 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 16 May 2024 02:37:24 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 16 May 2024 02:37:24 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 16 May 2024 02:37:24 -0700 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CH0PR11MB5300.namprd11.prod.outlook.com (2603:10b6:610:bf::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Thu, 16 May 2024 09:37:21 +0000 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::6444:ca4c:aa3e:f8d2]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::6444:ca4c:aa3e:f8d2%4]) with mapi id 15.20.7587.028; Thu, 16 May 2024 09:37:21 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Lin, Du" CC: Ard Biesheuvel , Gerd Hoffmann 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+EpV2QjUGbT9V0GDHEB7GZpZlw Date: Thu, 16 May 2024 09:37:21 +0000 Message-ID: References: <17CDBAD36E570CF2.8965@groups.io> In-Reply-To: <17CDBAD36E570CF2.8965@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|CH0PR11MB5300:EE_ x-ms-office365-filtering-correlation-id: 4c77f981-05c9-4a66-7c72-08dc758bc94c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?z4w76leJpw10XHzYGW3L27rDM+6xqVjDAz5yeaiHJlJort8xHnuDTi8e0+bL?= =?us-ascii?Q?cJNxuiYsj+HHO52uh+OgQBlYMwsumvPigppkElymrWxbN9tdZyWrc4eB9Ck3?= =?us-ascii?Q?6TJAmox/jk9uoIl30TZIij+AwQh7Ye4AcoJFieWnV24KggGjN0wcGOs3PY0b?= =?us-ascii?Q?C6l1R1msjtTcGZHnejt4oVkRS0zPFgEQ00rrcZx4h1+0gGcufgf1leO15Fs2?= =?us-ascii?Q?plObx/QHrxNA6O/ncpM5buaIYKZW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ii?Q?ErbNhuNcZsQhGw0uo9G1hKqxJnAnmE7qhX2C746rrsFK9zhcJjGROFpJyAoD?= =?us-ascii?Q?7Y7xycqEBt9lv7hatXH7GgU5qzfTrU+yWU7ZQ7KLy6kegWMbivrfWFR2Bp4f?= =?us-ascii?Q?kNgL0MVBXzUUU9I6BO2UJw99SbpFPwfr6mE1eMBQOS9np2AFaNBjoal+m2nH?= =?us-ascii?Q?5kM=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DSWy/0mYrUxoGsDP1+cTotZAV3NO0JsHbA2GWY2HVlUMZA69yfvk0BCWh0Sb?= =?us-ascii?Q?4QZbgndATD92txG1Ap+GAYjp/2Rz06lojnUSxWn9+9yyqmypCCOSajoQT2JX?= =?us-ascii?Q?RREQNBdhkEX+8BRjZv5wsFGWWRUUQovgMhzvK9WhjmAj+rsKTY6rr5CDAgd4?= =?us-ascii?Q?2qsabKrHIDwKb4YAAuYVbeoHSF54NtNpQjg0pseE5dWoXHeqPUkkhfvrftr2?= =?us-ascii?Q?OPf6pzhVGpHwEVq3Z1ko1tzodJlfH2saXukodP0yCh/Dpa2EbmEtmZ4lYjKQ?= =?us-ascii?Q?oW8O7GR4rrwAfmf5gynlLoQT5XJ9+z4WiiSKSOrQtqEDk2ojDvdR2FxS5HIy?= =?us-ascii?Q?e+fBDyFh21YkLCMifkW8WPPqyMiKL8/YyHEVj/QdHHnbvshFQSv6L6hRic9k?= =?us-ascii?Q?zQnyTO+vodzkb+fCnPKvn2gE7Vu91+vAKOOmAEKVXmKkmxvfY44Y8pFx/u+9?= =?us-ascii?Q?I5myrC9bARZflOrjXvl51OFYuPzS8PlBV/eXaYjroig1aELLmZ5vWwZr4Uzj?= =?us-ascii?Q?5qo83FgeYtvdHBitzkOAZd5pHthldRVqTOCiOgBH4V0pbls9m3O2ABj6+2SN?= =?us-ascii?Q?rG8X8xlktTXWS4kJvoteqdfu6b3sehB5MxNfzk4c8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ZmrVJdya1oTBPDmBwsNZr+jqUnlrwS2ZK0IST55NVjF?= =?us-ascii?Q?Yc+YeQTR1OeU1m7/uDbf66UDDiHWjsv9BFAYZRsK?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c77f981-05c9-4a66-7c72-08dc758bc94c X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2024 09:37:21.7511 (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: vvBfXmUzgepOKuzhj6TGLyjMgnzJea2azUv5Lf51Jr5PhQRVkdyCwpYkQHDaJWCHeKlOMzRhvHrERwKQWkKmBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5300 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: Thu, 16 May 2024 02:37:26 -0700 Resent-From: jiewen.yao@intel.com Reply-To: devel@edk2.groups.io,jiewen.yao@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: mxdde3LpTF85bLClkRTcrsMTx7686176AA= 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=OzIDnaR7; 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 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 ; > Gerd Hoffmann ; Yao, Jiewen > Subject: [edk2-devel] [PATCH] OvmfPkg: Update VMM Hob list check to suppo= rt > new resource attributes >=20 > Encrypted and Special Purpose resource attributes are introduced in > PI 1.8 Specification. This patch is to update VMM Hob list integrity > 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 ( > EFI_RESOURCE= _ATTRIBUTE_PERSISTABLE | >=20 > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTED | >=20 > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTABLE | > + EFI_RESOURCE= _ATTRIBUTE_ENCRYPTED| > + > EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE | >=20 > EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE))) !=3D 0) > { > DEBUG ((DEBUG_ERROR, "HOB: Unknow ResourceDescriptor > 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 (#118955): https://edk2.groups.io/g/devel/message/118955 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-