From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.22934.1639237279836042889 for ; Sat, 11 Dec 2021 07:41:20 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@intel.com header.s=intel header.b=iP5OzWRb; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639237279; x=1670773279; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=CBAEXzH3Ox33VB81ZC/AISMewZUVi5nsSf38GlGjouI=; b=iP5OzWRbMDiC+Co3iq7F8PJiVMxs1Mt0T6bRE4jGJH3TeYHtcgDLO4Au lf6dcELNGvpO1QDnDdnbaqy1ocj/vkgPD6qQ/nO58qNn2AenJTiILtVbq l9QsEKestL6Tg8Ztp5VVFMDTwC/2hVELh5ECaRrpeG9Y7o/GUlj8kuvZg nrEFgHc7xYvywKdmXwoDkrJ46CCPHBrEfkW8bAviXEckMLOrPlpxbnEMt iBhMb8vfKbJbK6WkzWjOXIIcAeU6c7ZKlYvi6KQAH72O7/M+SvBf77hue tNzTBF2vhmrFVvd51xWoOL46Rn3dVqqJKtmmxMVNmzGD9C4HodwnboBxO w==; X-IronPort-AV: E=McAfee;i="6200,9189,10195"; a="238765827" X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="238765827" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2021 07:41:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="753601140" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga005.fm.intel.com with ESMTP; 11 Dec 2021 07:41:19 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sat, 11 Dec 2021 07:41:19 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Sat, 11 Dec 2021 07:41:19 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.46) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Sat, 11 Dec 2021 07:41:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Suc7kQnCUNx8VmkdGRT5GsjLqL5CCo2aiyzr4f5aY9f6pJ/svUDj0o7jYnoY9dsF7XHO6gf7nPzigaEhvqcr7QQM3NlOTFyym2Mxcg4d1HhMUze+KQaTnuAZWXT+NAD6aYQVcIJ8phCck+UgPlTJlEi6KMktF86f+6D4jjGet1xYZoRQgfwFuwi15bSi2MAG0nSMNtFGfH6jUIu5qlx6JoTYMJDZ2epUQwXuuqT+TEhRugW2o8NccOBbdcOZWRPQYZSdHjOX8DIFH2BolzUEQgTw1FsVVpmeukBXBceglzZmhgIoC+pN4pTySVsNNuiWdReAO/LIr/m763WwheeYoQ== 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=duZIIw60i39Vsfbgohbue3eIE9wpBYN9PKOY1qsM86A=; b=NkhEL+tiVpJ1x36BWVEYhzKUemmqMfsjDYmVPXLMN27bZmg7M3oWm65X4DUPeYT2KmSp28NgeKXl8l7mrt0OWTjkI2n6F48iXPEmQrbgObB5h1CmS/alYVJv+1HUm60QUOJUcwUbEz6XmxSR+RUOxaiG90BMNWbNiNpVaI0l0IfjsnxfYL6qVkYYTbrAYf1JDxiw49WR4qnSNiQISVYFG5z2UG12iJbhThNlfscx+U6U48go+mH1OCy9zbnZ5gbW5BjlNcsZmUi1nXNxBzjKXkVI8sXmXgpOeVoqI79fYegmBOIGnZdmIY+bJDxtKykm9I+1VAk9IMSte5Jymnk2mA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=duZIIw60i39Vsfbgohbue3eIE9wpBYN9PKOY1qsM86A=; b=yPvQj8fzjWMCUZUJfzQNvf7e3h04GQu9rHczZDiqWe4M3C8pYzwqzkNFgCfHw0E1BJdw2RGCI2J2RBwE0vd7m7tGzkvEgf8dVS8ElaCKUlAKtWGReKL0NygILz3yTjcYuRXzOkpuN5xeTXMsBeFFIJdyMlVRI6orESxfOLo1bQ4= Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MWHPR11MB1695.namprd11.prod.outlook.com (2603:10b6:300:22::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Sat, 11 Dec 2021 15:41:14 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::447f:7fbc:72f5:fbae]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::447f:7fbc:72f5:fbae%5]) with mapi id 15.20.4778.012; Sat, 11 Dec 2021 15:41:14 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Yao, Jiewen" , Jason Andryuk CC: Ard Biesheuvel , "Justen, Jordan L" , Gerd Hoffmann , "Anthony Perard" , Julien Grall Subject: Re: [edk2-devel] [PATCH] OvmfPkg/OvmfXen: Fix Xen build Thread-Topic: [edk2-devel] [PATCH] OvmfPkg/OvmfXen: Fix Xen build Thread-Index: AQHX7fkGCGVX9ucEMUq6YH5F0CZB1KwtZasggAAJWmA= Date: Sat, 11 Dec 2021 15:41:14 +0000 Message-ID: References: <20211210190552.73854-1-jandryuk@gmail.com> <16BFBBCA8EAD02CD.24693@groups.io> In-Reply-To: <16BFBBCA8EAD02CD.24693@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0e533ff9-b55b-4812-9b52-08d9bcbcaa33 x-ms-traffictypediagnostic: MWHPR11MB1695:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:249; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2thERsxy5OMCqxRM0k7iLYpOU093RbCwkn0mj9XGKKuBqTlzVzhJm7HUEx+Wy3QcHTgCxppUXXXegSMvT/J0FH4OkX5+FAHXJr9y+/qllZLsqJjYGo6zvqHLIIyfoq/UKhFOeZMXr42S2z3bpMcLcokOAkj5/GDFeOw7ES0hFXqDthFe92DLwJCaB/WMlVQ/BHHzVGfMep8FVeBUqHb8QiMIHMFeaxZx6kXvwn78oBX9FLc2/JN4aZnZS4XcodAaK7O+c4FZdDgp4yKkn5x5s8lGvJvoga8AjKc86Irj5yC/pi1Bcm6Z8jFNgFvs8Rs1IVtcgd+r6l80gupDP8SuS0SNfmGz2+e4cDjCHT4uaNiMUVHkLQMuDaSsJiJCL8bElthTtaMhvA1qFlCTdCoihYsklrqoBkv9XZVvvsiZRPVpWdKau5dDTOfRgsyM6v/XlIDVauNNz07xNEpdvZrq+UbA5+chNfONI9psNanavXh7iN/rkZsT2gAYfojoF4x6NeaLVF1Bkuh+EpNexwLegt/wVlVr+BrsrWdnphGabnAumZldNwQbQ+HGQ6UDPRnLxnW565eQSVDrMKlO7xxpI/i+oAG0phUp0ALQfTCHXJjPGXdu1r5IrvQj2Jf6C13oMr0iCOtGPB09Lb3rdixtifQZN5DrdZL2uer3I8tXm7f6ncap+AU7okz5KzNKXJnCsiDsnHWnwlAbrfIKDfKBsvo+67yNRpVNwgbqhIEpU9rJXfGgcatEqhnVD0a3rL/HlgO8jN2jXuR4/3xIqzO4GGklEk0DVhRAqwf+CqK60EaCPd84tHxSWn8QJYitzhaCeU6IxZHsp/BHCOTIKXN8bA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(5660300002)(86362001)(38070700005)(82960400001)(83380400001)(33656002)(38100700002)(122000001)(508600001)(966005)(54906003)(110136005)(7696005)(76116006)(66946007)(186003)(2906002)(66476007)(53546011)(52536014)(6506007)(66446008)(66556008)(71200400001)(64756008)(26005)(9686003)(8936002)(316002)(8676002)(4326008)(55016003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EiddjiiEwARf/hpIc+UmPSoycgMkjCoSEX9c41zbRe6EaCwDU2ahxrCd5VUN?= =?us-ascii?Q?7lFfd9qO9AauQE9eWJREKnpEeoJbe8EsjVpoTWFZWENJ4dtmBOp7elh0/HfK?=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V/MCrklGIX5T66r1LyRG5Tyazifj?= =?us-ascii?Q?OuYZWIrmBwWMIpwo19b1FKtvPuGernMqhH7N9Dlbohtz7O2BU3H7l+YkVrQa?= =?us-ascii?Q?UYh9QcYSut0hplGjHrOmbOqd2SH/xlBbEdBYpCvkc6aEU4x6Wg5lqluSf7o4?= =?us-ascii?Q?AwUsO1gOeREB0ar1RT8MuaG5A8sVKGUIH3RkTcnMgpeBT6O7HT/20j0E5mE9?= =?us-ascii?Q?0z7Yjaiu9Ok3lYW0ZZCn2tBrwREoF2ldHoGZMvWe3RXqM7I5gZeFwGxsIiTT?= =?us-ascii?Q?eha8vWBM27fCmT89i5qoPCsXk15zSWkVw3OvT9lOz55mEyyysjLv0F1hnaZP?= =?us-ascii?Q?BLkONqkTP/DK3SoF07odAuYBbrDQU+jOlAIyN1fibBrWvpWuJhk0HDUgYws+?= =?us-ascii?Q?G3km6Xkhfc/BREprgDhfplFVrcDn7MNxB7Kp818MD5Ru1zQA7+CDTxQOmqLV?= =?us-ascii?Q?I7v6hkec0ZIa26ugGkw+0vl2JAiP64WEp7ngPCTTB6oU/4LiLDaq+EU41NGW?= =?us-ascii?Q?yPmMY17vHh2ap/I3BhH3gfbFs9vMyptNqZe+mOAzXMYhcpkO2+hsbAKhYWZY?= =?us-ascii?Q?fgrC5zCP5jfnMVDTPpqpRbixfFLVbf3EsJ4BYvHIhGga0f+Oz7QXDGgEcO7i?= =?us-ascii?Q?vz8U/JVPd+GPvrKJ5S7QuO4=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e533ff9-b55b-4812-9b52-08d9bcbcaa33 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2021 15:41:14.3924 (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: em4ynGpBsYV9wAPyXj+YgjYTuwN8oI2iDWkkCDXOotSoUljIXCTV6yBfLvCXRPDN4tDwVl5Gxv/jTvgZo1GGuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1695 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Merged - https://github.com/tianocore/edk2/pull/2289 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yao, Jiewe= n > Sent: Saturday, December 11, 2021 11:08 PM > To: Jason Andryuk ; devel@edk2.groups.io > Cc: Ard Biesheuvel ; Justen, Jordan L > ; Gerd Hoffmann ; Anthony > Perard ; Julien Grall > Subject: Re: [edk2-devel] [PATCH] OvmfPkg/OvmfXen: Fix Xen build >=20 > Reviewed-by: Jiewen Yao >=20 > > -----Original Message----- > > From: Jason Andryuk > > Sent: Saturday, December 11, 2021 3:06 AM > > To: devel@edk2.groups.io > > Cc: Jason Andryuk ; Ard Biesheuvel > > ; Yao, Jiewen ; Justen= , > > Jordan L ; Gerd Hoffmann = ; > > Anthony Perard ; Julien Grall > > Subject: [PATCH] OvmfPkg/OvmfXen: Fix Xen build > > > > commit 202fb22be6e9 "OvmfPkg/SecMain: validate the memory used for > > decompressing Fv" broke building OvmfXen with: > > > > edk2/OvmfPkg/OvmfXen.dsc(...): error 1001: Module type [SEC] is not > > supported by library instancer > > [edk2/OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf] > > consumed by [edk2/OvmfPkg/Sec/SecMain.inf] > > > > The above commit added a reference to MemEncryptSevLib into SecMain.inf= , > > but OvmfXen.dsc doesn't have a MemEncryptSevLib entry for SEC. Add one > > like OvmfPkgX64.dsc has. > > > > Cc: Ard Biesheuvel > > Cc: Jiewen Yao > > Cc: Jordan Justen > > Cc: Gerd Hoffmann > > Cc: Anthony Perard > > Cc: Julien Grall > > Signed-off-by: Jason Andryuk > > --- > > The error messages was long, so I wrapped it. > > > > OvmfPkg/OvmfXen.dsc | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc > > index 383cb03d2a..a465c0cc60 100644 > > --- a/OvmfPkg/OvmfXen.dsc > > +++ b/OvmfPkg/OvmfXen.dsc > > @@ -247,6 +247,7 @@ > > !else > > > > > > > CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCp > > uExceptionHandlerLib.inf > > > > !endif > > > > + > > > MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptS > > evLib.inf > > > > > > > > [LibraryClasses.common.PEI_CORE] > > > > HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf > > > > -- > > 2.33.1 >=20 >=20 >=20 >=20 >=20