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.54]) by mx.groups.io with SMTP id smtpd.web11.4216.1596829266876911826 for ; Fri, 07 Aug 2020 12:41:07 -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=yknCnELf; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.93.54, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RSPqA+8LqdI3ncJNvKAVkdH//HockAaOeC6TIyzEMKf7XeSRBcxvqmTcxqCRJHNLgb0a8goyNUuIs6GSjBrjTAVYp5Lpy8WlieCovGdhYwLQWSb82tgz3qfxviV0mu0WBGwGKh9htkPPJNFOzQ/1mDll2+r1i5j3mDMWfsl1oQdI75IB4zPEQcaCZF1WwF9zjdBRmAudyZNcPuXVCb0wMqR6PwAOytXb3jGS2isylCpnNdOgZqgA9w8srx/uVFuFgyFEK9ZaGN7PL+WjUUPIo+vG3NsM2OgL39EYURfla/itKlgUGARnZ3t4sdUJ8ZImGX71n9nHIKR4oZXxQjDSvQ== 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=8gIPuv0Fy7s+RjQntMgos8V2fokI9BA9s2pD9HQviYg=; b=CHiCJ4kyrNGGDzqpdRauvOAc/05oQogAk3MIP9CqXPLOIUfxcWONHca9vt1YowhjUd1WjZFb4OKjzuJvToDPoOrm0m972PsbtXtkahsl2JXxtv6S0rvI00lCfGcd/P/NyF2zMN6MhW1G2jscRi591Jpu4eH7WrOwKTKuC7TV2R8eOWWonIxnCqWf97VYZTLn77ehWKNC+RrXAN6g2OXLmTkIhyjCXHhpCEfp9YPfXAaGizbCD4q85lFi6S4SUWfYtOk1BVPZoojyFVllG6Q/p9pfrw7bLp9cqhvmC2BR6eZ849v8VEEuuL52sTm0gDqtL9fSKqmqaHqBAvjBtP45Wg== 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=8gIPuv0Fy7s+RjQntMgos8V2fokI9BA9s2pD9HQviYg=; b=yknCnELfIKQ4G8ppZ9p+1S8FPkrI4FSE4jj1ECIuAh1B+SegATtqUrkgS1qfQtKoJSgJahDF3RsTvxCqXAyo4VmR2lWCWoZZxZthzTYUNRKCvakiQfK+2I23rPjH6zDPuqoXtsyAy9/TcFKBA76JXpbW7BYV8WwaDKyCAgDN1ww= 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 CY4PR12MB1352.namprd12.prod.outlook.com (2603:10b6:903:3a::13) by CY4PR12MB1541.namprd12.prod.outlook.com (2603:10b6:910:7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18; Fri, 7 Aug 2020 19:41:05 +0000 Received: from CY4PR12MB1352.namprd12.prod.outlook.com ([fe80::9181:78bf:bf0:702b]) by CY4PR12MB1352.namprd12.prod.outlook.com ([fe80::9181:78bf:bf0:702b%5]) with mapi id 15.20.3239.024; Fri, 7 Aug 2020 19:41:05 +0000 From: "Lendacky, Thomas" To: devel@edk2.groups.io CC: Brijesh Singh , Ard Biesheuvel , Eric Dong , Jordan Justen , Laszlo Ersek , Liming Gao , Michael D Kinney , Ray Ni , Maurice Ma , Guo Dong , Benjamin You Subject: [PATCH v14 10/46] UefiPayloadPkg: Prepare UefiPayloadPkg to use the VmgExitLib library Date: Fri, 7 Aug 2020 14:38:55 -0500 Message-ID: <62e4d7ada247832fac0557c4965d949302ad3792.1596829170.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: DM5PR11CA0015.namprd11.prod.outlook.com (2603:10b6:3:115::25) To CY4PR12MB1352.namprd12.prod.outlook.com (2603:10b6:903:3a::13) 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 DM5PR11CA0015.namprd11.prod.outlook.com (2603:10b6:3:115::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.17 via Frontend Transport; Fri, 7 Aug 2020 19:41:04 +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: 45291108-e466-46f3-069e-08d83b09d2f3 X-MS-TrafficTypeDiagnostic: CY4PR12MB1541: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: slRAIrTLN6hLasmZ0l2mKGxCrM9u7frbKgviFtno+yMOvzS87gl1DPDlpo+E8VyyblSecmWfkpF6oasEJ/uz+n0GraI6QkP+cTvy/r93hmgm0RYyaaoEnkW6KkR50pchOHv1VNrU6yaZV1Ofy8/NYfPmeTJ3W3DWyPQW70K9NlnHFIxqLVSXv1HJ4GbToxtYmHpkPs2V2K+4uBmiIk6JWGjT42VrgtR2tpB6aTs0KStoklTxcJiLaBnrgook18JMat4+AMQqoabFC+Nh3Vp/q7d5ZQG6VRSbJ5odowYfCb8G2JT4LVHEqCCTFOpS5fmwKThFMwNgg+aVzTY+BvloUCWcprv4SMcxtuUf8xA/UxNuI6dLWcMD4j96LZfXtz/zfBUzQuOjYQGQnQ7LFO9rH32ILVJ7Mso7Ua2Rej9tBUi18TUs7cZxu9DgsxF9l4Ech7jF/R0eq47697uijjiHAg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR12MB1352.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(52116002)(7696005)(6486002)(8676002)(83380400001)(186003)(2616005)(16526019)(26005)(36756003)(2906002)(8936002)(19627235002)(956004)(6916009)(4326008)(86362001)(6666004)(54906003)(478600001)(5660300002)(316002)(966005)(66556008)(66476007)(66946007)(7416002)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: s4ElzSAGHcUx02MtgQLXmLDGPnvXuqKOjQiPFrkJPu8fn9m4q8kjpqKdNFet1JMdw/IPHpdIBVEKx5FqFB+tbzKFkYdrWmYePtqdi1KI+xNsclQmwASo53uSSVQCIZy4Ee4jcxNQO4CbWLYue0BhyRsKVJK2ej7gpHRBkHqoww8TfjhJSg7i5MnVw9+pCj/Ixva9PON0Sjc+BmxXeLJ7rtFaS7nghDTzWpOdZrZlCK5pBpQrf5Z1wWD8MbEn1b75kTxts6nk7DdbA/DCWzXd+Q9Akm82TQZ6o6QAMZpQ4VML3dAVDDKOHrkspe0CxuxXQRvNjw0R6iHF9CYf63MMUIzsy2H5rUvhd3V4qBn8ZpJaZ99J4OLv+r9NA3TUQBIMAeD/+jEuBeTqRRjIs2GgEZnvgnZIu+E2KF/owNDT8Szuvrg9tDBn1PUAKkJP8r93U/rOktZ1hMAq7RZgkcOhVkmE9FS7HTM75n6UJ7A4piDpZ6mGSf8uX4s+UZrdCYBTwNJ3dVXoxKtMnT4Q0irvhrnW/mhbtZbblckNHsvmUwPbtTxHbdrtGUZBR52aeWNaV2AQW9QAbRYFI1Pmd/bJtA47ubZXnTsJUGdKz/d/gVBpFCUeFlRzQ8MAVj83hUYY9BR9jvWgBcxmB/JlmSLNHA== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45291108-e466-46f3-069e-08d83b09d2f3 X-MS-Exchange-CrossTenant-AuthSource: CY4PR12MB1352.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2020 19:41:05.4691 (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: 5HrLfMixaKMecQU6WuiZO+/sU9U3Tjo+pIJ+TzOZhDuX2Qn9ae6Y6B89MZfUQskPL71K2+aysgkKnyHarnF3AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: Tom Lendacky BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2198 Various CpuExceptionHandlerLib libraries will updated to use the new VmgExitLib library. To prevent any build breakage, update the UefiPayloadPkg DSC files that use a form of the CpuExceptionHandlerLib library to include the VmgExitLib library. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Reviewed-by: Guo Dong Reviewed-by: Maurice Ma Signed-off-by: Tom Lendacky --- UefiPayloadPkg/UefiPayloadPkgIa32.dsc | 2 ++ UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc b/UefiPayloadPkg/UefiPay= loadPkgIa32.dsc index 9a9ca3060e47..460da1c504dc 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc @@ -237,6 +237,7 @@ [LibraryClasses.common.DXE_CORE] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.in= f !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -249,6 +250,7 @@ [LibraryClasses.common.DXE_DRIVER] !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc b/UefiPayloadPkg/Uefi= PayloadPkgIa32X64.dsc index a768a8702c66..942bc9076634 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc @@ -238,6 +238,7 @@ [LibraryClasses.common.DXE_CORE] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.in= f !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -250,6 +251,7 @@ [LibraryClasses.common.DXE_DRIVER] !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf --=20 2.27.0