From patchwork Fri Jan 20 21:04:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9529473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 52A2560113 for ; Fri, 20 Jan 2017 21:21:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 449D9286CF for ; Fri, 20 Jan 2017 21:21:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 393D4286D4; Fri, 20 Jan 2017 21:21:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3540286CF for ; Fri, 20 Jan 2017 21:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752422AbdATVVb (ORCPT ); Fri, 20 Jan 2017 16:21:31 -0500 Received: from mail-sn1nam02on0066.outbound.protection.outlook.com ([104.47.36.66]:1056 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752410AbdATVV2 (ORCPT ); Fri, 20 Jan 2017 16:21:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QHBhPiIfKKbGsMkNeVq4oSEx0z/8xxsgtXIkuV/cAB8=; b=N3Q3GT9GkOd+CCJfuNEcF+8sBTylRBaYPNsU4YGYvDf7jKa85Q/xKmbbDQqMotnc4jRFdA0hUuyNuN5uOGdSDM3s8PeZI48Hc18v+MAaESqoM7MJq21diUz58RXMbj0P38G2Ovmi0iF6cawf795TCWofP0m2fS6WDqLAUx09ENU= Received: from BY1PR0201CA0029.namprd02.prod.outlook.com (10.160.191.167) by BLUPR02MB034.namprd02.prod.outlook.com (10.242.191.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 20 Jan 2017 21:04:49 +0000 Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::193) by BY1PR0201CA0029.outlook.office365.com (2a01:111:e400:4814::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Fri, 20 Jan 2017 21:04:48 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Fri, 20 Jan 2017 21:04:48 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 09.B8.65426.EA872885; Fri, 20 Jan 2017 12:53:02 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 20 Jan 2017 13:04:41 -0800 X-AuditID: 0ac94369-b62949800001ff92-2c-588278ae1127 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 7E.33.16817.86B72885; Fri, 20 Jan 2017 13:04:40 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche Subject: [PATCH v3 22/37] IB/mthca: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:22 -0800 Message-ID: <20170120210437.26389-23-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170120210437.26389-1-bart.vanassche@sandisk.com> References: <20170120210437.26389-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsXCddJ5ke66iqYIg95vkhYvz39gtXh2qJfF gcnj/b6rbB6fN8kFMEVx2aSk5mSWpRbp2yVwZTx/8ZCp4Al7xa4bncwNjJvZuhg5OSQETCRm T1zP1MXIxSEksJRJ4vS3E6wQzjZGiT97b7DAVO19fQAqsZlRYs7mbWDtbAJGEt/ezwQrEhFQ k9j0ahE7iM0s4Ccx5UQTmC0s4CGxc/lbZhCbRUBV4umzaWC9vAIOEj/m/YQ6Q15iV9tFVhCb Eyj+6XIfI4gtJGAvcfzyU3aQxRICz1kkfm2cyQTRLChxcuYTFohlEhIHX7xghmhQlzi5ZD7T BEahWUjKZiEpW8DItIpRLDczpzg3PbXA0FSvODEvJbM4Wy85P3cTIyRoM3cw3n3ifYhRgINR iYdXIaApQog1say4MvcQowQHs5II7+tKoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXFet3tfwoQE 0hNLUrNTUwtSi2CyTBycUg2MFhPP/Nh0MejGI6ekp/aZN/RsdDLMS/duvVbjUNn+p+hfsmex aQe37senKc5p2Rd/HsmMUZ5/7FOyXIzUU1H5W28fuDTLMSo16ZyZ+YT3DGuov8dGIalXAvq+ J1QZf2ROFJZ2mtZx4an5N+djG40eXXafcGHfa5YX67c7M85c/XHelOMf+f+sV2Ipzkg01GIu Kk4EAIscB+xWAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIJMWRmVeSWpSXmKPExsXCtZEjRTejuinC4OY/K4uDP9sYLV6e/8Bq 8exQL4sDs8f7fVfZPKatOc/k8XmTXABzFJdNSmpOZllqkb5dAlfG8xcPmQqesFfsutHJ3MC4 ma2LkZNDQsBEYu/rA6xdjFwcQgIbGSU+XP/HDpJgEzCS+PZ+JguILSKgJrHp1SKwOLOAn8TZ lndgtrCAh8TO5W+ZQWwWAVWJp8+mAQ3l4OAVcJA4f8EXYr68xK62i6wgNidQ+NPlPkYQW0jA XuL45afsExi5FzAyrGIUy83MKc5NzywwNNQrTsxLySzO1kvOz93ECPY0Z+QOxqcTzQ8xMnFw SjUwxm1vUJursyb/bXyYZt6D3T3h8Zpc7Yvu3WVovrre47ze28DKjDx3p2vhpSud4m1a8+Rb QpV/z7PwZNi7s1B3ec/Nx/a/Jq+bprPiRf/sM3t1g1PVLzz4sypWfoGqxI6eyPs74uTbzn6v jCgSrp3xoZ1fOE8m48P3Eq845ZVnfcwmbIuNKXumxFKckWioxVxUnAgAUF5G8aQBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39850400002)(39860400002)(39840400002)(39410400002)(2980300002)(438002)(189002)(199003)(1076002)(5003940100001)(48376002)(50466002)(97736004)(77096006)(8676002)(50226002)(68736007)(81166006)(86362001)(2906002)(69596002)(53936002)(47776003)(38730400001)(81156014)(4326007)(305945005)(356003)(2950100002)(6916009)(6666003)(92566002)(110136003)(8936002)(4001430100002)(54906002)(50986999)(76176999)(5660300001)(189998001)(36756003)(626004)(107886002)(33646002)(2270400002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB034; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD041; 1:xqivXmlZ3I6+gE/MEzI/Qen+M574ed8XzoKGaFmacTIUkv8xik4cQs8uYDJVx1lovmhYE+nbOVSPHMF7elXf3kqc95n/2284tikRigoowj+sTbyFzyXI8krTSx01Sp1z4Bg1ZtSRW0spn7bg5kfU9Vogvs62mE0koRE0WQWkheC5WeVkjXkIf6iWkUnRKgQLYfYByzJbKKqXvUyc8qs9IyJ3HDHK8Ma/1aMxt7WRKfPgH3MdNVbE91JoOvGjt5/+2r4ldqfGhEjzHEl69oUtrkabDB99zFt301BP/kyguh8oaBOBiiQEhAWwpkzU8Pv+8XdGF8xaoVVLQLdgVWXLrJ2+7lvwdIuS5X51n/kZwn2DOm0jLHDB1XKtA+hSEme6Y3HZPrM2hLDQdP7LzwNUq3D06+PpVQyklIPcPcTlDFRtoNtvrhZuxhbbnkmVsnUp9erN0tfqqQ4UZREg+O9sTMqy1jY3xfEYJuayseDTqsiU1nAb5GolqELSbKwvTMks X-MS-Office365-Filtering-Correlation-Id: af094add-b769-41fc-d7ed-08d44177f7e3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BLUPR02MB034; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB034; 3:0kS7koBX5vkmgpD+nIMwM+/TBMa8PX0iE0YhVE4S1unfB5+lsvCegc02+zQSkueJbNTc7VFpsph7oZPTlw+TMvgWywSof/y0zygE9pMjKu+YmQK5W47KOxLRSKS5lLUGDzsYFSAVIiARcyCkohWOEMq2Lfh/MbZcNDrsZH6TI/eMxkpD8vxUk8WIZqJNMcO054DRGk9tLF0sXaCfyp6vCUhmz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ylxPucJSNvZx05cVzaqu4CTBNP1WgIsgjSIfsc8D937txGu2/L33PK25PJ3P+a6aOBGhdccAXEojfCXTTO5Z7B3LmQpB07SHYb5uReAs9bBbSaAeRRdz4Bp2S3nWovk5IsKS0mNMQl8RMHZ3730mr8IcS24AkoQrVrb1qYJummMe7JH+4Nejdzxe7KhhclEwfeCPUCwnQdEsUMsLiVKO1LOOd3F2cMUGjtMS2NRXucgvSqcEpiiQpupy7ObPuCqLO1Z4hA8lTzd6HKoNII6qeosM+Bfh6KtZGqkMT3bcnK+9f1AY47Ye8fb6uzASSN660u3iOfmpJnz+Ze5d4fC3sP3kWRT+5mRRmyYQLwVXMSHQ7iMAGCf0WOGibz0Lz2RD6jbyO7Wbcer9JEe5dmMp5abnoOZ453ATJpTdVx6FH9eUuxF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(20161123558021)(6072148); SRVR:BLUPR02MB034; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB034; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB034; 4:/kg9FBAjd5YHhs0w0M19MP+N+GMcbVbihDZuXyvmSiCVVsQca5nEmURPPv5sfIub18OngTwBlSTxoMHyUy3QqNJOMiqWFwjKvN7dcCcDiRlu8B1FPcrJeVC9DbC4ykRaqcEyqwHIm6m5pY2Uq9lqylZIcCNfXxTtiAVZ+nyWPjWErN0Zmt4WLAHY6ov5o3MvQxVUkh2QpaGc93HCBhNhOxBYDqv7PAikd3WgaWcc/choXF8itvBgJi/x44/Hbhzy01Q5Tad0dsa6Mo39UUtVCCjshcEyYbVTo4yZ4yuuYXeIZGqf/Ei3nvrPVkCFJ7912JkCnmUDSCQoLFKOmM/eMm2qZxGf3guEI4WwcD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1a0/za6UwFNu4nXRmJLIEpEnWZOw9rA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.1588 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB034 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche --- drivers/infiniband/hw/mthca/mthca_provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c index d31708742ba5..8ebfa959c425 100644 --- a/drivers/infiniband/hw/mthca/mthca_provider.c +++ b/drivers/infiniband/hw/mthca/mthca_provider.c @@ -1223,7 +1223,7 @@ int mthca_register_device(struct mthca_dev *dev) dev->ib_dev.node_type = RDMA_NODE_IB_CA; dev->ib_dev.phys_port_cnt = dev->limits.num_ports; dev->ib_dev.num_comp_vectors = 1; - dev->ib_dev.dma_device = &dev->pdev->dev; + dev->ib_dev.dev.parent = &dev->pdev->dev; dev->ib_dev.query_device = mthca_query_device; dev->ib_dev.query_port = mthca_query_port; dev->ib_dev.modify_device = mthca_modify_device;