From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.50279.1672701511933033740 for ; Mon, 02 Jan 2023 15:18:32 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=I3HJ2if6; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672701511; x=1704237511; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=67GHeAK3pR1wt1MhZjnBsY8dxSr+nXZGNsWO1ckIwc4=; b=I3HJ2if6PDFlLOxlJPGlO936yZLWw1fVyVXloCdqZFNMOmAIX20JlyBi FFA0f4ftCMARy3HTNfoBL/Qh7FKVzx4B7P3+AnFGTjSbyGOPA6sfRfxst g787+YR3ceoFN7aN/U+r+HBqP4CEFkOPufy6FsEHDsFfy81pk9Gh4Widf VDl8QJiGfaOF/EOx+UmNinGaA+zeuOtn2tM8KhaWxUImEcmUadLr5vhVC K+HDYHGFNfclnCPHACzL7Myoov1anr0Fylvqe2vG0YRd1P3RB9rOtAdW/ sZnIJMpdxi74K/UPqO8A0+Sb47Q5OgsonY4WIg6Ql94m/nMenKXRSqlLM g==; X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="348770571" X-IronPort-AV: E=Sophos;i="5.96,295,1665471600"; d="scan'208,217";a="348770571" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2023 15:18:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="685191805" X-IronPort-AV: E=Sophos;i="5.96,295,1665471600"; d="scan'208,217";a="685191805" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga008.jf.intel.com with ESMTP; 02 Jan 2023 15:18:30 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.16; Mon, 2 Jan 2023 15:18:30 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 2 Jan 2023 15:18:30 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.46) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 2 Jan 2023 15:18:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=loyJe/fIgBqDr0QQWXVHDK0FHcjIFtDMc4QNiroeVK8206U9u89M/q/1lxrO1cZ+nmBVRmnRqhslgKpvd+3vQabo4ikCd3Y1emsVtZQgOIZneeatrlcm/vdGBt8qSqlzJK4B49MKQIIruvhjcraGi/1kSnuJk3/0mvHTnopM3CpnxLNUpxk3tzf0O8DSEodM+AlovL3ZsDrIt8x2n3Y2jCwfltRBA968YugUfqcUYMMkiTP9il6u/8VgkN94qR8S4b4H42CKAMwhUTfP7iDHHaZ1liB319mXdQ7h4CXs34AOQCTZ7M5dYNIvH0kR4KgAGoixPzs0bO3FeKFoEAmx3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZkeNUYtPdyhbSwMdxEjf6zATH48wIqFGIUIEqtywT60=; b=B1y7hTfXFglsj0yOcRa6Xb8yVRt5nJk3P5FR8c4dXKYqmOg1kkvJQ6/2+n8foVQ1Gn9V6JVde7xHX5UaxL9RPqUfYzC32j1oQmE76lJhW7atxxVEI/AY51mjP2X7fNz8EdtuVMAP0tbE/hM7kNlP1y95u/HoBv1BsIVzzPcPXg0UBrp/UlxZUMXtd/vbhkrYIsxstgQ4BQAg3i1SS64tav3kZoxhAkTY2pku4k09pCnSUNejUaWBhG2B0N7ucjb8008A8TXbaDMboNtduHIk7BobMldyJg0+tVF8euIg1bGdatVcrRJe3jtp4hwqI5DqFwearpG75gDaloRpXke7tQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0SPR01MB0012.namprd11.prod.outlook.com (2603:10b6:510:1e::13) by SA1PR11MB6967.namprd11.prod.outlook.com (2603:10b6:806:2bb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 2 Jan 2023 23:18:28 +0000 Received: from PH0SPR01MB0012.namprd11.prod.outlook.com ([fe80::5a1a:1730:249a:a7af]) by PH0SPR01MB0012.namprd11.prod.outlook.com ([fe80::5a1a:1730:249a:a7af%3]) with mapi id 15.20.5944.019; Mon, 2 Jan 2023 23:18:28 +0000 From: "Min Xu" To: "Boeuf, Sebastien" , Ard Biesheuvel , "devel@edk2.groups.io" CC: "Yao, Jiewen" , "kraxel@redhat.com" Subject: Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Cloud Hypervisor Thread-Topic: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Cloud Hypervisor Thread-Index: AQHZEJdzxe081avk6EGIiZlRDECqgK5v1KAAgABf/gCACZSugIAAIUdggBEYG4CAANx20A== Date: Mon, 2 Jan 2023 23:18:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0SPR01MB0012:EE_|SA1PR11MB6967:EE_ x-ms-office365-filtering-correlation-id: 8c8bcfe9-2db4-48cc-3e57-08daed17a7ad x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: s8GUERc6U0oY362GcHYiRPYyEWPjsP9pVCXmPNgiEQNwrcTeOCc3wpfnwDOkfqBILQvlt3jeEERTRckZc9KnJOsiuD8lsisqIcqXi36zLQyQZus0KfttQFb+hf67vtbpYvmO7RwSItJEiBkdoBktsqPZ4+z/ptyxpmSzohs2aKhfcR2z0ZLtBYO2sQt7P6wfARczYzSWjinSpKl+wCdeWvpQ1xrOrqc7zUEyIIOAo5pzY3+fvnYlT6ibtR7IrdAJHziRJ6Gx6WGNhPPqJmdpX+HSMdqQe4FUejNqcyOWRC3Rtx8oLXdIbu2uS8b2ioZ3bmIUIparvH4RjF5awSKYN3u1jsDdtAE+eWPHrCBtNC7Rw3a9njfVCZlxBz0Zh+e2Z/DwWe4gxO8DSv9/qdxk5P6nLolnKzXg9cLD7V/5knGUAsd772iSKcjiZBZDnzmbiD6byH0Wj0nIkmkwolY2ALNJSVHOTSFlo2w6WO6+0e2Bb+dyBOpajPxqZ/sgBDzYO3NnhUmBaopOCUZ6i7hssA5xQKQhtuT1Ynk2w2wUwy8K2ZQuLkhU/W1+qDyAtZhRfCycbGiat07fPHwCmeGfgtl2gBTtyEBl6r8bCCsak5sVgmFQSJz2CRsZ0idQjrZJrri4PJTiyMgvVoH4SYgWzy3XZxwpDuCZCvyW3EFzbhsE2gbZoHDMhzY3Dgh53Bzxsr5RPNUWZluvTdtP7mDDIhEul3Wu06H2MJSJRmqHRDoSCy1XjlyZ19iDPK0E+Uq5ZbLe52Lyap73P6MpdTH5xtMnLt6RMxePUqSdpXnf8kw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0SPR01MB0012.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(366004)(376002)(346002)(39860400002)(136003)(451199015)(83380400001)(38070700005)(86362001)(2906002)(38100700002)(122000001)(166002)(82960400001)(5660300002)(52536014)(8936002)(41300700001)(66899015)(55016003)(7696005)(6506007)(478600001)(53546011)(26005)(316002)(186003)(4326008)(66446008)(64756008)(9686003)(66476007)(8676002)(66556008)(71200400001)(966005)(76116006)(66946007)(54906003)(110136005)(33656002)(22166006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6Kwzj02TP3H9qdxma4DxkPbCG7i1a3fJcP9oaAnNtKGlD2R1PiOpj3/5PXV2?= =?us-ascii?Q?p0BIx7jz3Le6TYTbJw4bOHhVJuAv0yoO7E922w7EeyHheBhpsCAm9DBtUExD?= =?us-ascii?Q?N3QVCW3EpbjlSNaaRYi9YAii1YH/9+rd1ZKZdGEYv5eCGYoHjPITlq3u1nix?= =?us-ascii?Q?cN56C5auOFrxnOKet1aFJrz1sj/LsThi7LWMqamxGsyyqH2YFh0lIPDXA/hE?= =?us-ascii?Q?dOuBjNjazoATcXVy78jY3wwKG6YkZV+iYgAakJHZxauK0CefVx9fdOIDHHML?= =?us-ascii?Q?oohI+bxti6zipAVnCneq62qfc7VS5LAL1HJ/1GahQYxd2x/haeZbrcWX6prE?= =?us-ascii?Q?m/BhPtwiSSO0fSkVtlSBaGnYvIKAk9X3/0V3ZyIuVySfCL48lJKVA3DoaVQs?= =?us-ascii?Q?hwW7VUdcSE/GfhWHcX0ERj0v43/ZHqySC4jh7XqrDD/asZMd1A6BxrfK4GRR?= =?us-ascii?Q?AD+8r6Rurc3mHH8Ltk3uYtGUzXrKoVoy0rvsm1P9ZIi55PqkmsJo24Q1kYxU?= =?us-ascii?Q?z0SQ+kKD4lVlcjW0bAeGg1VJVVlyUwIkwIcDgiDOG5widxEsGBwttw44O6O8?= =?us-ascii?Q?aNFFbg+YuYFnGqVYd+gk2WE/8kz+2g696iYpBPjmEGDASzxLC8Sqf9zDhlib?= =?us-ascii?Q?/TCFugVbbIBTFBLvshyDsJ6tIEIdkoLc1i0p9ipLsLeYYGvGJA5J2LBp1oMJ?= =?us-ascii?Q?uCElYCSyMLZglOUuX0N7u55kSDFQFsSHsgXezqKKmhiufOVf3GCQ5xNjUztj?= =?us-ascii?Q?VABNttKyPZIvTn5icqZZqHrL6MmWGjLYVpafg3j9fjLWBAawyRw6lnavQTUs?= =?us-ascii?Q?7Z4QgfVLz7fT6ue3APFefkMKozLoZdtyEKQIOAq3AFsB3CBbfNwUQoR4RdrL?= =?us-ascii?Q?iBmd79/+sXA+HD1UG/DsvmPLmzDBGDgB0H6DsXt0CJO6l0silcvuyUa82sP5?= =?us-ascii?Q?zrabonMijvH2xV/87es76UZGy8zX1Jp6K3/0W7A+1gi+3Iuqui52nS4YIPtl?= =?us-ascii?Q?HLehyPVlH63gUsxb4uxpNL1qBdBrgCG+G3Yv2c/A0LfU1EOKNlDmzTQjp68f?= =?us-ascii?Q?h6WbGk01pJ520pdTW2gC5YsLRYqki+DlvW6gL7ayowveIpqm+a9JMD5JtG63?= =?us-ascii?Q?veAbseVmPHCHaaK+mfhLi5cCMnd5FcAEfQZ3ifq/UXZLXK6aLPcRzw3lTakf?= =?us-ascii?Q?aYRDK6Dx5i6pejj0I2Uj2XBWkYJQdQdRScODKafm19NoK4lFP4M8mOtLm1r0?= =?us-ascii?Q?L0OXfNtoL266Eh3xfR77b1RGU7i/gOnmM5b4+cFTjXdVpTYr8UZ6hvqm9/Bv?= =?us-ascii?Q?4tWMwf8r75wIQZfedJLB8wqb7BujElNCdYsfkQmvxkeBC4toZgp7AeKJvyma?= =?us-ascii?Q?k3SZgYQHkj51hVVemVzWMziDxeZgmZp42gOGWlixQb+8w6mqFBWXpX4DvCUi?= =?us-ascii?Q?ONHB68+e+kQ0cKpGyh12bzG4kyVSbaglXau6l+ZtHlYQJG7kelTXGTN71WNy?= =?us-ascii?Q?LcJMZ/b814450Tncscsghf1UnfNfJv/1/kr0bRsO9u3eifIwux93J6r8gsv6?= =?us-ascii?Q?GlpZ5eXj3BlygTpnr14JB/Z6vbILYR5tMcZAnmIi?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0SPR01MB0012.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c8bcfe9-2db4-48cc-3e57-08daed17a7ad X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2023 23:18:27.9213 (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: mUEtWF6y8QDvX/njsRYUD7h7dHvXLDa0ERZ5M7EAFbfoj+ojOuw2jFD7LFK9J08OyRflpBHg6MFc8kebEnikVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6967 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_PH0SPR01MB0012367AC237EEEA8D08F594C5F79PH0SPR01MB0012na_" --_000_PH0SPR01MB0012367AC237EEEA8D08F594C5F79PH0SPR01MB0012na_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Sebastien The issue is fixed. Please see https://edk2.groups.io/g/devel/message/97720 From: Boeuf, Sebastien Sent: Monday, January 2, 2023 6:07 PM To: Xu, Min M ; Ard Biesheuvel ; devel= @edk2.groups.io Cc: Yao, Jiewen ; kraxel@redhat.com Subject: Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with C= loud Hypervisor Hi folks, Sorry I was on vacation. Min, did you figure out how to fix that issue? Please let me know if/how I = can help with that. Thanks, Sebastien ________________________________ From: Xu, Min M > Sent: Thursday, December 22, 2022 2:08 PM To: Ard Biesheuvel >; devel@edk2.gr= oups.io >; Boeuf, Sebastien > Cc: Yao, Jiewen >; kraxel= @redhat.com > Subject: RE: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with C= loud Hypervisor I am looking at the issue and will provide the fix soon. BTW, the previous patch-set passed the EDK2 CI. It seems there is something= missed in the EDK2 CI. Thanks Min > -----Original Message----- > From: Ard Biesheuvel > > Sent: Thursday, December 22, 2022 7:05 PM > To: devel@edk2.groups.io; Boeuf, Sebastien <= sebastien.boeuf@intel.com> > Cc: Yao, Jiewen >; Xu, = Min M >; > kraxel@redhat.com > Subject: Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with > Cloud Hypervisor > > This series has broken all platforms that incorporate > OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf but do not provide a > resolution for CcProbeLib > > Please provide a fix > > https://ci.linaro.org/job/leg-virt-tianocore-edk2-upstream/4748/console > > > > On Fri, 16 Dec 2022 at 09:46, Boeuf, Sebastien > > wrote: > > > > Thank you Jiewen :) > > ________________________________ > > From: Yao, Jiewen > > > Sent: Friday, December 16, 2022 4:03:00 AM > > To: Boeuf, Sebastien >; devel@edk2.groups.io > > > > > Cc: Xu, Min M >; kraxel@r= edhat.com > > > > > Subject: RE: [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Cloud > > Hypervisor > > > > Merged: https://github.com/tianocore/edk2/pull/3778 > > > > > -----Original Message----- > > > From: Boeuf, Sebastien > > > > Sent: Thursday, December 15, 2022 11:10 PM > > > To: devel@edk2.groups.io > > > Cc: Yao, Jiewen >; = Xu, Min M > > > >; kraxel@redhat.com; Boeuf, Sebastien > > > > > > > Subject: [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Cloud > > > Hypervisor > > > > > > From: Sebastien Boeuf > > > > > > > The IntelTdxX64 OVMF target wasn't working with Cloud Hypervisor on > > > TDX platform. This was due to the way the OVMF code expects Cloud > > > Hypervisor to rely on PVH to retrieve information like memory below > > > 4GiB as well as the ACPI tables. > > > > > > This is why this series takes care of identifying when running on > > > TDX in order to handle things differently. For the memory below > > > 4GiB, it falls back onto the CMOS to retrieve the correct > > > information, and for the ACPI tables, it relies on the HOB to obtain > > > every table individually before to expose them to the guest OS. > > > > > > With these two use cases properly handled by this series, it is now > > > possible to use the IntelTdxX64 target to build an OVMF binary that > > > works both for QEMU and Cloud Hypervisor on a TDX platform. > > > > > > Sebastien Boeuf (3): > > > OvmfPkg/PlatformInitLib: Differentiate TDX case for Cloud Hyperviso= r > > > OvmfPkg/PlatformInitLib: Transfer GUID Extension HOB > > > OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for Cloud > > > Hypervisor > > > > > > ArmVirtPkg/ArmVirtQemu.dsc | 1 + > > > OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 8 +- > > > OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 6 ++ > > > OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 3 + > > > OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c | 87 > +++++++++++++++++++++ > > > OvmfPkg/Library/PlatformInitLib/IntelTdx.c | 5 ++ > > > OvmfPkg/Library/PlatformInitLib/MemDetect.c | 5 +- > > > OvmfPkg/OvmfPkg.dec | 1 + > > > 8 files changed, 114 insertions(+), 2 deletions(-) > > > > > > -- > > > 2.34.1 > > > > --------------------------------------------------------------------- > > Intel Corporation SAS (French simplified joint stock company) > > Registered headquarters: "Les Montalets"- 2, rue de Paris, > > 92196 Meudon Cedex, France > > Registration Number: 302 456 199 R.C.S. NANTERRE > > Capital: 5 208 026.16 Euros > > > > This e-mail and any attachments may contain confidential material for > > the sole use of the intended recipient(s). Any review or distribution > > by others is strictly prohibited. If you are not the intended > > recipient, please contact the sender and delete all copies. > > > >=20 --_000_PH0SPR01MB0012367AC237EEEA8D08F594C5F79PH0SPR01MB0012na_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, Sebastien

The issue is fixed. Please see https://edk2.groups.io/g/devel/message/97720

 

From: Boeuf, Sebastien <sebastien.boeuf@in= tel.com>
Sent: Monday, January 2, 2023 6:07 PM
To: Xu, Min M <min.m.xu@intel.com>; Ard Biesheuvel <ardb@ke= rnel.org>; devel@edk2.groups.io
Cc: Yao, Jiewen <jiewen.yao@intel.com>; kraxel@redhat.com
Subject: Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work= with Cloud Hypervisor

 

Hi folks,

 

Sorry I was on vacation.

 

Min, did you figure out how to fix that issue? Please let me know= if/how I can help with that.

 

Thanks,
Sebastien


From: Xu, Min M <min.m.xu@intel.com>
Sent: Thursday, December 22, 2022 2:08 PM
To: Ard Biesheuvel <
ard= b@kernel.org>; devel@edk2.groups.io <devel@edk2.groups.io>; Boeuf, Sebastien= <sebastien.boeuf@in= tel.com>
Cc: Yao, Jiewen <
j= iewen.yao@intel.com>; kraxel@redhat.com <kraxel@r= edhat.com>
Subject: RE: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work= with Cloud Hypervisor

 

I am looking at the issue and will provide the fix s= oon.

BTW, the previous patch-set passed the EDK2 CI. It seems there is something= missed in the EDK2 CI.

Thanks
Min

> -----Original Message-----
> From: Ard Biesheuvel <ardb@kerne= l.org>
> Sent: Thursday, December 22, 2022 7:05 PM
> To: devel@edk2.groups.io; = Boeuf, Sebastien <sebastien= .boeuf@intel.com>
> Cc: Yao, Jiewen <jiewen.yao= @intel.com>; Xu, Min M <min= .m.xu@intel.com>;
> kraxel@redhat.com
> Subject: Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work w= ith
> Cloud Hypervisor
>
> This series has broken all platforms that incorporate
> OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf but do not provide a
> resolution for CcProbeLib
>
> Please provide a fix
>
> https://ci.linaro.org/job/leg-virt-tianocore-edk2-upstream/4748/console=
>
>
>
> On Fri, 16 Dec 2022 at 09:46, Boeuf, Sebastien <sebastien.boeuf@intel.com>
> wrote:
> >
> > Thank you Jiewen :)
> > ________________________________
> > From: Yao, Jiewen <jie= wen.yao@intel.com>
> > Sent: Friday, December 16, 2022 4:03:00 AM
> > To: Boeuf, Sebastien <sebastien.boeuf@intel.com>; devel@edk2.groups.io
> > <devel@edk2.groups.io<= /a>>
> > Cc: Xu, Min M <
min.m.xu@= intel.com>; kraxel@redhat.com
> > <kraxel@redhat.com>= ;
> > Subject: RE: [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Clou= d
> > Hypervisor
> >
> > Merged: h= ttps://github.com/tianocore/edk2/pull/3778
> >
> > > -----Original Message-----
> > > From: Boeuf, Sebastien <sebastien.boeuf@intel.com>
> > > Sent: Thursday, December 15, 2022 11:10 PM
> > > To: devel@edk2.group= s.io
> > > Cc: Yao, Jiewen <= jiewen.yao@intel.com>; Xu, Min M
> > > <min.m.xu@intel.com= >; kraxel@redhat.com; Boeuf, Sebastien
> > > <sebastien.b= oeuf@intel.com>
> > > Subject: [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Clo= ud
> > > Hypervisor
> > >
> > > From: Sebastien Boeuf <sebastien.boeuf@intel.com>
> > >
> > > The IntelTdxX64 OVMF target wasn't working with Cloud Hyperv= isor on
> > > TDX platform. This was due to the way the OVMF code expects = Cloud
> > > Hypervisor to rely on PVH to retrieve information like memor= y below
> > > 4GiB as well as the ACPI tables.
> > >
> > > This is why this series takes care of identifying when runni= ng on
> > > TDX in order to handle things differently. For the memory be= low
> > > 4GiB, it falls back onto the CMOS to retrieve the correct > > > information, and for the ACPI tables, it relies on the HOB t= o obtain
> > > every table individually before to expose them to the guest = OS.
> > >
> > > With these two use cases properly handled by this series, it= is now
> > > possible to use the IntelTdxX64 target to build an OVMF bina= ry that
> > > works both for QEMU and Cloud Hypervisor on a TDX platform.<= br> > > >
> > > Sebastien Boeuf (3):
> > >   OvmfPkg/PlatformInitLib: Differentiate TDX case = for Cloud Hypervisor
> > >   OvmfPkg/PlatformInitLib: Transfer GUID Extension= HOB
> > >   OvmfPkg/AcpiPlatformDxe: Differentiate TDX case = for Cloud
> > > Hypervisor
> > >
> > >  ArmVirtPkg/ArmVirtQemu.dsc    &nbs= p;             = |  1 +
> > >  OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c  &nbs= p;   |  8 +-
> > >  OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h  &nbs= p;   |  6 ++
> > >  OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf |  3 = +
> > >  OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c   = ;    | 87
> +++++++++++++++++++++
> > >  OvmfPkg/Library/PlatformInitLib/IntelTdx.c  |&nbs= p; 5 ++
> > > OvmfPkg/Library/PlatformInitLib/MemDetect.c |  5 +-
> > >  OvmfPkg/OvmfPkg.dec      = ;            &n= bsp;      |  1 +
> > >  8 files changed, 114 insertions(+), 2 deletions(-)
> > >
> > > --
> > > 2.34.1
> >
> > -----------------------------------------------------------------= ----
> > Intel Corporation SAS (French simplified joint stock company)
> > Registered headquarters: "Les Montalets"- 2, rue de Par= is,
> > 92196 Meudon Cedex, France
> > Registration Number:  302 456 199 R.C.S. NANTERRE
> > Capital: 5 208 026.16 Euros
> >
> > This e-mail and any attachments may contain confidential material= for
> > the sole use of the intended recipient(s). Any review or distribu= tion
> > by others is strictly prohibited. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >

--_000_PH0SPR01MB0012367AC237EEEA8D08F594C5F79PH0SPR01MB0012na_--