From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0088.outbound.protection.outlook.com [104.47.32.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 653BE21CC5372 for ; Thu, 6 Jul 2017 07:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=w90GZcfCnzDumEJsmYem8fjREZtkcrxn3NUSpCMUb/8=; b=J0ZRwWAbUBeeMUOEBq+aLzZ7F0LlnFoyg3B5qjJCUjE2VEIU3B8+3muXxVrqECZ/QDkIM5/jvMSNbG9zR03eMoGU8F22sMAakqBrXXX0Z5Z3GAPyr73q3lEAQ97u3LO0izT7aKgFWacRREPHYSPqWCQom5wAhSvWIYj/zUODELg= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; Received: from brijesh-build-machine.amd.com (165.204.77.1) by BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 14:30:12 +0000 From: Brijesh Singh To: edk2-devel@lists.01.org Cc: Thomas.Lendacky@amd.com, lersek@redhat.com, jordan.l.justen@intel.com, leo.duran@amd.com, Brijesh Singh Date: Thu, 6 Jul 2017 10:29:45 -0400 Message-Id: <1499351394-1175-8-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> References: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR15CA0024.namprd15.prod.outlook.com (10.173.207.162) To BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28504175-c1c3-4435-c94c-08d4c47b8372 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 3:4JvY9SpIPeVuQjfwEFUWS/i0s1HynKv1qvKs2BjaTwN/1rELrcOjGtSHDsF0OgCwlJrm1Su3DvypjCaGYFJsc1ghOjBpe+8yjhG7nYGTFz+lUWVzQN3ZJkXee1HXjiFK/ZyZ7H/GwhqY4wbSRiDtWrghu6NHjNXciOCaYh3iuizowGVQXOiDWuvKKpPpq3TECAWz4Yj4/9Jk0VqGHJuoSuS+O8iq2c58wv3DE0cCZvz6G/7kq9Ra5KgmKfMbXKaRhA7Dp+/bjeHjJujujHUTRlqSNdmtye+LOBNb/u/DthccU/7FTHsp23JUb9gnKtYT54z4R5XCtcULHROQM83EdKroXk/LJdo/eFdBAqbZ/LUW2NEuSOtCTuvMD+Be1HGAQdYbfigyDhvYPS43Ti9ZjMLK6BsagS/vwGAhhsAmACmZbCmja+O19+Fy0OjAwRAej7PStc3l6uN390zTMXs8Dz4PeifjCZXRLLiZxJYJ1YupGsQxX+yMo/rQ3kNOLqIwg2uUcJJbKlsKnumKjMyBWFb0aFBSk45EKJw50CQdpyRoojZqtQ2zTNlzNB6l2Xkk62Ln5dTL2UyMnUp3vmIDSLBBOGs+g3sk/wTnpmPwiG5/XhLp9pJsDi6UfnlSxC/2rDj0SpZgCupLAfSwSsWKuV4afAj6UaavBMZirwWoxjZvOpU2FL/IMc8aij1SKwk+/SQ921kQ47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1Z10P/g6JR3Xp1R6tHbuc9Wf54jf1lzhIDBh5yDJHjtqcaHLHnkOKeB4Gxg6+RCnQQ17Pcwwqkh6/9k7kAbJAi12FPmrXVzFVXf8yTqvQdkYX7vzuTc2+RzwMoI7GEjWXiwqWPb7GiiP2vM3+7DjGizS5WGRGBfalRQQ0CxuWHWLV08mxBeeBo4gIrluvDfpMSraY0kP0hVPvDujqr24lHR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(767451399110)(148574349560750)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910048)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0147; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 4:zHSeRxpnt3IqsrT63UDe3CqMBpCuF5wMoVUnRcKs0i?= =?us-ascii?Q?8o4+w63QTjyPGDDKKXq9dk56mDDXg4LY875rHsJkwVZM065CnpmxtUshWqe7?= =?us-ascii?Q?m0tsdgfUutBY+VMcCfSYmFI/UFx7GD4cAjflsXHkpSOmbCK+2uTD7fC+sOTX?= =?us-ascii?Q?KYKx0xUZ4zA8n+kT89OjE7ieVB4TAWEDv0uDGQM1XG342h6AIy7ydrNiiICz?= =?us-ascii?Q?cA3fge4gdfyE8RRl+vD+1SGWAe6xfp/e4NaSC6y6WkuEbPhfUvoM6SGHrAtx?= =?us-ascii?Q?97K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HM3/lejGqcNHPhRCw?= =?us-ascii?Q?7fAfNhTZndFhoYT2oEK+mfyuwzNkQ3Z2v/ils3onb7NiCqcb5TBn3GVcZPlH?= =?us-ascii?Q?MLZEhZ6YFWEngClCLcir5XFE7/dqIixEaPh5O/PWxuvAHOHD/QH1yzxzJarE?= =?us-ascii?Q?a+lJGdSHm9+WDIz1z6tLksARYmZbNuAt6VXD/gLdr3?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6029001)(39450400003)(39850400002)(39840400002)(39860400002)(39410400002)(39400400002)(53936002)(48376002)(305945005)(2351001)(5003940100001)(2361001)(7736002)(50986999)(76176999)(5660300001)(4326008)(42186005)(16799955002)(2906002)(66066001)(6116002)(3846002)(15188155005)(47776003)(53416004)(6486002)(38730400002)(33646002)(81166006)(36756003)(189998001)(53376002)(110136004)(25786009)(50226002)(8676002)(6306002)(50466002)(86362001)(6666003)(966005)(2950100002)(478600001)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0147; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 23:VniiSbnKwE0YRieJGZB/L08ilma9wrDwTJlankysW?= =?us-ascii?Q?+TXxJEl8mbgbJAtzWJ8cE1uW/e9IOn+1XlWqcJoD1Ll3UhZOMN2ZGMeqZpju?= =?us-ascii?Q?jRVoumxJ5XkVrrYOlNhMHXuZ6esBIqW2taj2wYeKTJFDJcLQvDXlvmp/oe89?= =?us-ascii?Q?bQf4wmz1qyFpJE8uQdu4mePt93xgzbLA+GH2HKJY9SvnOQlD9z1d8RFjvCU6?= =?us-ascii?Q?CrqI/rrCJEJPqVTXFbpXcxaeQYkYF3l4zKnzy09KORX8z5B+1XkTaj88a2Ev?= =?us-ascii?Q?lPSHDP2EA2MDGdJVwHGgR4KOoZFfZH2zokH3+jFk1JYPpN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= =?us-ascii?Q?yVQVRiQSIex4FMhmpZF2neFrQEgwAu5SonCBQVSNTMop6DhjYj8scUdgVqam?= =?us-ascii?Q?EijXEvKwnnC+7BcmsnZo3/IVWx+SV5GXY6ySKDF0H591dOIrqAiyrpf8bsoY?= =?us-ascii?Q?Rdsse34Q05NsO9EMql2lgUmENfX2nmmy8eNE6yYUvZuwvGrDI81ZGuppZTqC?= =?us-ascii?Q?gPmRTEFlv20+bEuaD7Hv4j?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 5:555LKMvyajYC0BPCnuXQBKKPykoj8brrVWTnVODHBYOzrcX5NyJL4j2B0YUFJIMRDUx5m/WcJfOtQYbAqTXmHHN55SYJu++7dM+3IFl7q3GUyTNxmY8HG9VYmykugaSYUPuD3WbndAuOajg8xywLAzrcrvpsoEm+hH8aRgkdZuTpQWijeIQp9G6AP4eUL7AKXopzXFVXd0to2NAP8CJPBlMX4NukovucLiCZR6HRTAjv1Zl54WXBLJf9gtctEPHJnZWf7m07eS5UymOT7OwPi84UAV5bDb4Hi2gRXrWDiG5tgarVnpsvJYklRQPymWYWKcytZ7P4dd6n6tyWlO5lS1kcpxKWUv9+vCgoqYFMe3Hs+K3qc0gtSRbZzvNGQzwxX8SWypoSTHMUdzw9HnSHI/oawrAbqGnyv27TCDZLPtRVyFm4E3BxaCKj3hSn3EQgTjnYagsX+gJFaj2i3/zy8XvMbQgnyJ7DelZZhlI1T+09PIXpfne19t358E1LLDaK; 24:0CQD/fyRQeYvgp5PO6SVDcotOcFY/QJXSUznY2lAiovsNkXwdfsvTJfF29VCfTaPRTZtxHjwQvJRcRG7mHGqxwz/4Q6LaG6pzmO2nVQaRBs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 7:5L206Y7nsjndnqEPDe8WTPFZuXcGgEVFLheF4avWX6ySc+OVm75OWWmJK1Uw4QvY1WsaNie26bb14JHi+BcIqq8is6PM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12.5947 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0147 Subject: [PATCH v8 07/16] OvmfPkg: Add PlatformHasIoMmuLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2017 14:28:34 -0000 Content-Type: text/plain Add the shorter-term library instance outlined in the previous patch to OvmfPkg, so that we can imbue PciHostBridgeDxe with a protocol dependency on gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid. Cc: Jordan Justen Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Suggested-by: Laszlo Ersek Signed-off-by: Brijesh Singh Reviewed-by: Laszlo Ersek --- OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf | 38 ++++++++++++++++++++ OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c | 33 +++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf b/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf new file mode 100644 index 000000000000..f8151cfe2594 --- /dev/null +++ b/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf @@ -0,0 +1,38 @@ +## @file +# A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe. +# +# Plugging this library instance into PciHostBridgeDxe makes +# PciHostBridgeDxe depend on the platform's dynamic decision whether +# to provide IOMMU implementation (usually through IoMmuDxe driver). +# +# Copyright (C) 2017, Red Hat, Inc. +# Copyright (C) 2017, AMD, Inc. +# +# This program and the accompanying materials are licensed and made available +# under the terms and conditions of the BSD License which accompanies this +# distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT +# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +## + +[Defines] + INF_VERSION = 1.25 + BASE_NAME = PlatformHasIoMmuLib + FILE_GUID = 49b4b018-0558-448b-1e1a-12226342877d + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = PlatformHasIoMmuLib|DXE_DRIVER + CONSTRUCTOR = PlatformHasIoMmuInitialize + +[Sources] + PlatformHasIoMmuLib.c + +[Packages] + MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + OvmfPkg/OvmfPkg.dec + +[Depex] + gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid diff --git a/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c b/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c new file mode 100644 index 000000000000..a271be3e8aa3 --- /dev/null +++ b/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c @@ -0,0 +1,33 @@ +/** @file + A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe. + + Plugging this library instance into PciHostBridgeDxe makes + PciHostBridgeDxe depend on the platform's dynamic decision whether + to provide IOMMU implementation (usually through IoMmuDxe driver). + + Copyright (C) 2017, Red Hat, Inc. + Copyright (C) 2017, AMD, Inc. + + This program and the accompanying materials are licensed and made available + under the terms and conditions of the BSD License which accompanies this + distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT + WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +**/ + +#include + +RETURN_STATUS +EFIAPI +PlatformHasIoMmuInitialize ( + VOID + ) +{ + // + // Do nothing, just imbue PciHostBridgeDxe with a protocol dependency on + // gIoMmuAbsentProtocolGuid OR gEdkiiIoMmuProtocolGuid. + // + return RETURN_SUCCESS; +} -- 2.7.4