From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.22553.1639235266907726477 for ; Sat, 11 Dec 2021 07:07:47 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@intel.com header.s=intel header.b=mrNQGHQA; spf=pass (domain: intel.com, ip: 134.134.136.31, 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=1639235266; x=1670771266; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZBNgrhF23iPMvCRQvwvWXpzptUQR6/bvwsHcbt6oWFg=; b=mrNQGHQAnqwbmoBKzAcn1jANyzmtyHX+ANj0CcuVxLjtrMTo/deCr3Eo YvpoE3Q64ajHdfwN451gayObwHDnbUrqSzS8taCRQIjCNO5f4DNCv0euY iVGmFcMd0sT9eILS1TEd3boen47yPfyaN5+9PLck+noiC1Dkh+qigr7S2 6SmEEo8WHGBVOi0h8OKPDKHdbXskM5oQuyLKh2owmC0Tw26wCQKA2Ajcs junssPuOmG6vJao5z+BboR5V9JJSD9AsBtl7eENVNb07s827/NPKxfpBi HWXa9L10pTzl2n4BFDd+kZX/kIThgodmHSBxVaVd04mWDPJ0qsgb72GfL g==; X-IronPort-AV: E=McAfee;i="6200,9189,10194"; a="299324844" X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="299324844" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2021 07:07:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="517745873" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 11 Dec 2021 07:07:45 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) 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:07:45 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX610.amr.corp.intel.com (10.22.229.23) 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:07:44 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) 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:07:44 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) 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:07:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IxbjBzgEY6L+6l2KQfKHuDX7gWvzqyRe0E5rGHhfjaW/NrhFyWmXtNHYih6qqWg6FP9xZmkPACswnfuSoSY//zy5lZDDp/sTNkSxLp5AkQF3m97l4K4yWtKfLnoMjhn76e7o7vJPRmGDtg+p3bYAkAyPm1Vv6RTvAqghBby85PDNFy+cj54lxSASAkRgCieb29JTCH8kPmvn1ib/+se0tC1z2gGlTRMkwRdtqGQixURS3EquJ6egZ8dqJXy0p/uGgvkXxev6IoYbrF6+WUjFkF3FB+Y0lmWZ5NC321SngZO4jbjqp9ZzPyOPPIP4Eq+xh0wkQkfpQfYxw2fCsJnldQ== 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=hGVvb0sOa18Ve+cBwizKDBS/XnTcUgNJc1foK+OLwOM=; b=D0J95Lh75sApGpGOb7gGxMbnvWAZ6IJA2RAj4UxgPxOWPVGpZwwDpyXimNeZfch7uzD5jNXh2DdgM4wTW4paE4ZNfXSnVbtRxStXBx8OEnP/tL4Qmgo8F00QnGTxwhiIdsWtMSUCNqIDq2hzGoE6Z3vvHMNyUM8GqQ/TjiC4CcZpyPl07p+XVczSGsil+LN8mvfzLSiHu8V2exs/M1+afLUa6FlpTpIu7p9K9U+xB7leUrLvRiIFki+/BpPJv8sKViIJpwFRUJ06uXPxyHOaYfJuKnvW41s45MnS5t4XtZoM7oC1PtbWN18ZT6nO40vm2jsTXffLR/HcaxRIx39Gow== 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=hGVvb0sOa18Ve+cBwizKDBS/XnTcUgNJc1foK+OLwOM=; b=XmuHlrewOiRNKreXlDxXPJHR5FKTKLXKtTeq5WSJE+tz9YzRD47LePTDYvELvJD+cR9Xinx0OqJFrBfHxBcgrsqlfcxfXs6oblAvCwiLt9UQRX4Mk+9KUV0+EOxcvZMBp9tU3BTeZbrBTlk+Ycbxf0aL/NC4iVAJYvy3fko2f3c= Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MWHPR11MB2016.namprd11.prod.outlook.com (2603:10b6:300:26::7) 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:07:42 +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:07:42 +0000 From: "Yao, Jiewen" To: Jason Andryuk , "devel@edk2.groups.io" CC: Ard Biesheuvel , "Justen, Jordan L" , Gerd Hoffmann , "Anthony Perard" , Julien Grall Subject: Re: [PATCH] OvmfPkg/OvmfXen: Fix Xen build Thread-Topic: [PATCH] OvmfPkg/OvmfXen: Fix Xen build Thread-Index: AQHX7fkGCGVX9ucEMUq6YH5F0CZB1KwtZasg Date: Sat, 11 Dec 2021 15:07:42 +0000 Message-ID: References: <20211210190552.73854-1-jandryuk@gmail.com> In-Reply-To: <20211210190552.73854-1-jandryuk@gmail.com> 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: 3f9d1437-4317-47a0-80f4-08d9bcb7fafe x-ms-traffictypediagnostic: MWHPR11MB2016:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:291; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5gqJY/xm7dqEh5wp1TdCZEDaUibxfcvowvXUbvCffySqagVjmZXI25wHeXDgWX7xbklxL9dcVCvx9Sn/NiSj7PpUsSe1xs9mX/y4FLVJ+IZsaZu05nWI17RjUYbvZ6i1Ws0WGP2jam1ZHpsppxqoFDsP1h+MuKuHLCYXI0oIqYG9xu1GJRne04+mxRZydYwyBgdOhW/aogJegsSb0F7rVtCulHCtUodjN11WzLMuJ/GLtPCJa5rGQmNvEv4QMGpjmFt/QLgRMXMNHZxfd+ThfoHc+txpnVumJ4doLxtjpVWXNh5YPsLAmZCAekaah9aUT52VjvflNX0IFd4fcyrX1kr8N7Fc9hcZ0s6l8lOMQtMVGXh64QQiPyzQ7hReXXm2l1YIbJ2aeGKwDUbEh+uwV7EeFVGxh1TT7OnKIHd3SaBKCjXPECve4MKsAHhC/Ig1Liu+grLdfwYnWKGxOBtFf49HvuD8w+nQjecWF6HvtlhDiHeilHAhLJZCaR678Q0kCJ97+Rjm4SPI0exxMDSoYutH+VR5r1WK+Hi6AyP+jtma2vfyTfQEIPyhe8timCrXhxvGWuoinLeG48WseWu0J7kIZ8nqnG8hDz0QXk8bgmOsxxtTTL6Kf8nQtgpzOVtMntPR5PUcSmJgHCOw8DZwGTpeYBKchOObQXHqMW2C9EnPFMEXUOLiczQsg2BJqLY1n+xFGyuhgs73mnqk9Y2LEg== 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)(508600001)(4326008)(54906003)(8676002)(8936002)(110136005)(122000001)(71200400001)(33656002)(7696005)(55016003)(316002)(38100700002)(186003)(66556008)(66446008)(53546011)(6506007)(9686003)(76116006)(66946007)(64756008)(66476007)(86362001)(26005)(82960400001)(5660300002)(38070700005)(2906002)(83380400001)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KO0xMQoKpKxtJ/EwlkRNmsT+9socUSWj/jdEx6Rc27++mw7Tn3bi7F4oiaN9?= =?us-ascii?Q?wDIn5R6LjRnemZ/SPRWCjy9BgNw+FwmBh8V85QSeCG4stM65ouU/5sg1q01w?= =?us-ascii?Q?jNFY+CWdTqo9F8VNAKmU104BIu5h0hpASSJnydbfJX+K4Y3iGkkm9UehTKvp?= =?us-ascii?Q?gigZnuN11kS1Xy29c0QXeihbfE4jGHehq9It1vNM3P8nj56uBl6/aLxuq7Il?= =?us-ascii?Q?KIy6c79wnydH44eLm+iViIaEMpVaGSWwaEhDz2BNG9oRyxhnw2ZIORlRH4tP?= =?us-ascii?Q?+UohjPDqExTkHs5eGh45h9R2/5UwuiVvQdBCJff6D8X/ggTg5j2yJG4F043l?= =?us-ascii?Q?cZ7+JCheBNjVGsbwFV89Sra5Ux6vjfn4IhMN34f+nn1prJGO8xSvW4FypXg5?= =?us-ascii?Q?O/Axbgj+9MOyWwliRQLPHx6stmtahic1flNXS8P09YhlEEk0lLd5XFsLegrj?= =?us-ascii?Q?m7HN58tRGKaWQM7tI6dyEjVKcqIx3sReOl1S6r+JACw5n5t7/F1IkCCnGzAW?= =?us-ascii?Q?hIAAH3Uzwj0NZw+qFy1oZ0kvT4t17RHjd2T2LQgiOgGII+e5SdK6yraODoJj?= =?us-ascii?Q?ir8J+GxBWsHQT0ORV1OezDgOiOHADOta30UoC3cH/Ibdvj9PqlDhQAFsJ4c+?= =?us-ascii?Q?qMANuVtlASxluItfPrR8cvikkhy9KePXV7wi4syPL+vjhI2QXUsv6GX2YJDx?= =?us-ascii?Q?mN731oDtzZJPFP07P5YXga+q4nV4ITXRFnxTpULwfbCkRlqHkqO9mXPeEs3m?= =?us-ascii?Q?SE4/ke9/mGL6VT6t1vmiC7wexoroZtDB/XOg47b9iECYvX2dPCGWC1oRNplB?= =?us-ascii?Q?Fq2s4yr1CA/d2MzM1t9OWchu+9/hAm1AL708nswlsRpmFZ7Nul9PoivXacma?= =?us-ascii?Q?nekt2sU0Q5AVSbGN4+eaboOtLoPfMOHXcfnq4NyxQw1/yThsk4cpiHvc6lQu?= =?us-ascii?Q?ZsDuIv7dUvqXk13e2pJ3/nc3QqVKOEesSGF6A0eCqH6IW0q7wIyoNE6lvlI+?= =?us-ascii?Q?AFKE3JUEPU+Hm2irOiTlB5JwN6Ib/cggGEyRhpPD5svbCQ+3nnnMR5xugz4b?= =?us-ascii?Q?u+dk6AEKI93nbKvFiGqFL6ZPuk998sWAVSfpUtzX44aRe5Ni6PlqzzmpgNEy?= =?us-ascii?Q?11t67drCNU7o09bLyEfkVGfYjy1/bPfgADp3j/DjuuZNkajuBReMsuBhqAHK?= =?us-ascii?Q?fihY+E0Zt+BeuPJjc57iX80J7d4Y0IDvrlyZeDsZPvSTSm4tuCRIoxY6yr6c?= =?us-ascii?Q?O1d5FS/6zcH2Ino5smTpIYqtl3TfI5o9rSZzVkC+Kw+/6U3pAR9VkhOUYPeE?= =?us-ascii?Q?A9R3q/7RQhY3IlysPKbyIdYwaI5F6wSJ4PGsHEQ8IGk+P1fTBIy/ZB6iDc0C?= =?us-ascii?Q?NnTZSmOr5nR22Y+Skn7f2rFiWQ0DmeSKIkgg5YcF8IIvuHZTXDt1dbDxLSq1?= =?us-ascii?Q?ZguqqN4EHVFtEIWUcES1EXtk6uPJNzW1jc1Ic1L5ZljmpcRlupiA+BwP9rlu?= =?us-ascii?Q?+RQlJRtLgAAKpPCMhDjcKJojVl9CnBF9y82lOZvpHTW5OO+lnnroC2wGWiAu?= =?us-ascii?Q?KZjseIMG2BigwRNek8bi8d4W1kdqU+OjnQloSWcsF/cP8xBI3Tlpd5u4gzMV?= =?us-ascii?Q?kYRez+/9sjJgE2Y2SulZZhg=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: 3f9d1437-4317-47a0-80f4-08d9bcb7fafe X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2021 15:07:42.4874 (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: 3wzAspuI1e4irKNGwrlnaCD9CS88CpV+4REGMOjv9vNUWcZFatQD9MoCU18khKvPS2yLgj/CiJeg5tEzbRLe+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB2016 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 Reviewed-by: Jiewen Yao > -----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 >=20 > commit 202fb22be6e9 "OvmfPkg/SecMain: validate the memory used for > decompressing Fv" broke building OvmfXen with: >=20 > 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] >=20 > 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. >=20 > 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. >=20 > OvmfPkg/OvmfXen.dsc | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 >=20 >=20 > CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCp > uExceptionHandlerLib.inf >=20 > !endif >=20 > + > MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptS > evLib.inf >=20 >=20 >=20 > [LibraryClasses.common.PEI_CORE] >=20 > HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf >=20 > -- > 2.33.1