From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.59002.1672734635984588156 for ; Tue, 03 Jan 2023 00:30:36 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=a+xJaN64; spf=pass (domain: intel.com, ip: 192.55.52.136, 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=1672734635; x=1704270635; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=wTjwi1gJCIfu0uSyQSaWiabWLj+2b1CbvoVCCkB5K2g=; b=a+xJaN64/V5wvrrn23senw65PhhbzHjpfvesvxNmBt7iM6/jdirNb8Pk U+L2W9WLEQ80U4BKjOq1gWmj7/toyQrXLitm5bejy729sNk36UgYrSRyu ejzQETvQIEOcQYVFre/SYG/zsdqK7czvDH/5CiCeSGo+5+b4OAE4PsQ/j 4Gm/VwFXNLRA6lyhbTvBsmoNudnOkpop60EaNA2tva6AfaJbjiEk9B7d8 WKM5vpvx333knJK1b2mGW5VMxyThq/wdCEzWaI7SwSI0ArnYbgD+qLUWE 8IqwQFP8PvQ78Br3twS5C7v1URVML0f92rA779rpCpMI6dto/TI3vNRxL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="301296253" X-IronPort-AV: E=Sophos;i="5.96,296,1665471600"; d="scan'208,217";a="301296253" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2023 00:30:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="718012690" X-IronPort-AV: E=Sophos;i="5.96,296,1665471600"; d="scan'208,217";a="718012690" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 03 Jan 2023 00:30:34 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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; Tue, 3 Jan 2023 00:30:34 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.16; Tue, 3 Jan 2023 00:30:33 -0800 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.16 via Frontend Transport; Tue, 3 Jan 2023 00:30:33 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.42) 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.16; Tue, 3 Jan 2023 00:30:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NFU740gP5OIo0ScP0hi4tayT6oRoQSKaC88oixdlaPaUTuhfddW/KRl0VhVCwfV603mFk0u5CCOUDics44h1UHsg6ait/PgDqvTPvqxkh7UlDq1v6RvLnFa58+N5IKnJzMf+TctAIhCZCzwrZgsFyMUMj0xQ9BtnYCxIqSBdRpGq0rP0a2/f71ML3dJykPe7wjd/kw9Ke9iADme0LMoZL7R/sk1woNPsufwOH1hOqnW7QG8Hq0ajrxTgtQcAKpXe93OkS6PLSLHzytnBsaGI/dxb6U0oGBaVAHlpv3/305VlmlqeXYF78naMyyew5RH94XV7IoXxecb1PCkKiZhdKQ== 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=06G+W8kbMR+vxepqUm65d36lp7UkEac3KL/B1+xkHuY=; b=NcVPrhJEauZdcEw3Uw3fzCK80NEny3dMPe5h3SKyv8eAES9byYRdEORzeJxm6r3IZzkuNLo/4PK6/pxiCYoPgo4RO9ld9NYbERSClVqMTExzQzu+dXXTI8q8esH06A6EQioAL4hXU1Ka0ccNhJTXI61CdEeFinq8k2MM0YW9xta5StbcC3bP5uEiIRCXCaDaXuL2zNaR3s4ce0COaDpsHCIQe8sv4Rc65sliANZzxiZwa9pB7e4C0PmU2PZ3Lkg9rB4s6MltzcA3apkkolwc8uEig6ib3fzrLud7mOki9sxPrTycOMb9a+jNGREZ1zFP07ObXkCU5epPo4cEn6LMRg== 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 MW3PR11MB4729.namprd11.prod.outlook.com (2603:10b6:303:5d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 08:30:24 +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; Tue, 3 Jan 2023 08:30:24 +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: AQHZEJdzCcFzkpAAqUuSy9x3Opz5Oa5v1KAAgABf8PeACZS8gIAAIocAgBEWnNqAAN1rgIAAmiiS Date: Tue, 3 Jan 2023 08:30:24 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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_|MW3PR11MB4729:EE_ x-ms-office365-filtering-correlation-id: f45ebab5-aacb-4c48-6f75-08daed64c29b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OBng7L+zLOeN7Bm5fH4XqNziG6QZMY/BxLqfzhFRSv6iFnkMb9Z7627BxHN62AN/Rvtmpmr5wZYFUXhbNLfNwBmlBrjF2qJmJBLZWjp/2+efM+644zUJMRjogjCwtY9sGHWlGDtavRMdNDuNfpf2rYY5oLnODkC6/Te0l0MFkhjeCqMrZVE0NqnBVPW/Ipn3oobt/vscahPVC5kvwNNu3nsS/5iFa/9NGLoF1raiPIN5ntNIjMUI6XuTBHVKy62z7evJNl9bhuKUpGvXt4Eog3EDOmd01qz2YGzNQb7fqhGq+o7eUqPmjRz6Tuqa7/23Cn3EyI0GrVqrpPjlP9z5qrfSrnZlNERBvMShhqtUZydsTnABtCZkRDkzwFwwD84KjRv+to76LRtH2FQfM4qHxW4jrvWhT8H+4GX3HqcaxaThH4SFvoaSy81JnF0CLcLB31so9U7BvAHLoV7BoLC9D/cqNDQXWiL6FMzgNWnIuwmk05axY2N571PQVupWpnyFwMOpegHSj5/iWh/QEflGHLS7KE/ug4jmgBprW3fVrEV6rhwguoQUTYnxT9KQiOcTGugw9smZ/py6iz0JRE13nSh3cjx8O4ej3Oj7ZA3Kzfj/CbJ7jwgAJ+PgfEIDf+3MjSCUJVzJAbTFolPca/4TCfJl7yBL2hAFUATvlglu+8mso1Na7f3WXFHlXrb6+jEw2/QSew4Bon+qO90tGYMYlf47wiB7AG7PXfTv9RScsDri+z6dCAAbltYKOsQoqRVCNqcWZ/+rg3yCezTZTqEBzxbys9h2XUH1da43EkkZGR4= 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)(376002)(346002)(396003)(366004)(136003)(39860400002)(451199015)(38070700005)(122000001)(82960400001)(166002)(38100700002)(55016003)(33656002)(86362001)(7696005)(6506007)(19627235002)(53546011)(316002)(76116006)(91956017)(66946007)(66476007)(66556008)(66899015)(478600001)(9686003)(966005)(26005)(186003)(71200400001)(110136005)(54906003)(66446008)(64756008)(2906002)(52536014)(8676002)(4326008)(8936002)(41300700001)(83380400001)(5660300002)(22166006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QzabaelH3oKWrOACwsjU+F1Egs61pt3IOAl30vaGWDXAuX9C6nwTWezR9q7R?= =?us-ascii?Q?5yUw4viLRcBh632UaESbFuKXsRYo/mO8IoZVOfuYEgZpeQkeActLJ2NGRjZq?= =?us-ascii?Q?CpbnL03EB/ZbS1wP59j7kvIAXyY1REE8v8jeYtCwagxEjVm5ny80eDGU7Rgs?= =?us-ascii?Q?f8Ls5xBSaSV7Gw5q7ea0y/V1KjtZxMwWlP/np/bLjX5lY/bye596D1UOzYRB?= =?us-ascii?Q?czs696FIjJCm4dHGL5nqC6hBo9EWKsiCpiURyYopDe3m5M/d1gXtJIwn2e9P?= =?us-ascii?Q?s8GJ/yo2PrQpuR2ZfjygcE9xy/ePDcn6fMfYNfQrY4FBID0RuWpcwX21fbbU?= =?us-ascii?Q?V0uXh2aXPMQXrZWBoPQj6xM05pO40wnFSj3qdE1FFGB/un4RvIGjWFAuyG4V?= =?us-ascii?Q?W3Zg7F08sw/PGWJ6NbMVRVAB6xqYw2uJeI+9B2M2y84f6cS10I7TbRq73aMx?= =?us-ascii?Q?QdNIumaGK3Ae5SHl4LA6gFf0Jvfw0S14h/t4DGcLBPbbqyNDeqY6XEYQ89En?= =?us-ascii?Q?7QcjnG1n0XRfBSxQa9YSZXXl91j/tQ4fjA0N8NymFVj+k48J0ZQX2jWNGb+s?= =?us-ascii?Q?5ugdJpJ/lNLo9YUkNwDBvHg5wcmtYHZHlHF8sX/tASOYeBfGBq7mRIOy6Nkh?= =?us-ascii?Q?hyZz2IA589tq4nQ3YEnJZ1yBT7Dxbw9GkuvNspgvPcC5LEMmXOhGOD+D5L8A?= =?us-ascii?Q?2AyxjSzyvhtVTXesi02Xi1DZk7CASB+owSG2NknuIR+FmF/zX4WQ3duIXDi8?= =?us-ascii?Q?2q5gqpSNHYk90kcSfRmlf+rmFWOWcXUDdEV4dYBgbwXFXKDDjdSrpkPFYiKX?= =?us-ascii?Q?Ip3nQty3oh2Docuh939b5NBRbcLCMcg9lmlc6FF566m+GYhO6SwpNfJ7qu6B?= =?us-ascii?Q?3mpkpJslPboIsSSIElruXyqtsmyvcxKfpjSTn4g4uCdCDk6r47JbnztJxfOf?= =?us-ascii?Q?a9+PmhvlPug/P6wsYdaz3Ss73A8vAychbfZ27YnB6OAnfcUhHpp90WN5rpTp?= =?us-ascii?Q?3AqJAqzlrTD1eZ3V7K8n68w6teTjf1tL0+6TPHLkr4NVyQ4CEI9u2Fc9rY+o?= =?us-ascii?Q?fQk+H8VwMwtzEvx2xmjTTJpF8lZdW/BDKNYcvQukL9QgVTMtG3GeJw9+h7VV?= =?us-ascii?Q?OJ+sm9k1GFCT6H/t/L11YuYuMbv6CLHVrZtyGTSAVnKhy3QiSyvfF8YZUCJn?= =?us-ascii?Q?mbDG/7yhkhg2wqGeXh5zm6eLUEuRLwkrZdZiH+fo27pmS0N10TGe8G0VUP0b?= =?us-ascii?Q?Q/WJ+WaxcWjcbHCHqZ1SuY7kgnGvYGylVxdW2uYb72YFsts1y4l2QQy0n8of?= =?us-ascii?Q?7FlXtpWuTR8917VCfEMvT0Rr6C8TpCRCknlael3xKG10T7KZTROgpQw+J2dw?= =?us-ascii?Q?YmSyRpcfK6Qya4SdzWPAMfOr4/QYu8P8YZWKOIXYGo4ZBVNQ2EVMNBUu8oNI?= =?us-ascii?Q?PyocXPwpGb5MyExoG8W9quRGyUFml/QKQ3xjzbBPHvQAc1gojNBGdfPZ+69o?= =?us-ascii?Q?EteMmtl+TeaoEhe9JCB4Dg0MPq20RRi/Xx7T1c7gU38B1DH1/xl0rV+ycrVv?= =?us-ascii?Q?6tenY4fJkHXLOK91uV97n7VSxJOJ+D+ZDi7u2j0wTuXuK+dVL8YtJuCPeNza?= =?us-ascii?Q?3Q=3D=3D?= 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: f45ebab5-aacb-4c48-6f75-08daed64c29b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2023 08:30:24.3513 (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: doWTy8CmY8ChNTe2GRG0pI7i6gPhMWqbhDCOeKa95SMqkhtnqiVE6GkvE0K8gY+8CiY9uq2FzUFIUOPo4ckV2AG3Zzj6qGX7Ay+N6IFXWu0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4729 Return-Path: sebastien.boeuf@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BY5PR11MB4401E092352D7F34B0C9C8C1EAF49BY5PR11MB4401namp_" --_000_BY5PR11MB4401E092352D7F34B0C9C8C1EAF49BY5PR11MB4401namp_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Thank you Min :) ________________________________ From: Xu, Min M Sent: Tuesday, January 3, 2023 12:18:27 AM 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 C= loud Hypervisor 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 --------------------------------------------------------------------- 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_BY5PR11MB4401E092352D7F34B0C9C8C1EAF49BY5PR11MB4401namp_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Thank you Min :)

From: Xu, Min M <min.m.x= u@intel.com>
Sent: Tuesday, January 3, 2023 12:18:27 AM
To: Boeuf, Sebastien <sebastien.boeuf@intel.com>; Ard Biesheuv= el <ardb@kernel.org>; devel@edk2.groups.io <devel@edk2.groups.io&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
 

Hi, Sebastien

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

 

From: Boeuf, Sebastien <sebastien.boeuf@= intel.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= 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@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.
> >

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