From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web11.4913.1597104127916360164 for ; Mon, 10 Aug 2020 17:02:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=pyZCs8xb; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: liming.gao@intel.com) IronPort-SDR: B7UrIkHz48MG5F5nt+WYRQl4oblbkW7HF8gG6x4oL6OrfXlSMNp7JIJLgHV5ESkZ0AJPti7Em2 nGlDhBpbm5vQ== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="133699738" X-IronPort-AV: E=Sophos;i="5.75,458,1589266800"; d="scan'208";a="133699738" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2020 17:02:06 -0700 IronPort-SDR: cTysg2sskVeZxpFjOw3Iuuy8CS37D3xMiGEBgOXzDGqTYNXuaqdRI81yuDmmZ1w0eIMQaKid0Q zsThpHErl5QQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,458,1589266800"; d="scan'208";a="334397637" Received: from fmsmsx601-2.cps.intel.com (HELO fmsmsx601.amr.corp.intel.com) ([10.18.84.211]) by orsmga007.jf.intel.com with ESMTP; 10 Aug 2020 17:02:06 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 10 Aug 2020 17:01:55 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 10 Aug 2020 17:01:55 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Aug 2020 17:01:54 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Aug 2020 17:01:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aWe38ROADatsKnEDSKur0ZXXyV53y5Kuy5w3TPVn6R7VhsFdr5/XSyPFgPlBMyE+cWblKagbAu6OAJEkNRx9f9B1yLgMksvXavTEo/O1K5GOcRjX+rOZzG4C/42pRmOvHOci29dtrpRoeVxBd9FZs3mxBvTLbf+NNLBYlaStTIKi68HiP22HgVyO9YmXdixz7njHFNmGCesOdQ9xzezZqADlaBJDA5IWRrQf1lIBhN/J/hEAzeL7W9Rf3nS9sg0CeILVFYr3LxfaXVTfVScxphw2KNvzc5WAOZx65ThsMlHrHjg+S0Ypt3l0fEiXxpqjcz7ZnpfKXd9AF7Y9oVBXAQ== 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-SenderADCheck; bh=2k8etm2sV+vPgOJ+t3ChS4UwzHet/iO5gYqwf6ofUWM=; b=fjXuQj55+BIym0e3MK5zBE1uOYQ2d14pu1UiU41sk1YBPCD0BgPvX5q5NgKei14/Py3fynFeBEn89n4fnuJHgbc+Ou3Chg6/xUZjRloQ4W4w0cpgSFUHujvV9ILSa5lt4kVJhumo5hrpdYaueBW1eM/u4l6nZ+rdb+f1ZQ8UozGy7yZD4K6yJAD6F76dcXLnW4BCELPMIHFQzFmeY2f+DBnwz6dfyiXLAEQKqMwqkT/yJaLIvKV0r5uhBdVEx1BcRK04TRfizRYBNskGnDYKtrcfs27vE9MazgK+ERwWOFVT3vO9rdkrLufq/JMTW9onWMqpFvjOzla2G4g98GWHOQ== 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=2k8etm2sV+vPgOJ+t3ChS4UwzHet/iO5gYqwf6ofUWM=; b=pyZCs8xbWI1Rcn08HFzHrxs0JkOCFI/37bDRiHsE9hsToYJjmncgu3oxZRVXP63Sl7Nh6vSJaqtglMsusp3n1dxUT8pwubE4B3zqe77HFNnYFM997PCXt2TDyCsEfldT7pfPyg+lmD9uX7Ldwuhnc6I3jq4v9tIaj+fn+SuMaH4= Received: from CY4PR11MB1526.namprd11.prod.outlook.com (2603:10b6:910:7::10) by CY4PR11MB1351.namprd11.prod.outlook.com (2603:10b6:903:26::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.17; Tue, 11 Aug 2020 00:01:52 +0000 Received: from CY4PR11MB1526.namprd11.prod.outlook.com ([fe80::f8c4:711:84e3:4c97]) by CY4PR11MB1526.namprd11.prod.outlook.com ([fe80::f8c4:711:84e3:4c97%4]) with mapi id 15.20.3261.024; Tue, 11 Aug 2020 00:01:52 +0000 From: "Liming Gao" To: Tom Lendacky , "devel@edk2.groups.io" CC: "Chiu, Chasel" , "Desimone, Nathaniel L" , "Dong, Eric" , "Kinney, Michael D" , "Agyeman, Prince" , "Qian, Yi" , "Steele, Kelly" , "Sun, Zailiang" , "Laszlo Ersek" , Brijesh Singh Subject: Re: [PATCH 1/1] Platform/Intel: Add VmgExitLib to required DSC files Thread-Topic: [PATCH 1/1] Platform/Intel: Add VmgExitLib to required DSC files Thread-Index: AQHWbxlELJlROdBRRkCUCUPVjWJoAKkyBtxw Date: Tue, 11 Aug 2020 00:01:52 +0000 Message-ID: References: <162913C213C95C67.16172@groups.io> <10d053fa4edc06f71ffa9e4971a35863a01cb670.1597065706.git.thomas.lendacky@amd.com> In-Reply-To: <10d053fa4edc06f71ffa9e4971a35863a01cb670.1597065706.git.thomas.lendacky@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: amd.com; dkim=none (message not signed) header.d=none;amd.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f37b0f1a-40bb-430e-87d6-08d83d89c0e2 x-ms-traffictypediagnostic: CY4PR11MB1351: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1468; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ukDf3f/Lb1vQq32L8Cgrmqbk7+Vc0s3EIB1LQjz/Y+J0yk5je8Muvk1YF4xlcdlLa2vErslZdMLX+RnmVEP9VnwK2TzVSzb/MLeYDyoqjZDDtiuEKXXShDKSC0MtQyPHNKgf8tzj+Mj+ouf3z+UZsL3S7ZAWYDCTVAjmo0vlQUnzaaO3l/vsJw+U6IjL+GgfC0QIvbzCvUkRL1drHR25lH1CHNRinrZZOHsuXWFqGeyM7XOf3cVia8ZVgwJeamlmqMpurAAJu50AY+gFArZ5E9WFQBVaK2V3aOhtW/7dNiF4dEMrUkPZDv8nS0VEOAvMjNvKWskwg8U8OXauI9ry7Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1526.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(366004)(376002)(136003)(396003)(2906002)(83380400001)(66556008)(64756008)(66446008)(71200400001)(66476007)(6506007)(4326008)(26005)(316002)(76116006)(186003)(53546011)(66946007)(7696005)(33656002)(52536014)(54906003)(9686003)(8676002)(8936002)(55016002)(5660300002)(110136005)(86362001)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: yLOAar1hlvsIUyV8kGlwh4OtUxicW2CSUN6CIco3nPUsucwqhWREFDIBfG+VBU0AKV+FPCdom3JXkt45DKd+rAes3FNYKkC4tSbNhpsFBdzz5ddMO6EUR1olsJOLl1Xp5fEfZoQ0n0BlZfeJi3umS5UhDeDmBL6j3sjpMqDHuUTBIbzYNSZZExQkMd6pGwU2KapBeF8jhZSP8AnrsUHh10RYdk6QP+d23iGQO0kuAytZA17jDr9DHvhhChq9k6s4RjnSkECW5Gwm5Mr5daVvf27/RA6S3ZyYGGcnPagQ9pSPKTPOtjiUmv9tjBUy91qnyyJP24fv78lKW8Y35G3f8+kYesaRET9hha4d7/HLy3GhYhptxWMZBlAV5oEphHS9GKVleixXWXVbRAhG3gNxN6WGvzXJvdpDVp+KNLjAMQfcIBzkWaIWXsWuQpB0xSX2C+JulQgAPLbCaMtnKZh55fp9OV/NxNwRPIxamX88LoPcL+ufJHCYcb1YAVtOYHzCsTqgr0lL6fdkyMjazGYvW6x9ka4smHXDnNT6dj6Rmsy3WUzT8FHaAKCSpTPDfCfOLneUKzCoZF4E+M3X0NXn0kFv03qJLYaBTkxBGgVHV16yWwEglWm8Y+vnoJ1HyqQW1zUw3DOzn3iKQy82DWXr2w== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1526.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f37b0f1a-40bb-430e-87d6-08d83d89c0e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2020 00:01:52.7041 (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: uARWyJeT79LwGwhREYr34Ujhy3GtpRMiimWxSTzu8P65B5YjT5d2TrTJ1AqvvFNGzQ1CwIW30/S/dIhfvhi80Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1351 Return-Path: liming.gao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao -----Original Message----- From: Tom Lendacky =20 Sent: 2020=1B$BG/=1B(B8=1B$B7n=1B(B10=1B$BF|=1B(B 21:22 To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; Dong, Eric ; Gao, Liming ; Kinney, Michael D ; Agyeman, = Prince ; Qian, Yi ; Steele, Ke= lly ; Sun, Zailiang ; Laszl= o Ersek ; Brijesh Singh Subject: [PATCH 1/1] Platform/Intel: Add VmgExitLib to required DSC files From: Tom Lendacky Any DSC file that uses the UefiCpuPkg MpInitLib or CpuExeptionHandlerLib li= braries, now requires the VmgExitLib library. Update the DSC files to inclu= de the VmgExitLib NULL library implementation. Signed-off-by: Tom Lendacky --- Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc | 2 ++ Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc | 2 ++ Platform/Intel/QuarkPlatformPkg/Quark.dsc | 1 + Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc | 1 + Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc | 1 + Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 1 + Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 1 + 7 files changed, 9 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc b/Pla= tform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc index 0f0f15d3f6..026ddf4cd7 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc @@ -44,6 +44,8 @@ HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRou= terDxe.inf Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/D= xeTcg2PhysicalPresenceLib.inf =20 + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf + [LibraryClasses.common.DXE_CORE] HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeC= oreMemoryAllocationLib.inf diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc b/Pla= tform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc index 3f784d58c9..8e1869078c 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CorePeiLib.dsc @@ -32,6 +32,8 @@ =20 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf =20 + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf + [LibraryClasses.common.SEC] ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiC= puExceptionHandlerLib.inf diff --git a/Platform/Intel/QuarkPlatformPkg/Quark.dsc b/Platform/Intel/Qua= rkPlatformPkg/Quark.dsc index a02adb64e6..e352aed49f 100644 --- a/Platform/Intel/QuarkPlatformPkg/Quark.dsc +++ b/Platform/Intel/QuarkPlatformPkg/Quark.dsc @@ -102,6 +102,7 @@ !endif DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.i= nf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 # # UEFI & PI diff --git a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc b/Platform/Intel/= QuarkPlatformPkg/QuarkMin.dsc index 3dbf616c66..d1e2c0f437 100644 --- a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc +++ b/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc @@ -90,6 +90,7 @@ !endif DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.i= nf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 # # UEFI & PI diff --git a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.d= sc b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc index 3cf6e12cdf..77c408a326 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc @@ -135,6 +135,7 @@ ####################################### PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiRe= sourcePublicationLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 ##################################### # Platform Package diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Platfor= m/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc index 1cb0b9230a..69758e8f36 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -160,6 +160,7 @@ LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.in= f CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 # # ICH diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Platform= /Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc index 62ff5f5c4d..86c73699a6 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc @@ -162,6 +162,7 @@ LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.in= f CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 # # ICH -- 2.27.0