From nobody Sun Dec 29 01:19:49 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; dkim=fail spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1495809940438816.8267024196789; Fri, 26 May 2017 07:45:40 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A4E6E21AEBAC9; Fri, 26 May 2017 07:44:46 -0700 (PDT) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0611.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::611]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8AE0C21C8D0AA for ; Fri, 26 May 2017 07:44:40 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by SN1PR12MB0158.namprd12.prod.outlook.com (10.162.3.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Fri, 26 May 2017 14:44:39 +0000 X-Original-To: edk2-devel@lists.01.org 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=gyr12Pg4DLkVeBnQ9viWBzNQuBmlbhBJ/41D87Y3PYw=; b=5pT1M6M0LA/8GRF/fO0zKGSXjJMCtBuMr+zPR+/9AhDQ5qEKrr4Z9SvbZy6tTXvAzdRXN6G9eDY/laq426mUR1rVvYVGr3VXiTLtqbkFlxpkOaJltzxQjw6mybgRmbjOndLTDYDzSdQ7pjsn1rfjok40GKLDVjDbwAAbpHhBbR8= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; From: Brijesh Singh To: Date: Fri, 26 May 2017 10:44:05 -0400 Message-ID: <1495809845-32472-18-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495809845-32472-1-git-send-email-brijesh.singh@amd.com> References: <1495809845-32472-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR16CA0024.namprd16.prod.outlook.com (10.172.173.34) To SN1PR12MB0158.namprd12.prod.outlook.com (10.162.3.145) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PR12MB0158: X-MS-Office365-Filtering-Correlation-Id: 2f1c0edb-58be-4e85-bcfe-08d4a445bcf7 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:SN1PR12MB0158; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 3:AA54DPvfLyt/WvcytuGwKY57ZTqE7oT6NR1qZmNNiA1VkO1fPpJ3dNMur7xzXEs4RpmC+BIQs2fByd+CXydjuOwVlfgDcHWs6exj3WaowOWU/nHNclsTj6fdzIn1JgGgE3VzqQLIrNPMCD6Sw1XbtOsPw7BnRB9EqIp232UQgVWgFEzXEE3xBHxLQLNySWzwvskZdYwBJ9S6lNZ/vwDa0CauM9DFiftC+f/HQ+9NbZ4d+Q9gljSbGgSe2uZe7s4FwZF3Ud9yF6ixa8uHAZtJ8XULr5vmkZiilpDL5EuPZKh3vvIjveAE1M1JeV0gYx5/hnpAqQpEdvgDdH3bAKQ7/gHAflOxkU7rWdMBDtt/tdk=; 25:fMH4zkm4/8WBH3uPMUAwjL+G8YDwXaUkh3nRZu5Gz5fzJCS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U3iifOCg1UajhKydEdmP/a3Fq0ioUJOkLsWYmY4KY1fwDDd8GbYriqhk0GKtmI3KZg8eT0/Y6tJxdMsOcPCP5QcYdEUl71hRZ9/iMm+1u47oGWyOgx25q3Fu0dkMHzjladk2OQvpryg1hiyXG0ugBhfxt4BFkL5Be98VZ7Rz6Qm2BcX/ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148); SRVR:SN1PR12MB0158; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0158; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 4:VO3eaCAGMISeCdlebbcxSpx1417Rbv8Qbo4veWgz0aJXRERfp9X2VLE2aZMyiDEec5NQfvSF78qpf9OauqAkLWQQcbERVenHu2Nl5C/e7zo81k8nAYJSSZtyWZ9V00LIipsj/jMZMjhud0MTabpPqc0rWGOoE29T5blq+D54J+PdiSK2VmjM/oNVZyJV6/ngzgseAujemtCcQRTLmVWYugryO6ATbsyzSL4fKRp2ExUh5NMgCrK5W8bDG5rfRaNjZFRfsBwFwbiBwzbcWpQpRCb9GJBkV8hGZK8VzZOXTKvJ7zCJYf1cMMH9e2tvmTeEhuc6wJ3FTFtnNfCTRsD47v3SLDrDDoCEgtFySemV4S3AQGVV68PsRN65oonMh/+LvR6S6wepnaBc9gQ7yNBXe6jFGt2Op5C/J3YHbO90kdwfRo7WVMfkkojWrsbYnDr5Q7+vtEjYP4MfNt/3yAc/1GMCwNQklHhH2M7+JYNcC3Qq3hlLIo9KKLZb0Yvg27JDUrHDBjGn4pZ7e2AebyquwvmjdEj0QcPzDQQxZ5ktzNmgskJTbQVYpnzyxNtj9NcB0d8ftg3tyTSF/kVDD5gLDnyC5dTVFkacieJ435KYYSdwzo3pN7PG3e5BEoq8BVSvQ0BpWctv9rq1TkA3CQgLrISAPr/DlQmo7MwYCC0RH6+/etXYHMLfekMF5oGwjJKYJdaotmfLmgxDZNJ1tNhGcYVTD6tm/wikgNTTlixBRNmVvLbzhb0GDGgKy9RLgtiGwSH+yUwekX+hyhlN0UEsnj6hqlwERrk0HE0JnhPhi6jR3W+pQSHnFwPK3wBHhWYn4MuJEWjFzyh0clhVS5aeMLBpL4x13S0VB5AmfDJc2fJk2gg7Bpdjc9M48cEg5Uej X-Forefront-PRVS: 031996B7EF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6029001)(39450400003)(39410400002)(39840400002)(39860400002)(39400400002)(39850400002)(2950100002)(6916009)(6666003)(38730400002)(110136004)(50226002)(76176999)(36756003)(81166006)(8676002)(53936002)(86362001)(478600001)(48376002)(54906002)(25786009)(5660300001)(50986999)(189998001)(5003940100001)(33646002)(305945005)(6486002)(2906002)(53416004)(47776003)(2351001)(575784001)(42186005)(3846002)(6116002)(66066001)(4326008)(50466002)(7736002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0158; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0158; 23:BQ5zUkskZDyYT/b+9sFpAYch7e8sVD98MTSQ1nyYS?= =?us-ascii?Q?wDPkC524PtEll5YTDDmA+XtdkTI/5nv4I1hvpi9nF9+ZbPdFZdQKooWilZO4?= =?us-ascii?Q?FVXEe5nzTx65ZSSZ02THdam/IryxVdMGJya1EiGbl5InC/T42jKGwVNq6PzJ?= =?us-ascii?Q?kGuIxIEA6waKNcMcWgr2GYcW4Uoacw2U3SMw0hKYHUfPHO/uN+oELyrNSU5P?= =?us-ascii?Q?o1Vu1hUPa2Mu6z9sKfwzX1GuH0HtaXBvch7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jKbngj9zvXObjcuwTFnS8zh/VDJE6R?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 6:VkmQ3hH1AVfKu2oLkfMmqvXRrtXCp5AROztb5b5l9hrvdqDk3zJPJb1eFZo46HbuRHiwz6+1bIZHuYCscF+jkNFKk853Mc4GZT2w2iAw0svTXst62TqC1zY/xOFlrgp9BrWbrQAFTd2dY6xIcDRGzvAsLU4pO28gn+TAHLESA1tzmn64ShsGmBtglRiuax/ZHQKCLZXz64vbZ0/3H3sBnhh3+6jMOfX3MmXkFvf5SQbwetxlWRq51v49KtUojW6HmP6pH+JwqLtxD8cO8i9AtxD636FEMVlzTe8YaOoOp6lkMN3DknlRP2/SPsIhEKxWK4Xv3FFU7UYN6502gAd5/rwMiFybKrlJBBSgDnW/5lSGkxTAUPQ4BY7bc9R4tXaydKGDuGUtZAYfdL9wMrqW6niLNLnDiK69dFzN6Mlz/kjflspMu0LFXuC5K5tSxcC1zhCaPEc7idR1gmzyi+NXihdeToR7MO34mhzMhyYVR250JiUUsKes/CyV0Ng+un4PSVyFCmDuixTExGNglSQT8sHeeMaCzCtASTpWgsoemcI=; 5:VajN+vZvYcLcKY87TNgg4wC9fq7wELMNQpgGv5XnaY3tsiYba8aI4dGfP8hLzGsgPTUIq+9AqwLQr6+j+3hMGcmHHubeOjQPIUQU4sdu+1WzMw7XV/9ppfWySjlLPXNtBo1AYEiuG/I5b9/Z7MWpTQ==; 24:71/zFtGmBcKXxVMLZ8n1FU4bFG/+2xxXB3yg8sog9igJNIMAwmsIdoHG7Vvrb4erm4EqX4i/mByLWi0teRcZINO3SB6AB8YtS/vrI9ERji4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0158; 7:vld8jU56fbB0Hep4XF5/5sjOLTaqvEufIfSC4kprE1TOHWUTnpmJ7YSOrOz83KBki+u09bp7AaNWUm68EixKnAssbCZJDj2ejXbCQsoNJgakIGEHKikCvNyTUaSLzuUeI6bglFP2t65hhb+pMd6WVGpkn6krsEY4TdtgakqFNwntsFcSpBjpD/l2AgD2htDm1sUchpF6kUxhuzgBO87xwd+s2NrXSUs0gsw/tYtz3yGR/gQPVpkdCI8fhipJy39ZJjAMM3HZdW+7A3fm5VZ58qb3Q3tt/sWMAnOk0Wl8kmq0x8AEB1WITHxqnckSxB54xAhWX2YMRhuoJnaQYoDVzA==; 20:By+YTcCfd2z0t2T/TRY9HuF5Uet8aloETyN0ep2xg49cyrp/BEtpMUPRBNTlnFdPCO/IgLsDN8rUgsgCQ31IviYXyzj9pIVRCJdNNhnSPuKKm27BqgSdx4qWVkM5RPYqb7LieUzvzzFY5FD907dOZOYkYA1yGAGLejx4jzssYChoSn3TRlfRY1LQ98HupDfzEgIIGzgOY64wBb7CgesVX9dh2WP3Ie+y5PfL9A93lGKzAPUPmSvCahHx+xLlXZFD X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2017 14:44:39.1339 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0158 Subject: [edk2] [PATCH v6 17/17] OvmfPkg: update PciHostBridgeDxe to use 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: , Cc: Thomas.Lendacky@amd.com, leo.duran@amd.com, Laszlo Ersek , Jordan Justen Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This patch enables PciHostBridgeDxe driver to use Platform IoMMU detection library to ensure that PciHostBridgeDxe is run after platform IoMmuDxe driver has checked whether platform need to install IOMMU protocol provider. 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/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + 3 files changed, 3 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index fffee6b0610b..7bc2404ca84a 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -626,6 +626,7 @@ [Components] MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf { PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.i= nf + NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf } MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf { diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index a7a6c4694bca..e6773084a0f5 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -635,6 +635,7 @@ [Components.X64] MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf { PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.i= nf + NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf } MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf { diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 31145b4bcfad..905ed30232ef 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -633,6 +633,7 @@ [Components] MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf { PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.i= nf + NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf } MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf { --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel