From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.42]) by mx.groups.io with SMTP id smtpd.web12.20848.1594737046253542284 for ; Tue, 14 Jul 2020 07:30:46 -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=2DeAnANe; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.236.42, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UONhHwGHZhcgUTb3tE0ea8RTMQNeGt9VCgo7y3+pAZxv8v/VFjpja3Esp3ooxYAi/RdhXqoBB7+FuKWzx4fWE++3fmVKdQXJnp5jdYCHdcAma412zqc704ta0eyWdvpLPPGwUUrySkg5H3OkSLjKS4AZzk7tSBNCQk1Y9H+ZeZp6Iusbq60PmEMnv+O6ZcgvY6Avydb4V34Q0gaw4q1jbQP2vMB0faT3oFpblIwweQPeuK4EJb94LOYDSdJ4l9EkYExZd30yRpP/zZowfq8dE9Jg74dAQoMvMV7LXDyJMG7AZzzNvTNItEvKotQexTOFpgj1TYgmccpxLLRE3k7R8w== 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=R6g4oY7VhjAGLEjmfdF6fdsktsJytcOsu/iq/uLdJSA=; b=jW82HV1Ggk8SaHxTCsG2GxCtuUT+YxeoMTsFURFjh8sy6klGaZYeTOjNiaLvi7zRK1FfPxH5RPn7npcxcL3ICWBo/e6GgWLubPNyeLWCO6hG1Aqv1n8QLCic7ZXD7wxeJ0ubrZo7VSUpGCSV9Iz2uytJAz0AlNhLUb02JyRZS9O2/Ju0MwAk+55/HXtNBAeCRfQ8oP7TJo5Hq/2xxZ1kEuoCFMPE7y9BLkALzt6xPyBh1NSY0mEGuMsRPsb6flpPSMcKynEjBKmRF2TcSTjmtRhkpD4uFRn6P8Z0qmnye0VmCYFxZFAkJx105ciq6Qu4wzRISvnx0xqtihi/IczmaQ== 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=R6g4oY7VhjAGLEjmfdF6fdsktsJytcOsu/iq/uLdJSA=; b=2DeAnANeZgYu3iLWcsKeEGQYVTWgAjOjR55tO25bQBe1uXD62s4keXKqoHVoUoZ+D03grHGNRDFdZkiJZpMt2ugMi7cf7LJ7gqI8qWbM9vwSSwVV4Ww4hOtHO5ZPICz/NCIwNRcd+YoeRpq3zmauMQqjaPBxMYqTWPuey6sHK7M= 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 DM6PR12MB3177.namprd12.prod.outlook.com (2603:10b6:5:187::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Tue, 14 Jul 2020 14:30:44 +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.3174.026; Tue, 14 Jul 2020 14:30:44 +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 v10 10/46] UefiPayloadPkg: Prepare UefiPayloadPkg to use the VmgExitLib library Date: Tue, 14 Jul 2020 09:27:41 -0500 Message-ID: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: SN4PR0501CA0046.namprd05.prod.outlook.com (2603:10b6:803:41::23) 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 SN4PR0501CA0046.namprd05.prod.outlook.com (2603:10b6:803:41::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.9 via Frontend Transport; Tue, 14 Jul 2020 14:30:43 +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: 8e7240fe-53e4-40d8-d031-08d828027df5 X-MS-TrafficTypeDiagnostic: DM6PR12MB3177: 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: gciESJmquYasIh5bbjDX3Ml7j/eY167MRMP1iaknXiva3eSVKflvQRv7872cV92770Ja1re4Bd83UNYPIrhzrHOGXzqRsOWj+rujgeZ/pFEqmxBcO8URYWnYgvPTs7ttQJ0P+wMf6Pd5vOK2y0+ZQE9mkarI350z3aGQ1/F9OWQJkDq/zo7ar9Bd5irTgYVwHTaQLN0sY2dwC8yd3BnpXet94vyblPub+Fs48llhebrVZZ++t9/GOZKp010s4v9ygO4AFk26MLuA5ks/+67OoTxjMp+3zTxUINeQ6WKaPyihg/UOPDZvvnHKrLYMX9W1JH6xmT+2mKfeFSpmlY7YSf3RGdjKhOkVZyMUASbxwKrTRNCTH+bbMUWtGbO/YkaHR1HxzivY44vDrLnohsHdD/l5BBIMkW8q6xMBFE9Gjs+sI8tic/y6VRVGWRvFDkvuSgcPSTxB4yoZSE3nTAxUTw== 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)(396003)(39860400002)(136003)(346002)(366004)(376002)(86362001)(478600001)(8676002)(54906003)(6916009)(2906002)(8936002)(956004)(6486002)(2616005)(52116002)(966005)(7696005)(66946007)(7416002)(4326008)(19627235002)(66476007)(186003)(66556008)(16526019)(26005)(83380400001)(5660300002)(316002)(36756003)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: gjfFkk3+/OxAMtgXPPJUrJm9lvWj1sRF6baLHfIQlPmV8vTosU6i1eUG8FjgoqO68NM+kW0xI93+HmHwa3fnkbDByLUanoo82s8SaNPOv0IeiQrujWznrjsGmGCjJxny5xRYMOoOJcsDBKpcfTB8Yka8nqtn0u5pIRQmntcigWxbK7RUcyqXmX2ADI57VJAj3NeeXzCd/5TaNM9pUZno3oPJTTebwhQ7pmrqnEsi+TfPd/J54xbVMdNCnyPM+uuCOjk8KGs7CZt0SXTB2OGtv7/0s7XVWfpTwWrCqPVVnIR7Mj19IWfULyM2p9Jwgrd9NTFutq+lsHwwOXtYmNeG/T/KI+4zvyJiRJtGNWpXblzAD/hqCzzAbTccbqqcGs6MO35xyfFFGhYlLBWX6qmwvYe0HxZktjfUELDqkDFOxVwh3G/esLkIidq1P+tq5H9Y1Qm19lGmE7V8eMmPpjloTdUSumteDuEl46NV5qELqeM= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e7240fe-53e4-40d8-d031-08d828027df5 X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1355.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2020 14:30:44.3811 (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: BmzFlJ3wgX3C1qDs19sKcSTiFZoM20SZ8Xwj+2rVzfQPggf5f37TrJT3+3gMuR7ysdQ1r+LTx6AfCrFjjEyuZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3177 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 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