From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.8331.1667544229845798746 for ; Thu, 03 Nov 2022 23:43:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=fK1jc3ZW; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667544229; x=1699080229; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Q/Fy2Xzq5uNFP1m43MwDEkai5wMlxj53Nff9VxPdDro=; b=fK1jc3ZWiFBsTcA/oyq8JQhCPS/1RM5NK4i7QmKNSITjnJ9RyOeyKh7P o/Xen+n9LE5XyjT7Oir4IkLZws41SkePZij1CkS5xWIF8h3jJLlXubfwi /AjeLDyMcuwQY86Q2BkVOBbYzqUtBIrSkJWRB4XKU/BMPFnOB7T+EzDUe dfQYmqR87+swF0CRybWCY4yWURTgD4dT07MzJUREzALMyuvy8n1pIkpDh +v+Szc7GT/uz6Iz2xRI/u47N7yjDruf0lXe5i1g/Hd2vNlSi3aheAaSCE m9BAVGvtFw2BLTxS5Iurm7lWk/EjA5P7w0AaC3zcHiPX+hoNgJwNl2AIE g==; X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="311633000" X-IronPort-AV: E=Sophos;i="5.96,136,1665471600"; d="scan'208";a="311633000" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 23:43:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="634984514" X-IronPort-AV: E=Sophos;i="5.96,136,1665471600"; d="scan'208";a="634984514" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 03 Nov 2022 23:43:33 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 3 Nov 2022 23:43:33 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) 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.2375.31; Thu, 3 Nov 2022 23:43:32 -0700 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.2375.31 via Frontend Transport; Thu, 3 Nov 2022 23:43:32 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) 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.2375.31; Thu, 3 Nov 2022 23:43:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bh5htFSDp1dsyAkNBAWUNampcbcuwu7Ha7ACbhgEfAkvmkGSV9xqoc1nSUmaSiHYPvbLeG4ZrTZlEKeBL3KxdEtWqHxeImmCXpxn2XKibNwz/QkxsuG19DEx7ROC4kRpuLnLep9rujUVcugc17K7cVFvDfYq6HQI3EQvTKUi/Y7H7DeXr00a0tLQP2kjhFFIpH3YW3BTCHusX4V2s73Q70HaKxYVQtckeLW7UlJjgZ/89GkkDLmkT59WVdz3M1l0/y4AcSoasd1Bi/IoLydMk+VjdRQVfzNcRt/kfgoSw8RC0V5aSP3Zc9w3vhmZg76av2e8Xx7q9jIiyfRRyl3t4A== 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=r78ATbgAkWMojYNje4UsaNmxYpxcHjFTubdFN6NfXX8=; b=Nd2llK1rIw/Ty+MNUTT7JlGylbtM00Hwki4nJRT4EoMomQuTc6Mamg50uLrCX7TG/aBSDjGkcDd/4PtR0wDO0Z5Bf+6f7mlaU3te5B6rcgruyIkKQjDvZbwoQWJQJNX7Sp9XI70PfcwkHoPzFTZQS5e2TLxFSa8Rs+EqHQZv6tF9Ii7x8na+sCwfIERTMmVHRDULu3rF2ndF/BcJYtSdKnRY+OP7J5uclasUweNeXmzR8/t5bQgUOdJmoXg6UV9+YzE3cbaEfysLubgG6LzrAaJ7PpCdpRwVF/N8ibcqzAhbpOnkapVGRCGqEoQc6yknx0G/fWYgJ8FILmED8MscyQ== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by MW5PR11MB5931.namprd11.prod.outlook.com (2603:10b6:303:198::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Fri, 4 Nov 2022 06:43:29 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::5594:2220:fe1:50ad]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::5594:2220:fe1:50ad%12]) with mapi id 15.20.5791.022; Fri, 4 Nov 2022 06:43:29 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Liu, Zhiguang" CC: Ard Biesheuvel , "Yao, Jiewen" , "Justen, Jordan L" , "Gerd Hoffmann" Subject: Re: [edk2-devel] [PATCH v3 1/9] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Thread-Topic: [edk2-devel] [PATCH v3 1/9] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Thread-Index: AQHY7cfohH1pttGQ7ECm1CPbUPWzPq4uVaeQ Date: Fri, 4 Nov 2022 06:43:29 +0000 Message-ID: References: <20221101075842.1218-1-zhiguang.liu@intel.com> <20221101075842.1218-2-zhiguang.liu@intel.com> In-Reply-To: <20221101075842.1218-2-zhiguang.liu@intel.com> 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: MWHPR11MB1631:EE_|MW5PR11MB5931:EE_ x-ms-office365-filtering-correlation-id: d03cae89-9ce4-4d15-f6f9-08dabe2fe250 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3g8qkAvIELVi79fTIzGlfrxZD2jNjx2cLJ2pbdRtayfJ6TVJEYuG6b2j1XApTNcmZSNcSr/p2OBIOYC4QENbTjLOw1JAN/3C/taoid4T1s9UW3S9lPue9VzWo3SmUUNXjdXt2eAFno2gEosZEG2xRRBNODNb51qTDUn0IPJMSQTKm4AVO/N2/JDMY5xm9EA3klE9QSjPUBtHqOjA7VGhJpf+GT4jwYVn9q//iBJAq9HSyyD/oLHt+A+lFkHvosbOgJtD8sxpPfBe1LViTZuxR52+upvNxN1RTJL1fXwx9LqLV1fNotLnv/hguz01ivecHrtYCoK0uiVol4i+7yLBmBLWPh+HvUjJ/WTrtKCEwA1sYG6Q4aNph07iK1jkBar4HIAzStswP9sxSDXVeOdbcn7HpjsNtPoJSRaZ6aAuc3ZxhOKCWnjIFFgNf4LcxQCu++6YEqD6qjCMGo+ZwD9hmFdLMUlYC2VYU+OMrlqk34aR/Hj/wtxwxlhi2Ms5uUeErz/soAU3mvddFO8Yoek0IqAld7ur2wR14CThkxQW0XDVj/Gfo+1+WEwi0U2J9WJ+j9q1QYK1//5tQRjwVNoYUVX+2b95eDKzUMDHVG3qPfB1FPwBOl8QniDUwb++MFXFctd36wvg6BHZIDiFPahai3ZJS709gqaFV1fCffdyZgAoKYZ6CYjlaHIIsqVmiZPT2ME1Lp+AMnMWaixkWk12dxNworXnkL0C2WIv/k7gR2eSuqOhZh/fs6ouSaUYdPdvQLa/wumtjsAaJffAqqbFh6hgVG6TKGt/ns8LMo92s8b9YO2f5OSLgDFkobx2sJlLJxD0fbnsvM/gnFHr6d5xpQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(39860400002)(346002)(376002)(136003)(366004)(451199015)(38070700005)(966005)(71200400001)(478600001)(38100700002)(83380400001)(82960400001)(55016003)(122000001)(33656002)(9686003)(26005)(53546011)(7696005)(6506007)(186003)(5660300002)(66899015)(8936002)(86362001)(4326008)(8676002)(6636002)(54906003)(316002)(2906002)(110136005)(76116006)(66556008)(66476007)(66946007)(41300700001)(52536014)(64756008)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Co8e1Z6qQnP/6m49zS0zXkOw+66tzr04msZWW+zCkTkbevPHG+5i45xEbj7G?= =?us-ascii?Q?wg5ems+qKQcUtMj22nSQEGBEu6a6a3IVkjKWksP2wRuU+nGay1ZN3IwbexdG?= =?us-ascii?Q?uXMQ/QG3KJb80BOd29WsEsFgI9oit4e5JHGqOWyV456L+/OgSP2HCbz7sbFJ?= =?us-ascii?Q?ZrhJbLgQc+lt4JJ7064STt53bikNwuffGHtfUx410YVpyB73ywPNm1989Bc3?= =?us-ascii?Q?gWeiQCD26i37P04HIvftsi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ascii?Q?EItOo4xaafty0aoa7btfAJLFh4zSGoQTPs4e1NoKrwuPp0fkwxF87PZRNBPp?= =?us-ascii?Q?OINb7KQCzItRAmAUIqrPlcQ+UTWxEdzpHnK0QOJsxb7YKCvsjQisP/NREM7b?= =?us-ascii?Q?mM+EPcaQOrYAtiCQDbk+jLHWnenYxek8kL50Q1UkohCzMMIkAyesRArB+EkW?= =?us-ascii?Q?G21as02Pox9F8oru4/DkR0fRDNSpIJSMxo5PeXaL/MXlwVFKHN7EgZgP4LQN?= =?us-ascii?Q?wDA78WSDWJ2mSi9IUamMLY4TiBSEfKdihjZJtaqxnRZFfKIcrxlTvaotMbFB?= =?us-ascii?Q?kQhSiK13MEl4jI/jxaPDSDgZy8+WNEjVisw8WA7RTic8WTptCq4rIO4n7aCV?= =?us-ascii?Q?ZSNyreacxKP71o3OhfHcQD7OgivQgbf/c7YkZ3riMCBznVedOApjFm/3AulA?= =?us-ascii?Q?G9P8ALZ0xRz837DL2Mk=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d03cae89-9ce4-4d15-f6f9-08dabe2fe250 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2022 06:43:29.5731 (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: HqnBGex87scxcQhXfLL2ajenFclvlOa8BREc3bZYTxAyynSskiQVDAKhY6JA8pd49zHnrhoPvbfkAfPZ3Smdiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5931 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of > Zhiguang Liu > Sent: Tuesday, November 1, 2022 3:59 PM > To: devel@edk2.groups.io > Cc: Liu, Zhiguang ; Ard Biesheuvel > ; Yao, Jiewen ; Justen, > Jordan L ; Gerd Hoffmann > Subject: [edk2-devel] [PATCH v3 1/9] OvmfPkg: Add CpuLib to module INFs > that depend on UefiCpuLib. >=20 > There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and > UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build > failure, add CpuLib dependency to all modules that depend on UefiCpuLib. >=20 > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Signed-off-by: Zhiguang Liu > --- > OvmfPkg/IntelTdx/Sec/SecMain.c | 1 + > OvmfPkg/Library/TdxMailboxLib/TdxMailbox.c | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/OvmfPkg/IntelTdx/Sec/SecMain.c > b/OvmfPkg/IntelTdx/Sec/SecMain.c > index ab01ec9ab1..eef47f17e4 100644 > --- a/OvmfPkg/IntelTdx/Sec/SecMain.c > +++ b/OvmfPkg/IntelTdx/Sec/SecMain.c > @@ -17,6 +17,7 @@ > #include > #include > #include > +#include > #include > #include > #include > diff --git a/OvmfPkg/Library/TdxMailboxLib/TdxMailbox.c > b/OvmfPkg/Library/TdxMailboxLib/TdxMailbox.c > index 74cb55611f..0e2515ca38 100644 > --- a/OvmfPkg/Library/TdxMailboxLib/TdxMailbox.c > +++ b/OvmfPkg/Library/TdxMailboxLib/TdxMailbox.c > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include > #include > #include > #include > -- > 2.31.1.windows.1 >=20 >=20 >=20 >=20 >=20