From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.60461.1670889956210901331 for ; Mon, 12 Dec 2022 16:05:56 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WWVuoNc7; spf=pass (domain: intel.com, ip: 134.134.136.100, 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=1670889956; x=1702425956; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=CpTKRxosmSCAXKY37u/HnRz3zpvrk7XJCZ6Du+DnqR0=; b=WWVuoNc7OTxL3ggUV5WmtrEGHKO/BW82p+ccUkv7BcS2CO1EJK8DGeNR uDG3767MLQNFj176OEw8ho5O/ibxnvAZNL71BZ4Sky0AcD0SOnXbidusY KblsvhRnRler2TlRPC3ny08LEbTZOxTMws+yGDsFpUqdFGHwpHQZAJT5T koVvsg0vB+n37MvXPAM5A55MpI1c56nvZ63/PRMTjTMd1m2ylYb3wVBDy i1BOie96F1HvoPhZAV8RkeHjKAkXt0jN7qQbbeAxxOv8WW7nepeDNv1lB vauOtwNTlH/3L1c0Ho4HdNnQeWoGypKpINW6TLikhfpK+iL8i7x2iAynY w==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="382303886" X-IronPort-AV: E=Sophos;i="5.96,239,1665471600"; d="scan'208";a="382303886" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 16:05:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="772784431" X-IronPort-AV: E=Sophos;i="5.96,239,1665471600"; d="scan'208";a="772784431" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 12 Dec 2022 16:05:55 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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, 12 Dec 2022 16:05:55 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 12 Dec 2022 16:05:54 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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; Mon, 12 Dec 2022 16:05:54 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) 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, 12 Dec 2022 16:05:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMYZ9rEPyEETcsS4oUoHgT6heKy8XTvm3WOGnRDMu0jRXQXrtQujoOglvsSLGNj/oZPo2nBOvxut7ZSt6ju28s27tZo2pxn9n8qugGy1uilvSNUIz2eVaNIXeq7zqDHOzBPOOiEydaaPu9SECUmpP2LV4LjBfTnU/6NY/6UdE37qO2OHEWK6siaKrt/0EnyMSh3JbsQNHg1fXXwq1Wdm4u2wriIWcMOGWWeWvKX+/zHHJqUCcA1Wi+O5J9Ucc3Mc5Epw3qsnjpbaDBSkbXuuHypUtBv3sXY7/F+zsgrOPrxjhIz7WTvIwmdtRnkw2JQ+mL/imOYyFL9rHG+bERds2Q== 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=jxQJCBeN5EzB7Qgd4S4zm2ikOQzNLNC7TaXrNQ9R9gg=; b=DCucwczL1u6jI+idMYk05AJWCba6UyC1hz25YfW6r2Et14Ijln2n3oeX1uh9kY/4M8LSgCeRtUyrTH+svrhE3TEoDTexc6ZZ4uTtH3DOUjSaEIV/lYipuz22lRlHl7QPVNUhh5yNnj4UpFfMHP14TQpTlp5sH15E5QyD7RNgak48B1hwMy3dODjENvRM/3vpWWJwMKYm5HVqLJV+FAEe5CV3FGY8P0rBXuClPCZs2R4HdBaXpxBjEJFRALAKy16RjcOaxx/nmfoDmXTRQ52kK8WrtSvpSPVizhEYl1eOmIqFAyslSzfliPG5rY5CpWzq9ciVraKLV8NeG/nw9A1ZVg== 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 SJ0PR11MB5069.namprd11.prod.outlook.com (2603:10b6:a03:2ad::6) by PH0PR11MB5879.namprd11.prod.outlook.com (2603:10b6:510:142::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Tue, 13 Dec 2022 00:05:53 +0000 Received: from SJ0PR11MB5069.namprd11.prod.outlook.com ([fe80::10be:d81f:bb30:52d0]) by SJ0PR11MB5069.namprd11.prod.outlook.com ([fe80::10be:d81f:bb30:52d0%5]) with mapi id 15.20.5880.014; Tue, 13 Dec 2022 00:05:53 +0000 From: "Min Xu" To: "Boeuf, Sebastien" , "devel@edk2.groups.io" CC: "Yao, Jiewen" , "kraxel@redhat.com" Subject: Re: [PATCH 3/3] OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for Cloud Hypervisor Thread-Topic: [PATCH 3/3] OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for Cloud Hypervisor Thread-Index: AQHZDgi7BfilcRuwaE2O40R3OwpkmK5q8SBQ Date: Tue, 13 Dec 2022 00:05:52 +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: SJ0PR11MB5069:EE_|PH0PR11MB5879:EE_ x-ms-office365-filtering-correlation-id: 90002931-1d9d-41ec-ce78-08dadc9dccc1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5KPS1sQRGPhG7yFF4+i+rfF1oAqIRzLEflCMtJliywtYMLeDRpQUautthuwKVYFOuftxkRl1N7/PN5oq8spdC64bQthAqvweyi5VrZS2doOyzx7Bip2KTToslIL53Ki4KUbSI2QgsjfISyK4eNkGQ5pYYN2JG9SRkc+YU8LQE6CYpNOJXYmybnc6XlvgwBD5IHNkiIsD516sJZHp5zt7yW0SecwfgtfRngCbLx0qF59Xk3egp+OtHm1gfl9a6s9dcOb6od7QvPtLGUg1LQ7puLKTEKh/bRtTk/ntwL0vTyiioHBat1Zd+Q8uwP/c9oedawqo46N9sba+FCUtmHs0Y5ZI6DaBV+vOJAxKDK7N+GMa19h33BoKsWWfbk7LRzpUy/IRIjBHuG2RI2nHzBEDf+be4mh0ZysMYHOWyz514SudMSXNBMqUCTZpm93LArqBgJbFNzeEWh49VGSmxwAeWz1hmx9FSIVK0orzdW2fKTRYKYiTzAMkwwI+U2rkoBwxbzvYcXhw1kj6PB57cvJVoVa7t0ImtGu/sJEKt3//lxt1FqMgm5wFUhFybr/7Fx0ozMo/cmWLyQyGOctm6NEFarlhRveTLuQIVIrT4ZSrXngRRUArhHtDbu8Dx8cb8K0eUpGoeDoTyBkrJN6Hyk0KJmMgqiCcGzaCl+SS9oDPfF80ZgucHcEJh5+VtDrxnDXNvNcSuDnrUl62CXchUaWnHA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5069.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(396003)(376002)(346002)(366004)(136003)(451199015)(82960400001)(2906002)(55016003)(38100700002)(122000001)(52536014)(41300700001)(5660300002)(83380400001)(4326008)(66476007)(76116006)(66556008)(66946007)(8676002)(64756008)(66446008)(8936002)(316002)(86362001)(7696005)(38070700005)(6506007)(478600001)(54906003)(33656002)(9686003)(26005)(110136005)(71200400001)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?W3OFp5LWBJ792ZdiV0ocOoyJPcERgiEUqnfy+sQUqGwCnJVHOnZ3qBJCXHx1?= =?us-ascii?Q?n7FLuZo2gjqB3bxuaeQbf+8uKr5qBnil+TSI9cwhw+kVnKVgrjJet6HhFTYk?= =?us-ascii?Q?OvSKoSbm4BV+w06wF9wiqBk104j0JkNA5SWQYMZ/FFFdptTdlDATRJB0ZeZX?= =?us-ascii?Q?gqGcz4RAvLTSdvYx2BfhvFJToqhlh8dXBY7t82mIfUuPwMbbI776zvyN7gNI?= =?us-ascii?Q?to+46ES0PnwEMeh75BqA3feLxiie7C29MS+WE+c8x8ejIJyj6FicRkx0scGL?= =?us-ascii?Q?7d/DdRpc81HBiOZFVf1kJTs+DL7Z8OOo/e4sMLI6S44RreFsGRMNZuZMnpwD?= =?us-ascii?Q?mpOJmcJ2tLi2vxMjCF1KdPoLP5ZcdBTAbLB4TocJw3fFKJSVrklF8TIjgBX0?= =?us-ascii?Q?T+SEFxm5dLBciTRqGu+Osjp/wHrdFLRScCdnUpvcEIsPc6oXekjOtBvHlwyq?= =?us-ascii?Q?/C1WOIsNByOi8JTA9Yi8i1g5PabdWKpeV+6C5P82UFg5UZ8PGHOI4DcxrDoV?= =?us-ascii?Q?d0efaKawqGlSEtYf/H0qZowZgYDlcsDFjtp26SfAhbrqaDbVXk0Kki8zC8B1?= =?us-ascii?Q?nT0Nk17i4BPiAP8VqiD+AKWSvUXvgSN6fqMcBCNoDUBxsgiqb4FA7SHN6fzA?= =?us-ascii?Q?wIM/yPxqr9f4AM4lnrd4Q5J3FTgInZEGImYNyuvEF6PK6YK8AI6glUvQxYi6?= =?us-ascii?Q?HDCh9wSRIEq8h23MHA86WmROmiDmt2fi+CJsUpDtPqsi8XaA3/h9SYA3HrG/?= =?us-ascii?Q?2CToZOPCMtb02TMjwvAtQ1ho9yreU7JrBgvs31JuvetG7SVbT5uXAZKdDPT2?= =?us-ascii?Q?3WKDfcWlA/5Ok9auEkmwUkdJ6GAvc/fVKMknHXEZ1/qIY61a99xQDlT57ajV?= =?us-ascii?Q?qY2XV9iP2+tWdF/wqPOL0L0Ga/thyTX/Ysns/gmWgTRrqxudbX6vmpj0GWvt?= =?us-ascii?Q?+ZXPBjcNWOE3FsvweeW+2gDQsv1B483VvfPpy3cYQ+x30U5CdNqLv+gHS7/P?= =?us-ascii?Q?8HD//GV+xVHmuy5iBM6ekEVJ23bDz1Cr6xRrMHOEbpFWguVS/rDpm2bPDaX3?= =?us-ascii?Q?rKyaL6KcbYdR2I8W8ONtqbrB1AAcD5ZCk2TUXtbDwMZJFKYhrW9jQopx66I3?= =?us-ascii?Q?RP9GvwzZHZUR6ZjdSP5VflZRwEVkIEAXFpyr5f8DmQ4srdd8CmIr65azRBAN?= =?us-ascii?Q?Hmtz21zDCFp4/yPb81UcnOFcUtIHg2LZLdJ1EzYFPT/XTP/d+diYe3Yf0sJc?= =?us-ascii?Q?VRlDv71IZyy8GVaED/eaYYQy+VhAmFEi4lp6Jz/QD5VzygWEbMc9ek10X5cG?= =?us-ascii?Q?rV20bn+56rw/WtI1SLhbjM0ULdf9efGYi7J9erAgjHQM/ubTOnTQbP6lhdID?= =?us-ascii?Q?B+a+lofuz+ox98drSd291E/3mZb1ynYbnGT318cvRYUvqDypC+/IoNV8gH2f?= =?us-ascii?Q?6MCJHS3M5etMMX/gz0Gtm56WLRcCjNN0M22Ic9hb+xH6G3qhRDll2uyBr+Z2?= =?us-ascii?Q?7tpaqq6SXCmgAc/pThM0GctQoAyypFOYlYbXqespmIozUJrvAPN3Re32E1VW?= =?us-ascii?Q?oxLjIi38zkjded9t08/PE0zAJzvXbDJAS7FGSXPy?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5069.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90002931-1d9d-41ec-ce78-08dadc9dccc1 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2022 00:05:52.8951 (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: iqWpm/L5qBFFasmreBquke1uj8H1yyTL+KArFzlOEXiFLZr7bniBMO363msjtknt5Oi+p42oGvtqSoWGF0g6IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5879 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On December 12, 2022 5:04 PM, Boeuf, Sebastien wrote: > Subject: [PATCH 3/3] OvmfPkg/AcpiPlatformDxe: Differentiate TDX case for > Cloud Hypervisor >=20 > From: Sebastien Boeuf >=20 > Rely on CcProbe() to identify when running on TDX so that ACPI tables can= be > retrieved differently for Cloud Hypervisor. Instead of relying on the PVH > structure to find the RSDP pointer, the tables are individually passed th= rough > the HOB. >=20 > Signed-off-by: Jiaqi Gao > Signed-off-by: Sebastien Boeuf > --- > OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 8 +- > OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 6 ++ > OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 2 + > OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c | 87 +++++++++++++++++++++ > OvmfPkg/OvmfPkg.dec | 1 + > 5 files changed, 103 insertions(+), 1 deletion(-) >=20 > diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c > b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c > index fcfb9703bd..0cc3d958be 100644 > --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c > +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c > @@ -9,6 +9,8 @@ > #include // CLOUDHV_DEVICE_ID +#include > // CcProbe(), CcGuestTypeIntelTdx+ #include > "AcpiPlatform.h" /**@@ -33,7 +35,11 @@ InstallAcpiTables ( > HostBridgeDevId =3D PcdGet16 (PcdOvmfHostBridgePciDevId); if > (HostBridgeDevId =3D=3D CLOUDHV_DEVICE_ID) {- Status =3D InstallCloudH= vTables > (AcpiTable);+ if (CcProbe () =3D=3D CcGuestTypeIntelTdx) {+ Statu= s =3D > InstallCloudHvTablesTdx (AcpiTable);+ } else {+ Status =3D > InstallCloudHvTables (AcpiTable);+ } } else { Status =3D > InstallQemuFwCfgTables (AcpiTable); }diff --git > a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h > b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h > index 342339750d..3ec5098658 100644 > --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h > +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h > @@ -19,6 +19,12 @@ typedef struct { > typedef struct S3_CONTEXT S3_CONTEXT; > +EFI_STATUS+EFIAPI+InstallCloudHvTablesTdx (+ IN > EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol+ );+ EFI_STATUS EFIAPI > InstallCloudHvTables (diff --git > a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf > b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf > index 09daf30bcd..dd03eccd88 100644 > --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf > +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf > @@ -45,6 +45,7 @@ > QemuFwCfgS3Lib UefiBootServicesTableLib UefiDriverEntryPoint+ > HobLib [Protocols] gEfiAcpiTableProtocolGuid # PRO= TOCOL > ALWAYS_CONSUMED@@ -53,6 +54,7 @@ > [Guids] gRootBridgesConnectedEventGroupGuid+ > gUefiOvmfPkgTdxAcpiHobGuid [Pcd] > gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumerationdiff --git > a/OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c > b/OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c > index ff59600d3e..cbe8bb9b0c 100644 > --- a/OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c > +++ b/OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c > @@ -7,14 +7,101 @@ > **/ +#include // > EFI_ACPI_DESCRIPTION_HEADER #include > // CLOUDHV_RSDP_ADDRESS #include x86/hvm/start_info.h> // hvm_start_info #include > // CpuDeadLoop() #include = // DEBUG() > #include // PcdGet32()+#= include > // GetFirstGuidHob(), > GetNextGuidHob()+#include = // > gBS++#include +#include > +#include > // QEMU_ACPI_TABLE_NOTIFY_PROTOCOL #include "AcpiPlatform.h" > +EFI_HANDLE mChAcpiHandle =3D > NULL;+QEMU_ACPI_TABLE_NOTIFY_PROTOCOL > mChAcpiNotifyProtocol;++EFI_STATUS+EFIAPI+InstallCloudHvTablesTdx (+ > IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol+ )+{+ EFI_STATUS Status;+ > UINTN TableHandle;++ EFI_PEI_HOB_POINTERS Hob;+ > EFI_ACPI_DESCRIPTION_HEADER *CurrentTable;+ > EFI_ACPI_DESCRIPTION_HEADER *DsdtTable;++ DsdtTable =3D NULL;+ > TableHandle =3D 0;++ Hob.Guid =3D (EFI_HOB_GUID_TYPE *)GetFirstGuidHob > (&gUefiOvmfPkgTdxAcpiHobGuid);++ while (Hob.Guid !=3D NULL) {+ > CurrentTable =3D (EFI_ACPI_DESCRIPTION_HEADER *)(&Hob.Guid->Name + > 1);+ if (!AsciiStrnCmp ((CHAR8 *)&CurrentTable->Signature, "DSDT", 4))= {+ > DsdtTable =3D CurrentTable;+ } else {+ //+ // Install the ta= bles+ //+ > Status =3D AcpiProtocol->InstallAcpiTable (+ = AcpiProtocol,+ > CurrentTable,+ CurrentTable->Length,+ > &TableHandle+ );+ for (UINTN i =3D 0; = i < CurrentTable- > >Length; i++) {+ DEBUG ((DEBUG_INFO, " %x", *((UINT8 *)CurrentTabl= e + > i)));+ }++ DEBUG ((DEBUG_INFO, "\n"));+ }++ Hob.Raw =3D > GET_NEXT_HOB (Hob.Raw);+ Hob.Guid =3D (EFI_HOB_GUID_TYPE > *)GetNextGuidHob (&gUefiOvmfPkgTdxAcpiHobGuid, Hob.Raw);+ }++ //+ > // Install DSDT table. If we reached this point without finding the DSDT,= + // > then we're out of sync with the hypervisor, and cannot continue.+ //+ i= f > (DsdtTable =3D=3D NULL) {+ DEBUG ((DEBUG_INFO, "%a: no DSDT found\n", > __FUNCTION__));+ ASSERT (FALSE);+ }++ Status =3D AcpiProtocol- > >InstallAcpiTable (+ AcpiProtocol,+ = DsdtTable,+ > DsdtTable->Length,+ &TableHandle+ = );+ if > (EFI_ERROR (Status)) {+ ASSERT_EFI_ERROR (Status);+ return Status;+= }++ > //+ // Install a protocol to notify that the ACPI table provided by CH i= s+ // > ready.+ //+ gBS->InstallProtocolInterface (+ &mChAcpiHandle,+ > &gQemuAcpiTableNotifyProtocolGuid,+ EFI_NATIVE_INTERFACE,+ > &mChAcpiNotifyProtocol+ );++ return EFI_SUCCESS;+}+ // Get the A= CPI > tables from EBDA start EFI_STATUS EFIAPIdiff --git a/OvmfPkg/OvmfPkg.dec > b/OvmfPkg/OvmfPkg.dec > index 5f5556c67c..a350bb8f84 100644 > --- a/OvmfPkg/OvmfPkg.dec > +++ b/OvmfPkg/OvmfPkg.dec > @@ -151,6 +151,7 @@ > gConfidentialComputingSevSnpBlobGuid =3D {0x067b1f5f, 0xcf26, 0x44c5, > {0x85, 0x54, 0x93, 0xd7, 0x77, 0x91, 0x2d, 0x42}} > gUefiOvmfPkgPlatformInfoGuid =3D {0xdec9b486, 0x1f16, 0x47c7, {0= x8f, > 0x68, 0xdf, 0x1a, 0x41, 0x88, 0x8b, 0xa5}} gVMMBootOrderGuid = =3D > {0x668f4529, 0x63d0, 0x4bb5, {0xb6, 0x5d, 0x6f, 0xbb, 0x9d, 0x36, 0xa4, > 0x4a}}+ gUefiOvmfPkgTdxAcpiHobGuid =3D {0x6a0c5870, 0xd4ed, 0= x44f4, > {0xa1, 0x35, 0xdd, 0x23, 0x8b, 0x6f, 0x0c, 0x8d}} [Ppis] # PPI whose > presence in the PPI database signals that the TPM base address-- > 2.34.1 Reviewed-by: Min Xu