From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.42]) by mx.groups.io with SMTP id smtpd.web10.44766.1597065719777389835 for ; Mon, 10 Aug 2020 06:21:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=nWuO9ndu; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.93.42, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=haeSUM1DMp4YJcIAH4dfpGQYuc0QfsWbX1qhp1MHyDkPnRRGZ3lwwvhCzekbd1bMcbAfwWJXwxBTM2RGr4fdOcVOEqeKo9UeW5D9U9GJkPx8xnR8PmTJLK4rTRxJq3HITwqQ+nV+m2le55mJlUwG7xqIlcNZLoc6LNcb0uF9tQrxlonMizwmoN8JhmO/+dXZh0dRFzBozIhZ28tJtoQ122R1NmRRSviDNBUEbWuldMCbmCNnfvI7vkNbnNqcEOG8gT36akXQz9HRjwmLXMBkTcn2alklfBV4X0/20yrI1j8DMgW0XlugJKrm84UK8pExb7P462fYSUREz+fAP6A8Cg== 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=Guq7vPWFi7ofuHUVm5Ecazbg34chiYG6W9ju8qKYT1s=; b=FGHEHkK+JCTUcs5bSm8fBPgN8NucZ/V61RnNSXVbLsC2hEpWZdj9YiCM/V4DU4+l5vvzliGdjlxzkd+n9l6ETUUMob/2ftDk2d4rrWgbMVQprQmb3Z+t2Uex9FYKenCXwPmq35H+Dxq65xzWevYzXw0qgBy55msDMHVNqQ3fFKhmGhS/8Js/e04edJ+4Sz6tmCd3WPP8PIp0wiZm6F0cqAT/L7TCd8E7vqgforg7TR2HeegYSAMrCC8+xs1nea0uVY7ArAPTAlII2g8Bf7JE2kOr3XNOWVplCmBx+EC367OkX4Z+9cSxl4jp5qQ0H81gX4XM8k5qA1I7xUjtpCTOog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Guq7vPWFi7ofuHUVm5Ecazbg34chiYG6W9ju8qKYT1s=; b=nWuO9ndupCAKyUKty4D29L4kYeehVbrcndV9nwn2E8581qO55LgpXltedUJLJCMtUgnwrib62U2Y9aJt4uul56x/Dr900F/cDtbN9OurXQxGO28F+i/lR09Yrw1f36+lO93P2mcd3b9eaUVTm9YXrZCd9rYT0n0BbpQibY2y8CE= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) by DM5PR12MB2470.namprd12.prod.outlook.com (2603:10b6:4:b4::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19; Mon, 10 Aug 2020 13:21:58 +0000 Received: from DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::25ec:e6ba:197c:4eb0]) by DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::25ec:e6ba:197c:4eb0%8]) with mapi id 15.20.3261.024; Mon, 10 Aug 2020 13:21:58 +0000 From: "Lendacky, Thomas" To: devel@edk2.groups.io CC: Chasel Chiu , Nate DeSimone , Eric Dong , Liming Gao , Michael D Kinney , Agyeman Prince , Yi Qian , Kelly Steele , Zailiang Sun , Laszlo Ersek , Brijesh Singh Subject: [PATCH 1/1] Platform/Intel: Add VmgExitLib to required DSC files Date: Mon, 10 Aug 2020 08:21:47 -0500 Message-ID: <10d053fa4edc06f71ffa9e4971a35863a01cb670.1597065706.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <162913C213C95C67.16172@groups.io> References: <162913C213C95C67.16172@groups.io> X-ClientProxiedBy: DM5PR18CA0074.namprd18.prod.outlook.com (2603:10b6:3:3::12) To DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) Return-Path: thomas.lendacky@amd.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from tlendack-t1.amd.com (165.204.77.1) by DM5PR18CA0074.namprd18.prod.outlook.com (2603:10b6:3:3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18 via Frontend Transport; Mon, 10 Aug 2020 13:21:57 +0000 X-Mailer: git-send-email 2.27.0 X-Originating-IP: [165.204.77.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7c72fee3-4b3d-41db-cccb-08d83d305b9e X-MS-TrafficTypeDiagnostic: DM5PR12MB2470: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1247; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cmJBgxwYlRQqWdL4p2qY10Pvxnn7SDjtBB2ydnfyEUaHWL7LBFhIbUCFlaeJNEYvOwbTHjJtkZuwyzRawxyvJ4Tn+qu1VppxTvCnNkYaUWpIXRUQojgCmRrrIY4dCTVUhqRffN7K/2pLsv6KQuT7JcQS/oxicKxROsefbmDBdwVG5zZGnndfZXH0ehPzwd99/gUsv2y9JJ34O3QvUqTOHwX/JgqjnKHsO61De1doZbrCm/MKw1gY0Yk6HcLmvp9oWpPuxeiYRQVMSPEtNt/nXBIAm8Q4KJOh43O6bmijRnr6ch9itl1HAE5sQrOoD0tAkg7UyiKXHRr8jW8i99VUKgyO/W2CfKw679TMEoyab33eT8wwqL25YGORX2IElmJ8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1355.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(366004)(136003)(376002)(396003)(346002)(66476007)(8676002)(66946007)(2616005)(956004)(8936002)(7416002)(4326008)(478600001)(52116002)(7696005)(36756003)(316002)(26005)(86362001)(6916009)(5660300002)(83380400001)(6666004)(2906002)(66556008)(54906003)(16526019)(6486002)(186003)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: yRfwJO5KdcIcp+0P+unimcdY2bzNTxAgqPm6e3mV3GElpOQXnp0eWdgc2d0RcTsFzSlNaWV1DRORkXbTmBae4RRjXwGv5hMEoPTzhNwJHzFgeZpwEbkvnAl1towXlSWJhYHbKushCV/cfZTEjT/jtGBNhpVJC5HNZpHywoMLztXuetp2mdxUZk2MnBU9hsIqXWkfYjK2x0mf7ioIpHXGbmKwUOrVYR5JqdSPxT2wReIoxDlzmIBmPHki299kuTOnf9kK6OIw3uy81dCX6FeEpMsOkUlhjnGiXglaLU+eF1IN2XQx3d5/+v+yBu3ZyK1OeGQoSL27ZVRDdqzD8xQ1JE9cl4PtrTsE48QGiea4bL3DNevRholkVsJ1uikrEsgM1Q4OtyGmirzR6ugisRCDxm6NQ2Q8/Rz+p52tnMFVWfEaO2Bixb0FxWR8N00yT0gsia36ujbG01Ezhq4949+XKh9U/kBSbFCAvm8nrcuYoaJxpAs0Gr7oxGuD0Nq58L3zkTeer44/rKaFCIO4J1RjcTYSZZVIW7Bd8ePh9XWVarYS+Gm3xpqFFsLhV2/S//R1yTHeaxrGAxR/ncqr2mF2mGRDtdmGT3occ+D5yYcerUCM0CJBG+OW3ngRj+VqYMRo4adWG1kbhagxh9Wy8167Qw== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c72fee3-4b3d-41db-cccb-08d83d305b9e X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1355.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2020 13:21:58.0842 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KXXtsDg7DGx/3ZZfIlv0FSiSetPuVe1PxoFG6Tl+6o7LEQ0qyDLvda6zz8zeWRckkfOhU50fHvWrF1kz9W7NIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2470 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: Tom Lendacky Any DSC file that uses the UefiCpuPkg MpInitLib or CpuExeptionHandlerLib libraries, now requires the VmgExitLib library. Update the DSC files to include 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 --=20 2.27.0