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 C3C30D8042C for ; Mon, 27 May 2024 06:43:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=bfxfMkvj5ikUVBJgR/iC+QpSFPi0bn1v8l8KI5mItxg=; 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=1716792184; v=1; b=44E0VaOuApCgWu+scgYfF1T2wdLVPuOwOoyqichizfWUhuQmitbLSoEgQ9Td67Z0bP1TWGo7 Jxmpe/uvxHWaNyo1EW0E5uYED9I1+WEDaA/KkdyS4VofN8uo/GWe2yTD/cOlxpDK9OmS8/Z9eXP WmaXvz4ey1NCqJTzVMBvpf7tEH7BcWGz/EbFZy3ZysYXrNSBVyodqFAgVSEgwGV9GqpA4tHvyVD AXrhoet+moHg2k5b1gAhRSmpzG3TUesd/Iw7bXYgUzgVxkYa84i98kVkZzecR/1AQaKf/izHkLg pxYpJ3n7fOqV0pYHUFzac/+7IiknneNGxwDmTfI7sp01A== X-Received: by 127.0.0.2 with SMTP id P2iFYY7687511xX2ULK31N7Y; Sun, 26 May 2024 23:43:03 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by mx.groups.io with SMTP id smtpd.web11.21871.1716792181464579040 for ; Sun, 26 May 2024 23:43:02 -0700 X-CSE-ConnectionGUID: WaHMP2liRvilDnAv/rZEug== X-CSE-MsgGUID: jo0F0H38SdCr7IdIGtmlAQ== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="13216001" X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="13216001" X-Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2024 23:42:55 -0700 X-CSE-ConnectionGUID: nM2hXw4aQo6ozHYMuil/mA== X-CSE-MsgGUID: 2NokZDhiQHS9ngiS47n59Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,191,1712646000"; d="scan'208";a="34738644" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 26 May 2024 23:42:54 -0700 X-Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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:42:53 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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:42:53 -0700 X-Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) 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.39; Sun, 26 May 2024 23:42:49 -0700 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by SA1PR11MB8319.namprd11.prod.outlook.com (2603:10b6:806:38c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Mon, 27 May 2024 06:42:46 +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.7611.025; Mon, 27 May 2024 06:42:46 +0000 From: "Yao, Jiewen" To: "Lin, Du" , "devel@edk2.groups.io" 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+EpV2QjUGbT9V0GDHEB7GZpZlwgBES+5CAAAXDUA== Date: Mon, 27 May 2024 06:42:46 +0000 Message-ID: References: <17CDBAD36E570CF2.8965@groups.io> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|SA1PR11MB8319:EE_ x-ms-office365-filtering-correlation-id: 03c699d9-7b0d-4cb8-5bb8-08dc7e183813 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?hkj5LHbfeSvDAXWnsF9YteDvQyuh+AMd41F3pehkTu9+rkRoiZUzMqo68N1N?= =?us-ascii?Q?dLGdNBjDguOfc/uZzH3MHpXu03CQHWUlHgTfzTGZbBQYP1zfqQzoQ+5/31i/?= =?us-ascii?Q?XQ/pIs8g0wPQaQddo+qZT/qRhSGHmB0zOwmNLq7dtchpEp3jeSx1sxd1SiWD?= =?us-ascii?Q?++gaPRA9nGK55Tfkk2GTa3uFH1Vl0R81UR/n8zS1meAaMpofmO43VP1R0cPi?= =?us-ascii?Q?cGLOEEnpgLvoRBJH6UBZYiSbIW5ikY2kaE/NSCG33kS0qB3WmdzIR7hAexh8?= =?us-ascii?Q?9u1xyB1tQorz5FjeOKDYcfdlcqv3Aw1tO1MOYTIdv0ejCvOPjTz+SU5kG30B?= =?us-ascii?Q?ShK6rYaIYi9t9Yot2WVeYq5D+Cbwi0cCq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zrxbEo9tTo2IWy1WFDX8cOe6DawzuXiAkvFT2jpvP7hRQckVfea1?= =?us-ascii?Q?oaM=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?d7N4dQtbO3qPDI8mgqZ3LErRDVJcF5CbYRbtspja9+v+T5drJHj0VEI/8aZ+?= =?us-ascii?Q?wHABptZHfggGGDIU+B6c4hBiNt46peHiHMvr0R0iJypTbbTJotsbPkj4Z6i8?= =?us-ascii?Q?gh1VdYOC2kjJcSi6fLpzxkdn5DhOTwEfiiRpuPQ2YpEZpXGrraaWL2yNqv/3?= =?us-ascii?Q?jIOi9Bjkd4S+CLqm3F729IOLNOPuZvdbQ7P7A6C/9an24uNZE7LqoZS1//sA?= =?us-ascii?Q?LXjRmWyO7TmvUXs6kA3FtGkXJqFQlMt65zBZ1P7cWSvgmCd1jR5L51OeeKf/?= =?us-ascii?Q?HWYKLtjVPkPkXNKJ7nUp724IjzxNpjhqclceJQnaeOYuY5GpUbP5XFiAiJ8i?= =?us-ascii?Q?8YsW2DO1PJ8LZ2+q1z80akpfmH9MD2OeXnTfb+dRr63iJDAFnUz5bgZNODT/?= =?us-ascii?Q?nFoY4jw98h19+wiK90miNLjYVxxF3++5dHvn5uTj5dZOTZkuuS+NpI/Htu5m?= =?us-ascii?Q?wwcFxWrlmSpdw4cwfXzzoG13aqgdL1Tlu/MqrnoF/mBQskhNu2NNKOW06aiU?= =?us-ascii?Q?4YE3RRNs6zb5znVBjzZfLlVK1gWdjKKSHpg47ggjHetXf6b/VwkGUtmiWFJ9?= =?us-ascii?Q?yvIAmQk68PXM42TG3rqxst2VAh1XLT0rLUEbjRjL+6KXPR0b/rH3eXDJseZk?= =?us-ascii?Q?wRbRu7L1GYBdFvYYQCuOmUhon5mI6zObl0RbiJ9aR5ly+3Ibv6BhOdE2p1Wt?= =?us-ascii?Q?z5vbjW4jiDoRJjDqcW9KQlcHzmci5LD8fR5pGSAgqT6+jcXzs5o9zvT9PJer?= =?us-ascii?Q?hs2XCxagmMD+pxkH4go8v/xI8DRKZq4MFVDDI6VMh4w7A/vPhNqqv70LBWju?= =?us-ascii?Q?Sf8lXx6LhKc5zr9f3JNrEJsuOWngav6OL9IYLk92VV2uQyP5WuXzOIDZ4uZr?= =?us-ascii?Q?CIFAMuqw0tH1ZNX4l798xVznENounQkvcGA17B3e9Nn9CtZKZ8dwEH9TDMHB?= =?us-ascii?Q?cIC6Y/7DW1IZhjRddYFO4U1cO5uQpU8vifdlLe4ADFerHT7fcfp4uI4gioFU?= =?us-ascii?Q?zTMLHMSEUmU2P/r6daA+6vCd7n298xMIGPxQG1FzlwLBhAY2OnEk5Zru9Rx4?= =?us-ascii?Q?89MakktIp7Pi05XiHsMXaRHTVtsEcgxkMcsIgJls5lwWoDjHPmFSYy9gmpgP?= =?us-ascii?Q?vPVxKMGMUT8kp456PJIxvXZzK/tzt05j63v+oInnDisum2CqAeVghsJqVsk1?= =?us-ascii?Q?WpYHMJlEOG3iKRNltHb+9gKZNabUopw58f5s0TD1mHk3l3j4nY832wPgGG0J?= =?us-ascii?Q?LL6wtpQUF50RuZGiIlSqYOoVQ1nEGzr3iIb/56SPq9E+TQZNKUmuFbBiQ6vM?= =?us-ascii?Q?YSBijNo/zCt8aijvWAJdNJOvZfhBQsEErHCtylGQCECH5NjxefuSi6RzzRH3?= =?us-ascii?Q?Esp9Hdh68eos/c/cANDc3Qc8k5SwPH3QIKW1OnY1q7Mdz9W68ZhB65RKqNtP?= =?us-ascii?Q?ngN0M/64AH5pE1KcSaKjm4bqC+EwvlowRk+bGnhfq7Y68oL8BLL4ZyW+kN9B?= =?us-ascii?Q?Tyen0s+cRuCP7kBv/sof/XHRzT8j0MA7fEw2Iqs3WoxQFodGYuVLrAL2I+2h?= =?us-ascii?Q?HOqdb94p3dbCQPhAcIpcBj10S01VQC6pCZ451q0q?= 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: 03c699d9-7b0d-4cb8-5bb8-08dc7e183813 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2024 06:42:46.4857 (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: +VmIqMIB1aSZzZH/UEtJJd+UEg3kjoZbNbdUPrBekb+n0NrGZoEmSIf6vRgIemE6TovE011upPhcyxC2G6D5Aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8319 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:43:02 -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: SbeO7QSom1TXRqSYIHvR5b3Qx7686176AA= 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=44E0VaOu; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) I have approved it. What is the process to merge? There is no COMMIT button or PUSH label. > -----Original Message----- > From: Lin, Du > Sent: Monday, May 27, 2024 2:23 PM > 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 >=20 > Thanks for the review and approval. Could you please help merge this patc= h to > the upstream? A pull request has been created for this patch: > https://github.com/tianocore/edk2/pull/5644. Thanks. >=20 > BRs, > Lin, Du >=20 > -----Original Message----- > From: Yao, Jiewen > 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 > support new resource attributes >=20 > Reviewed-by: Jiewen Yao >=20 > > -----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 > > support new resource attributes > > > > 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. > > > > 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(+) > > > > 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 | > > > > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTED | > > > > EFI_RESOURCE_ATTRIBUTE_READ_ONLY_PROTECTABLE | > > + > > + EFI_RESOURCE_ATTRIBUTE_ENCRYPTED| > > + > > EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE | > > > > 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 > > -=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 (#119276): https://edk2.groups.io/g/devel/message/119276 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-