From patchwork Fri Jan 20 21:04:26 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: 9529457 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 4DBAD6020B for ; Fri, 20 Jan 2017 21:21:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D72F286D3 for ; Fri, 20 Jan 2017 21:21:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 301F6286D6; Fri, 20 Jan 2017 21:21:22 +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 AB357286D3 for ; Fri, 20 Jan 2017 21:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752347AbdATVVP (ORCPT ); Fri, 20 Jan 2017 16:21:15 -0500 Received: from mail-dm3nam03on0083.outbound.protection.outlook.com ([104.47.41.83]:45952 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752247AbdATVVL (ORCPT ); Fri, 20 Jan 2017 16:21:11 -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=A04w4qpovjabAQme+VJ54buFMaQNuVF/2QxbzyMAo5w=; b=SxYxwFablHpYE7DT4QULNvuy/PuYkHNEEfk67byWac9B6N8XqXi3AhZK9hK4F8IxlpDd0RQoYyqCPVlPrpPOJS06fnwsQCdS0/c4MWVkDPIekxKuKehc6knzm+Ei0VwaRqJoa8YuPNn0weDe4ZPe6aF9RsmeB5ANRSMFNo+iFrM= Received: from BN1PR02CA0052.namprd02.prod.outlook.com (10.141.56.52) by DM2PR02MB1292.namprd02.prod.outlook.com (10.161.142.156) 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 BN1BFFO11FD012.protection.gbl (2a01:111:f400:7c10::1:183) by BN1PR02CA0052.outlook.office365.com (2a01:111:e400:2a::52) 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:49 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; 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 BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) 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 4A.B8.65426.EA872885; Fri, 20 Jan 2017 12:53:03 -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-2f-588278aea578 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id CF.33.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Latif Subject: [PATCH v3 26/37] IB/qib: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:26 -0800 Message-ID: <20170120210437.26389-27-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+NgFjrFLMWRmVeSWpSXmKPExsXCddJ5ke76iqYIg+fXOC1env/AanHrzGkm i2eHelkcmD0W73nJ5PF+31U2j8+b5AKYo7hsUlJzMstSi/TtErgyDm6OLDjCVnHywBOWBsar rF2MnBwSAiYSvw89YgexhQSWMkl8+RnZxcgFZG9jlPiz9wYLTNGSmV/ZIBKbGSXOz1oC1s0m YCTx7f1MsCIRATWJTa8WgU1iFiiQeNq4CcwWFnCTWH+6jw3EZhFQlfgw/ytzFyMHB6+Ag8SC vjyI+fISu9ougo3kBAp/utzHCHGQvcTxy0/ZQfZKCHxjkfi5cRIzSIJXQFDi5MwnLBC7JCQO vnjBDNGgLnFyyXymCYxCs5CUzUJStoCRaRWjWG5mTnFuemqBoalecWJeSmZxtl5yfu4mRkgI Z+5gvPvE+xCjAAejEg+vQkBThBBrYllxZe4hRgkOZiUR3teVQCHelMTKqtSi/Pii0pzU4kOM 0hwsSuK8bve+hAkJpCeWpGanphakFsFkmTg4pRoYN/21kmvI+XktfY6n72l5Pgdui+Klx0VT rogdOB4VIX9TJufq+tuseSLWhzulrme4zdL2uuVwb/Wiu6evla18+DKjpsj8AVu2vHbvmprQ FR7c02X0ZRYnmWxp2lreIHHiamPkDv+JB0oauE+KMJceWhzUeqv70452ryaJH7vnCl+4cLvh UFusEktxRqKhFnNRcSIAuwFwll0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYHUfr8XBn22MFi/Pf2C1 uHXmNJPFs0O9LA4sHov3vGTyeL/vKpvHtDXnmTw+b5ILYInisklJzcksSy3St0vgyji4ObLg CFvFyQNPWBoYr7J2MXJySAiYSCyZ+ZWti5GLQ0hgI6NE77lmNpAEm4CRxLf3M1lAbBEBNYlN rxaxg9jMAgUSiy8uZQSxhQXcJNaf7gOrZxFQlfgw/ysziM0r4CDx9e13RogF8hK72i6CLeME in+63AcWFxKwlzh++Sn7BEbuBYwMqxjFcjNzinPTMwsMDfWKE/NSMouz9ZLzczcxgr3PGbmD 8elE80OMTBycUg2MB7zW6HOWbFrisn26UvBmr4R/E3bs3cnNphbT7cZ3r+n3HdavBSW8oa+3 Fv17+Knowbk3pWWNvS/bFmxcc8nPLEd4o6f1y2Xy1U/ZrfosGPe3XeK77x6wbRnPpsV23TWL 9m/xWLTW5rtn5JE31yW2H/O7kdP4fp9lye6pcT/7M+YwS7wMEcvgUmIpzkg01GIuKk4EAF4y M7KuAQAA 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)(39850400002)(39410400002)(39860400002)(39450400003)(39840400002)(2980300002)(438002)(3190300001)(189002)(199003)(305945005)(5003940100001)(54906002)(53936002)(626004)(50466002)(189998001)(5660300001)(68736007)(47776003)(77096006)(8936002)(50226002)(50986999)(2270400002)(69596002)(106466001)(38730400001)(76176999)(2950100002)(6916009)(6666003)(48376002)(110136003)(33646002)(4326007)(2906002)(356003)(36756003)(97736004)(86362001)(92566002)(8676002)(1076002)(575784001)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1292; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD012; 1:yBsenvWPI4eN5dIgoDzLdbNYLZ6z0xkUuV8ZovuA3KJNtdNrovnPLK39/mKj0YGUtxGHF7l5GkcPXgZIAeanFwKZ8PT7yDcWOLLKQUPXDC7wtMscuEZMXYxov9Bsm+u0AxRU+mMqPFabZpIDWORC41/1meuE/eS9c7jKG7nRYa0WXtGe6xSWMPAMCbQcrGxw5LH1yJb/zOcio0dTpCyWMpI8yqkEtmy62Q+RcCnIx1xh+rnR6XUnC6agROvi1FVAVimKMbbbKKKFrA/+eRw8Jnb8IfHZWJWgumwgo5RKSNxgmj1CfKJMRgHK9Ug8TWum77pnxh9IYenftrRpPa05SzpYeDM5T1hxeVZxyyQ+93u2z4Wa4i5ZI71eu39GSyCKNHvD/+6wOz7qbFKUWAtxxpA15aZrNhRAWXlG+QdZJuo3Xgxge6kaA9Q/FNj96KjVVqnyIkNwpmZp7VZZ+QePG0bdHjXEinCw7ZteJBUejG0XcUCdbEjCY5SkTMIB1dlfZSzfUopkM+1nv3iWThILcFF8Nr5AEDRFIQIgDL7juTGCVdo0+6hsrkGH6xvz12Aa X-MS-Office365-Filtering-Correlation-Id: 0aba2652-53d3-4a38-98b2-08d44177f88e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR02MB1292; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 3:+sGuy4xC6s4v3mFQwGoIlzTWAITs/CEePxjQXuiV1Vptc9+ItAavKNqAt8tn8ELdkNyTMcxpWJM2afF6PEvRq4deAxDbnMO9g2orp/8b6DysfLNSUi70fwqeia+6vsF9xAGAe9YCNE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HCz79YremDrrxcaBlXSNks8hj8Qhg0C8E6WPH6T+BWMTozW4DZQeVbu5Jjh9zGO77k3 X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 31:2dEZmfFQZeuY25SYiOWx007ZdiI8ZgOVaqpT52yJwhqpIc1rFGHCKKZcAY2TFqZIKwhKYxt0prTT+wDGR/0+m44RFu9pm62U8F3d+MpnDU2VJUfpn8md4ycMrYH6si2pA3Wt4vk/PbyzwYPMeLvWA/kwpnbamhjCcLVKzjNG8iyvkcUglcn/+HBdXYtLM4FYABTDogChtIZny4QcLICexyFJyjhgYk9lCMJEPgCTxZB/YH0Vm1O+ShkNYmEphDEl7gedQ42H/Knka6eHbEPKJqKphLDa8myq6H5n+Mcg49FIJLPr4UHAJHV2Z3NzH1yw; 20:OfNlIfKxhJMUelBTb883AmqGcrYEECqE7iiXQOV1oLphsgIS4nCgU5L5bw7VtXgrA4pXjU2B66wgaiaWxDx+D8C0tC2WpM+xlgU/kFx50k+/7aQnX52SGK5bii5AGOABGcb3wsOFvGiSZK9zrz1naHroNnUuWugFkdaR5IfTeHRSiJqqN8jR1P5gkZ1LfDYmhacsEdhfW3ik268I13WBPK4wClVJaSLJs4Qlu4T0ZIHeJOwIufGj9vpxjV9mW2NL/Qe5ZD/CI3AKdPSgMVWfrQbD0+xAi6bKAQxzLQkF/8/ozeD6A2gyztMFAIWcfgKLT0OMKSsZQQfFnBV8oDIZZPHY+UkoMJPqoEGqJfbD3buN9mwvuMdAVBesXfDWjLJ5/kuixV9k+BgbrvsiYCVPLUZ9JSj5/m8D6wS83oD1feHmU7IOtkYKtQJGci/mFPx8bfvd2dpC+uppr5AQxddDWEWrqvr66Xlv1yO1fr9Y4Ix3iyt0+95caiqDnNvwqiR6 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(6072148); SRVR:DM2PR02MB1292; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1292; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 4:k/wi06q1PsFOgR/eH5UOmAWNEZ3TltBOgbpowYymxFtEA5M357v+RmHEhfRXQedLjezaELSRgVRGtDF945TRi90FHZh5027qv8cyrYOED+1NqEVYfM38ukIEBS8lbV3FL6pjkW6JmBRcCxp9xceLPuJEGk6VvoqMSeI91kcM12J17KaTYCzn0dirfeCJ8fWDNwSLtbhJyanqyRMM8mM2Qbz2y0k35+m3o9/ijE+OPbx2w8KKweeiIHNydjvMW9ffUVCOFprp3CDbNegWTRj7YsHjP42fVn2HZaznjjqr0ybPogp8TAnOlSFGwOBbHVrBp9sOHcIuCVmdicVzhT/GW+D5bq3LkN8vbY4lMo9ZGeyI7oOGyyWKZhb9Sr7ZbFUEsJ3s//jVwjKADM9T1BjjLHcLxLgVYN6QsoBXUGAtI4WAom2AOVOOeGWArhmwav8VIg08yj9AoERAz1JVeBVB7M49lTKkyjpHxxdoWSqZRsvfH1Kj1CiSqCrSwFu61kwUZ5FgHSTMVcVBvu8iBH0Q263NYR94mD0o64dY/VzSm/Y5BG5SXvnipQhZzmT7iZjXXdJEUNe9zwJur6TS+lU+FIR7OgHbiu1xj3a6s6UhPctMiod0Ix0MMc1IjWHw07AuPjvjQZf5x0ezZ98AWj6+WYxlp/uOF8z83tF5JW4gARbJAWLKid/f4teqZw9p/NcBORCd/2CulrlXHp8HZHd5hA== X-Forefront-PRVS: 01930B2BA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1292; 23:Uk9d8fWlNCECDZTUxsBatCiaCwHnonYwEk6eTvn4U?= =?us-ascii?Q?XiAXu0px8WdR8YqOgKgj0sH0OkGtfUbsuAHUFfpKaqGTzkKocNXeqFTsX5QF?= =?us-ascii?Q?1c8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pamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1292; 7:uonkFfhklc3YrgSNVW0InaWHA2w69ER9YKCNKVYNInj1lmSqWaMcwdYVtazG13SD7ALjh48fi1vorzDo0tzZlVP6PK7IDACBQwfYJcXqFJKP7mj0+RwtN6OtrVvCTocj2eJDl9+bPQUV9wTfjzSH0tYw+uqMG/i+Qn9gUeiB/wIFGeQRC+2RBScRX92edQGhCOTtM5hoUeOh29A2L920gQr7817DVzIqSfEZZ314D3mc6eIx2xqfQV2wsw+9bxsrr20Xy4Nz5rMCOFXLmb98zX64dC2lLEATbudSQp1rmh51dRVDQEOeuwpTAX/GHjHKAUqBeunQ5tCGsmblepJ5XZLvxofWd3xunUBuQPz8Agb3YlXpqkNZYuupQ80L4le2S/yr7DWgG1awGfReAn2PdsQ9oEQHBKzns1kWoiozDPJSFFcaBrJAK+skwZMm1NZ8WHlwMBCSjJmMewbJFYA9Lg== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.9035 (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: DM2PR02MB1292 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 Cc: Latif --- drivers/infiniband/hw/qib/qib_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qib/qib_verbs.c b/drivers/infiniband/hw/qib/qib_verbs.c index 4b54c0ddd08a..24ed82f3592f 100644 --- a/drivers/infiniband/hw/qib/qib_verbs.c +++ b/drivers/infiniband/hw/qib/qib_verbs.c @@ -1632,7 +1632,7 @@ int qib_register_ib_device(struct qib_devdata *dd) ibdev->owner = THIS_MODULE; ibdev->node_guid = ppd->guid; ibdev->phys_port_cnt = dd->num_pports; - ibdev->dma_device = &dd->pcidev->dev; + ibdev->dev.parent = &dd->pcidev->dev; ibdev->modify_device = qib_modify_device; ibdev->process_mad = qib_process_mad;