From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.32311.1672654015247366991 for ; Mon, 02 Jan 2023 02:06:55 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=meFhxGu1; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: sebastien.boeuf@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672654015; x=1704190015; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=pW9/ODFsOR7CfzkGXa8e35PbkJ4Z9nk8+dL7n9+s2UU=; b=meFhxGu12iJ/OAauHJgkT72i/DKEfIpIbiG2qTcEIACywgDGbcBeIqg4 TXxESSgzoKDsYM8wDlzrY/FGblAiwM6n008yDn7lBM4HT8/TGsJELWXAc XhbAJutYUl1vlHyZOD+pRqf5oSe1ec38r6Y0Xmaxo2b4etCQDzHCelFE/ ipoGOBTrmUyo7Vu7TMa86tacpZoIX8eqjIL1TwCg/1JfCUNjkhXISzIdP Ll2PcenoIENX3ze4iv6TAxlEs/YfPM+hb+fC5jK02apNuJHEbgohyIGCd 6IMqF6OZ7MDK8rmVkEWNK9iuB+5t7xnfnoblk1jt7OxJP/qKNYpNQiy24 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="320174514" X-IronPort-AV: E=Sophos;i="5.96,293,1665471600"; d="scan'208,217";a="320174514" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2023 02:06:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="647879612" X-IronPort-AV: E=Sophos;i="5.96,293,1665471600"; d="scan'208,217";a="647879612" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga007.jf.intel.com with ESMTP; 02 Jan 2023 02:06:54 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.16; Mon, 2 Jan 2023 02:06:53 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.16 via Frontend Transport; Mon, 2 Jan 2023 02:06:53 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (192.55.55.68) 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 02:06:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C63kK9UKdPgj3Y2ik7D7dEWM526E7WOgdN4bYbHRqbeCkCe6T4rBM44mcFhy77BCVzx4/AcvdH6ng1qS/a05GygWmev3lTqvKAHmHK88FF5JWcKzRYwQIbof8Y7nGXsTBoizihtaK6HGUAXANUWymb+vmbuvN1y2C5WlQpcyYqtV49gQV/g/k6iZahCiJhCCQxumH3bfwUyw0OGJWwLPeEKbaj+5NcW4b3vpL0GJ087bl5PWZqPRk0cp3hxQM2InDLcrKAqoNrYuEEK1tF/gSeOjqRfuuU9cnMvB52w7pDqFAQix8K0WxV+oBXF78DjOh1ypEd1jTx4VRvYSGRx6CQ== 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=puAo4HPiMTxYp686F2/MYtVud20dTDctc7A+TVxi764=; b=A7KQknavg4Ea3PnRB/NbdbUImnxoWzulsZYK46UoyPuwYKOkGtO/aOOqAiDNcgKgzowY6DRlAMrUzHba+JLMXH94jAyBuA07V7yRHKxlrUDI84j4vSPpSMJL6vFrHiNvGhTDDqAWtLNyF3dFjO6Xj0dPN7bfnLMrsnIIiH9D/95N7XH9VpfMshLpx5pCfXCV27k6Z/sYLVXeQvlZP6PElOUMyZzZCRxc2T4l+c9wZceWs98T8HIxdFB0ZZ4UL/6RgpN3snNRUe5aOXb4gY6B9q+HXJw2AJFL9r8vcvoGQswbRUjh3yCE/iAbjEryjgvW+gaH+b3KuozoZ+dmWiosrg== 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 BY5PR11MB4401.namprd11.prod.outlook.com (2603:10b6:a03:1be::13) by DM8PR11MB5623.namprd11.prod.outlook.com (2603:10b6:8:25::20) 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 10:06:52 +0000 Received: from BY5PR11MB4401.namprd11.prod.outlook.com ([fe80::5f0c:8736:f13b:1450]) by BY5PR11MB4401.namprd11.prod.outlook.com ([fe80::5f0c:8736:f13b:1450%5]) with mapi id 15.20.5944.019; Mon, 2 Jan 2023 10:06:51 +0000 From: "Boeuf, Sebastien" 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 Cloud Hypervisor Thread-Topic: [edk2-devel] [PATCH v2 0/3] OvmfPkg: Make IntelTdx work with Cloud Hypervisor Thread-Index: AQHZEJdzCcFzkpAAqUuSy9x3Opz5Oa5v1KAAgABf8PeACZS8gIAAIocAgBEWnNo= Date: Mon, 2 Jan 2023 10:06:51 +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: BY5PR11MB4401:EE_|DM8PR11MB5623:EE_ x-ms-office365-filtering-correlation-id: 0a45ee2c-17a4-472b-6fff-08daeca911da x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nX/Aclm4620/pKLrdzDy8ymDjs8oT/xSLgLSBBkcP9V+BzryUuzJFkmjfzN3Qy5XuAbP4xrsD5objvPhJf3KuoS5uWE0GQY/tX+hMC7j3wpGCmo7pVFwkPy9YAgDOCPueQoz+BBvMmQKdpN7FPI8mgCm/FrGAQsTsod2kbEU3sSf7yfwQyyPO1QP65Vhl5uAlqFYCygw7fG3dmuOzezHsOaVJBCyZOZp2ajfGYnPu6u0HG2q09SdS0TBSJkqkMQdKqORCw97jT8KFP9fwtsW+PJbc9vuC8urbtSyfB0HL1E75SMKYuGmi/O8CIOECugodDVTOxcBeO8kf028t9paRzQjMF7Nq/zz6oMAJYu73Won2sOxS1buy3w8Nxe9y8YjIgWpjsUa9U1cUBIkAKagkXaphutILjuxaNI6bgPOebNw595KN6agWBbholqHxSIiSE1iZxI/8AFqsPnLNq/dpxJ8uo/jG5xGjSPPg+IYHlaIj/arhdZKBZvYiG/iRB9v0Pz+JzZq12PCnTLJbV1HAxoVkpxOrkoWFjygnU7cowiwNE3C+6fYOrrbijx7nI6UVx2RPMk9vJyErSEFr+vDEPxGlGHpIrjcyl82ulJvvEM9ECzY7DqJOMccvbMU14slzSiAjeReMHEQrTsDXewaSzw4YKqHFIHYnCPUmOQWQm73RrpCrA2t8yID1org4Huvm6pc/dk2bbDuycv49qYWj4PLbhEHD8RztJE8ctNC+E/xcg1YzcB/YpAM0d0FbcYH9jF5ddk9AgaJ9x5PJopGRqFGq1/MsUAWFKUXHVGW6PY= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4401.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(396003)(376002)(366004)(136003)(346002)(451199015)(19627405001)(2906002)(66899015)(52536014)(41300700001)(8936002)(83380400001)(8676002)(82960400001)(4326008)(66556008)(91956017)(66946007)(66446008)(66476007)(64756008)(76116006)(38100700002)(122000001)(38070700005)(478600001)(186003)(55016003)(71200400001)(9686003)(966005)(33656002)(316002)(166002)(53546011)(5660300002)(54906003)(7696005)(86362001)(6506007)(110136005)(22166006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hFhGWv/ZNtUmk71As1HehaRzSGiAoDVJ4e7Fiu1x5kmX6YQiq3RH5iJ3JPxS?= =?us-ascii?Q?ka7pUTR7jEIDlxneek75uG0XIys4zAymLK5Ob8/TT7HBYW3PC6EJVvAdyta4?= =?us-ascii?Q?IdqUO1rjl63I4e0vsLr1siWeBXIrigSJF2nmivCkOjkHJuGJJVhjJRhrNaU2?= =?us-ascii?Q?Ez+/8sj2QKofHcx19wKif2zJ1WMvH1K+rui4iEO4H+ncOsJjQMXeSCBSZUyI?= =?us-ascii?Q?w8Y7bwMRJwIwkNb3/jaBkI+4j41OpsqUNUp0ZnqAupAd6XKgmt4MV/PpDQUK?= =?us-ascii?Q?k+Tsagm8l0QhNAqFHj7xuC31KxGzpgWmqv8XtnNDnX3qk/WwX2Seqe9w13fk?= =?us-ascii?Q?tSsX2o1CaMtGS4hU0OmuuDpHx2BM4h7Va7rxJw2wE6946dKbMMjAe3W5ZS8t?= =?us-ascii?Q?/glcID0roYdeZoZjdnw0JwSpFlWoO5XLB8sMeQS1kF4GKlhnEDQ0r57GU7GK?= =?us-ascii?Q?1nX5pCcpWm1qOo/+5YDTI2+qimki4BNTSF5N4OnabZTJWFE7NRp9uFdRGrst?= =?us-ascii?Q?qSIRdNMJD8ClN0f2p27c+wzHkHFye4CgpjB6Qcoej5MgnW96HI0tYBALS7DQ?= =?us-ascii?Q?rEmOciA5OcK0Rkm9SZeW3TKWggZYo5yQyhPvVJs/wO0t9+qi5HeDbc4ctoSz?= =?us-ascii?Q?U2Sgbqzjx+qMmQqEmsVI9FHmLHTPdjPf4na1kQar7bxsldvWySWJizgDtn7S?= =?us-ascii?Q?tGBCxlqsF3lDLSa17VLzTv6KKK5CEY48RdDosfmuIUHrZyS8okbi4lEAvzDN?= =?us-ascii?Q?uKz7VyHf6Jo1cC3kAVEdlV1L1tkPFzRv0QHgV9BncoHXnCVFXQhuHdaVtcSL?= =?us-ascii?Q?/xp565PvR2Jv7Pjtl1qzv24d3LBW4gQ9erGaACa7uT14lbXVyjYIlwQV68WO?= =?us-ascii?Q?qst4pTTiUOA+QYCT093JLla5klP+QSLgcnkz+h3Q7JeTS24zIQHgg1oox5tF?= =?us-ascii?Q?2K554iWmNb521Txyi6Zqu9J82sAU39ulVJ06usFtnJ7LqNxCNYsAfPictK8i?= =?us-ascii?Q?RukUI8woW4SffoQSVMRo2EYgSkdorOZv5bSALQ9TOHQaGat2O7J2RbQp1olt?= =?us-ascii?Q?wL1cnGZkK0KX+iTFgKQMpJj6LbmwiczDo1dWW65H44EsqxnUJ/dZeRjXenZ/?= =?us-ascii?Q?dnblsf8w3dgAQSYvfgrvXvvjgFOj0Ff4nYgAmBkbP4kboYtlXqofpgLebCFy?= =?us-ascii?Q?1vTwPEuHa6qljOgQVOrCvVk/hkZTdb0iwCNs2IbLo1oauxDdI8nw3UNwC+5O?= =?us-ascii?Q?5yGuAiSvqpL0Z4Qv+vOKO+aHL8jsDspKnglvL5hFdUyuv7zV7sm3dN/fgf9k?= =?us-ascii?Q?YfRMobTqXrhwvaSj6W0rW5ecW/iRBgbsoRccfAEux52X2SuMkbagV5+GqSrf?= =?us-ascii?Q?qFWJRPZ+W//e1MGWBiQccglFJx02N0wcFE05ffcWKuVqvn1AvOArBDp5NdIE?= =?us-ascii?Q?ZNE4jAc/ztnPPSEkEcNOQPJ5qFnvQZrghEhFhocFKJqr7fgAAMChXS5rOe+y?= =?us-ascii?Q?n0YIu1eDtDjk3IlMOgjw3AqSeEVICZ3MLJnrIgREaC+UtfqG6/u8Bjozaa5R?= =?us-ascii?Q?1WQkhYk2ER1gQu6eF/oujYBxeiYOQFOXpyIJWWjUan0NvNS0vLpiNOunL7Ow?= =?us-ascii?Q?0PE6a4DkUO3UZzT76GoFXqfp+5QTwK2Hj5HQu4QUrYY6?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4401.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a45ee2c-17a4-472b-6fff-08daeca911da X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2023 10:06:51.9346 (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: szo3bhasOJmU39cepqgR3QgsdikTB2zHZOgnriQL0TLgjt5dsVaAsh8fcFBwy42gq7EXmeTt6ufrta8KY+V0IWNEQhEuPLcU4/OEceZr9BQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5623 Return-Path: sebastien.boeuf@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BY5PR11MB4401D611C92F76DFEA7DC913EAF79BY5PR11MB4401namp_" --_000_BY5PR11MB4401D611C92F76DFEA7DC913EAF79BY5PR11MB4401namp_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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.groups.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 > 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@redhat.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 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris,=20 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. --_000_BY5PR11MB4401D611C92F76DFEA7DC913EAF79BY5PR11MB4401namp_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Hi folks,

Sorry I was on vacation.

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

Thanks,
Sebastien

From: Xu, Min M <min.m.x= u@intel.com>
Sent: Thursday, December 22, 2022 2:08 PM
To: Ard Biesheuvel <ardb@kernel.org>; devel@edk2.groups.io <= ;devel@edk2.groups.io>; Boeuf, Sebastien <sebastien.boeuf@intel.com&g= t;
Cc: Yao, Jiewen <jiewen.yao@intel.com>; kraxel@redhat.com <= kraxel@redhat.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= 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 <ardb@kernel.org>
> Sent: Thursday, December 22, 2022 7:05 PM
> To: devel@edk2.groups.io; Boeuf, Sebastien <sebastien.boeuf@intel.c= om>
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Xu, Min M <min.m.xu@i= ntel.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@int= el.com>
> wrote:
> >
> > Thank you Jiewen :)
> > ________________________________
> > From: Yao, Jiewen <jiewen.yao@intel.com>
> > Sent: Friday, December 16, 2022 4:03:00 AM
> > To: Boeuf, Sebastien <sebastien.boeuf@intel.com>; devel@edk= 2.groups.io
> > <devel@edk2.groups.io>
> > 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.groups.io
> > > Cc: Yao, Jiewen <jiewen.yao@intel.com>; Xu, Min M
> > > <min.m.xu@intel.com>; kraxel@redhat.com; Boeuf, Sebast= ien
> > > <sebastien.boeuf@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.
> >

--------------------------------------------------------------------- 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.

--_000_BY5PR11MB4401D611C92F76DFEA7DC913EAF79BY5PR11MB4401namp_--