From patchwork Wed Dec 7 10:23:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Achin Gupta X-Patchwork-Id: 87001 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp238622qgi; Wed, 7 Dec 2016 02:23:41 -0800 (PST) X-Received: by 10.237.37.202 with SMTP id y10mr58962667qtc.211.1481106221380; Wed, 07 Dec 2016 02:23:41 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 8si14100181qkb.112.2016.12.07.02.23.41; Wed, 07 Dec 2016 02:23:41 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 18B3460EA9; Wed, 7 Dec 2016 10:23:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id CE91860EAA; Wed, 7 Dec 2016 10:23:20 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2682D60EA3; Wed, 7 Dec 2016 10:23:18 +0000 (UTC) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30065.outbound.protection.outlook.com [40.107.3.65]) by lists.linaro.org (Postfix) with ESMTPS id E762760EA9 for ; Wed, 7 Dec 2016 10:23:07 +0000 (UTC) Received: from e104320-lin.cambridge.arm.com (217.140.96.140) by DB5PR08MB1190.eurprd08.prod.outlook.com (10.166.174.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Wed, 7 Dec 2016 10:23:06 +0000 From: To: Date: Wed, 7 Dec 2016 10:23:01 +0000 Message-ID: <1481106182-26721-4-git-send-email-achin.gupta@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481106182-26721-1-git-send-email-achin.gupta@arm.com> References: <1481106182-26721-1-git-send-email-achin.gupta@arm.com> MIME-Version: 1.0 X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: DB6P195CA0002.EURP195.PROD.OUTLOOK.COM (10.171.120.140) To DB5PR08MB1190.eurprd08.prod.outlook.com (10.166.174.147) X-MS-Office365-Filtering-Correlation-Id: 926ca952-bb79-4b94-0961-08d41e8b08f0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR08MB1190; X-Microsoft-Exchange-Diagnostics: 1; DB5PR08MB1190; 3:yHC15vBy0avZQWWdz39jFp/trAXyWQbY3DSNhb2Ca7Z+rCCrGvn5fLvmonBeHeRAA+03KzOGcChIv1Z8kPIe2jEw2CLKy32bg658BILhinSUq1FIU0u01ZVBeuDN/TgQfoR5F0wlFXroYNT0KH8WYty7UP8Ylo04a4jbaxlxYtr2sq36lLbfnfrDdDK+S4aAxHS/zopsrVYRlZ3lYsPiony/eCoTK6f4q881moSzFhNR6yudP3DmqVe5F0NHktM+Cb2ZjJ014RACUAdmhLhAuw==; 25:nlib226HgNW7uFSYHoKkxXsI94b2OYg6bLhuDFbV7YeycnxEEwUStGvMt7NKqSNNtpj2gdKrg6CCszdWwPdaWcptbIMsGr9cHHH4YnN3neIKOxd44QWC8F043FI7Sc0kWVwmUtUMZx7ET4vAg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8W8j8LIwMEPoZQC8UhcViCwnimLy0TJbn3gEE/F1hVZCGAdodtTAnGJrzg25TU/rxmoy9H3tQkdA1JhjEYpJhFhJVgAGSbwR3X9gskKrAfDy9 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558021)(6072148); SRVR:DB5PR08MB1190; BCL:0; PCL:0; RULEID:; SRVR:DB5PR08MB1190; X-Microsoft-Exchange-Diagnostics: 1; DB5PR08MB1190; 4:QmukI0Qge2JA53Zurn24w+KjgdzzQbJKC8KhVDy/vie82/asoxWhXi4Ax6xMQ5++QFoPSCaIrdWRwNfhn4OzumnGGGlVZXceIV9ZgzJln2Axs3+6M/8qO6RARwNA3Uc90Cy6f6X1BgC9R8dJZaI4DRrms+c7QRA8grmHalzCSDyioMflfqYLU1W2UBzVGZGCVF4fSPqDuMOniVz3/Q6X5cb9bu6K/UFZ1wAsyHojwuWbPoxAAPJvotyrs098/evSxEvtfZUbsNJv1E8QHS4GQ/RTkqoma71gFIKjV0yCzs0eoa757XJhKwvsjpXR8NM5JREfbz0BRXtYpY67yXhiXOkmMxQs3iJok3VZY+PtMRsIxl7gyVD3pSZgG7vRLmeqcyh89SdA9PmPntbprvj77HR4MTZVX550/8NG9sv5TlBl7ZjqTKgr+aez+GVrjQm/WODH/aqoTKBxYDsWmP0ptkjix8CReSNErU3n29GmtW9Jr/5WXnwtgJpvNl2VaWwbwghmRS58FZ7aaCPgg8gOE/jNYyft0NnZSLaYAw0FJWXyaDJ+wXcaXb5/nMInwyypwV2mv1rQtrsldW1L8TRzAwjDxvy/BWx2964Hz+a0Im6xO3jjLaxndkLAk3xLlITKTP5BIIw9DWhAzMgrHjDIvkQ3FcnH2SYbh0ZVEdVxghg= X-Forefront-PRVS: 01494FA7F7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(7916002)(40434004)(199003)(189002)(97736004)(39840400001)(36756003)(39860400001)(305945005)(2950100002)(39850400001)(92566002)(2906002)(8746002)(7736002)(7846002)(81156014)(81166006)(8676002)(33646002)(47776003)(5003940100001)(50226002)(4326007)(6916009)(6666003)(2876002)(48376002)(66066001)(76176999)(5660300001)(50466002)(39450400002)(5890100001)(39410400001)(86362001)(733004)(6486002)(50986999)(189998001)(42186005)(110136003)(2351001)(106356001)(86152002)(6116002)(101416001)(38730400001)(3846002)(105586002)(68736007)(19627235001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR08MB1190; H:e104320-lin.cambridge.arm.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR08MB1190; 23:vgOg1CVVBzjttOujA3/X8XZ8KtcmNNe+DhqTJEk+H?= =?us-ascii?Q?7o/7ruAAhCDPx+LRRjVqlReg7yUYevJ/DUskfTkwOSWwNpmmu2sGtV2UePPp?= =?us-ascii?Q?rTytqSbC5KcBLzS/potJtzw17I1PNWOI+O0jbw+7H84AdRAVCPdCwoLeBikN?= =?us-ascii?Q?vrzRyitO9DKgmyZQ0MFabcdPsMvNILo/FW9XV4yEBaiDV+Gcb6EcXF+oqyyg?= =?us-ascii?Q?a9qjrF8+beeawrMPBysYCXn+7EzOL1Hbqn7lA1vslVupyEst5Bg7qAPrPERf?= =?us-ascii?Q?fyHk6BepZ6yoIePCpCdweXAvAoHuzzemV5nJOZMsTDoAkjGtTr3XCSwco1ot?= =?us-ascii?Q?F7Jez3oA7HBgcxp/Zb3k0ziSbUfCvV6XNyT48roTjjtg4/zs33ei59SiR91R?= =?us-ascii?Q?jvLSzsFwq+Fw/YgCSVctOfG0VlrwwGIX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bFjl2Jm4xDdb6agqfge1w58hy3ujLF4ZsLBM9RD2RKl9WMych9+msd2267qi?= =?us-ascii?Q?SvNzvksMCOe02GWkIEDiZ8OK/tlLY30FOXjR0QaYmK7eR93?= X-Microsoft-Exchange-Diagnostics: 1; DB5PR08MB1190; 6:Sa1EiymWY/TQlSQ7nWun/pLDvM1dKFhj8Wk3p3WaV6Io3aapJ8xD3gbxMXhJx4tcuLhqabaU5QFfrSHDz42koLyqXmRurBBhJ8mYuEktsVTwgzbMTSqCD8SlxzyBZ9hUXDiI8+5Wk+PPPI9cOb1POVQLHBYPEgOVwBuupazqRsv5VeeqsfsPYkZBKGZqsz+IC1RHnK84LefaRCtVgqUR/PM9ozeiGdDY100chQ0AR7EQSvPBSXdelLWB+DBD4CrtCnsmYlHwAlKtqRQhTAhHGhgh6oRgfWMCCsSeFK40+Q4MJee16VT1FgHee/ekqBWP9GlYGm8UiZPKiUtVhwze0FPJ2zGJkCXcQTciah2G8fOy5U96bZTJcvELl+pHo7qPdaW+Ez8yBuoRFvCbth1gD69ZordGZ+NALGSXTMJ7dGZcT+JxVNEmWK85EjPTT0UxLBz/44lbuRbeenpfZKVSZQ==; 5:rHwVJpiZi0W+qvMwqrkC4CPNEbhx+wPllyd6S4Z07UzOzN7/4LrdrwyZeeacgngzo7FAEJrmowFk3IFPWe2prtr6YbOTyuXkX77zexZqM0+F4RF1fR4fvlnAQHPpYUly4Uy+vy5B4wHRT+Eg1PvCjQ==; 24:AGbviWHuIQZOVa/SJcXFrP0RERK5SrudmONAvI/4gCo6XbjLO+5oUE1APwemagLWzjEoTqLayRtrmyxC2MvGDl2+Blry4Slc67WXjU6A6bI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR08MB1190; 7:+3nNcYSc7/SILO9wbndnZJPqGF7B6xgAOoKxotKoqQw+sgpNbXB5J0IBtIyWQkq7zFxDtjmWsvzkMnRQx7T+2ra7URHuxUPGg6ZM3tU27EIQZa9IcmS8RIrwKdVJKkqw+TK1ceJReKvC08O8SlVAdefQGdI3qkJmipQq/X99/bkrx/0uHl52GUKVBDeBYFJjSgceMV7Yo/N6dTtdmasjmuy6/fSdqsY9fOQEP/PCofbDdXafPfwjL/qLDhXQxBH9zufmYcxo81CxenENGiuITIS672NKt7Sm9SMh7Lp8XoZWg6C5fHy3bTxigDLT/mrVmVPfaKOePhw1YosnW7n+PIyDfjuNLbAO0HJWgP/ztUfHu807l5SwkE5der+4CRRMhQW4ygvMSdAYQ2WGOHvVpGcFTfBhkVSx5rZd5iyA5gv2POTIxzAgtSZrLZhvTIF2mEuzcaE5AfwUr//CgTn+7g== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2016 10:23:06.3507 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB1190 Cc: Leif.Lindholm@arm.com Subject: [Linaro-uefi] [linaro-uefi PATCH 3/4] Platforms/ARM/VExpress: Include MM communication protocol driver X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" From: Achin Gupta This patch includes the DXE runtime driver that exports the EFI_MM_COMMUNICATION_PROTOCOL for the FVP platform. This driver is responsible for handling communication with the MM environment in the secure world. An implementation of the ARM SVC lib is also include in the FVP build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Achin Gupta --- Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc | 4 ++++ Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf | 3 +++ 2 files changed, 7 insertions(+) -- 1.9.1 IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc index 8d6a69d..b6db588 100644 --- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc +++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc @@ -40,6 +40,7 @@ [LibraryClasses.common] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf + ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf @@ -287,6 +288,9 @@ MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf + # Standalone MM Support + ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf + # # Semi-hosting filesystem # diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf index 2ace4d8..0e9f8d1 100644 --- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf +++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf @@ -142,6 +142,9 @@ FvNameGuid = 87940482-fc81-41c3-87e6-399cf85ac8a0 # INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf + # Standalone MM Support + INF ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf + # # Platform Driver #