Message ID | 20170120210437.26389-25-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 E547B6020B for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:20:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3D3E286D3 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:20:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C895E286D5; Fri, 20 Jan 2017 21:20:48 +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 4C5E7286D3 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:20:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982AbdATVUq (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 20 Jan 2017 16:20:46 -0500 Received: from mail-cys01nam02on0061.outbound.protection.outlook.com ([104.47.37.61]:23191 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751970AbdATVUi (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 20 Jan 2017 16:20:38 -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=fOA6heewr85N7lu82pxmy+2pKW+QJ+F4fBMKd9VeNu4=; b=dLz+Z3hl55/qIRcXvGqxOmp2D1K/at3QwcPDa+boy+xEXMKPY2oj4+6omiXvvzCcvMVks59rIgOzob9J3IH6nGi8ejz5SxLhdooRSC1hx31AcLnCQ45SYkAQtjL3xtPwalzKGT5WsiE6MUIZOslYe8lwgoejEfRB4u8tFvQcMT0= Received: from CY4PR02CA0029.namprd02.prod.outlook.com (10.175.57.143) by BLUPR02MB033.namprd02.prod.outlook.com (10.242.191.13) 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:50 +0000 Received: from BN1BFFO11FD004.protection.gbl (2a01:111:f400:7c10::1:144) by CY4PR02CA0029.outlook.office365.com (2603:10b6:903:117::15) 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; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 BN1BFFO11FD004.mail.protection.outlook.com (10.58.144.67) 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 49.B8.65426.EA872885; Fri, 20 Jan 2017 12:53:02 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) 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-2e-588278ae3edb Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 1F.33.16817.86B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com>, Selvin Xavier <selvin.xavier@avagotech.com>, Devesh Sharma <devesh.sharma@avagotech.com> Subject: [PATCH v3 24/37] IB/ocrdma: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:24 -0800 Message-ID: <20170120210437.26389-25-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+NgFrrALMWRmVeSWpSXmKPExsXCddJ5ke66iqYIg413LC2m/RGweHn+A6vF s0O9LBYb+j6xOrB4LDs/kdnj/b6rbB6fN8kFMEdx2aSk5mSWpRbp2yVwZRy618Re8IW9Yt/8 tawNjP/Yuhg5OSQETCTmfVjK1MXIxSEksJRJYvbUdihnB6PEqlu3GWGqzlybB5XYzCjx+tFj ZpAEm4CRxLf3M1lAbBEBNYlNrxaxgxQxC6wBKrq5FqxIWMBTYu+140D7ODhYBFQlVj6yBjF5 BRwk9v93gpgvL7Gr7SIriM0JFP50uQ9sr5CAvcTxy0/BRkoINLFKfPt6HSzBKyAocXLmE7C9 zAISEgdfvGCGaFCXOLlkPtMERqFZSMpmISlbwMi0ilEsNzOnODc9tcDQVK84MS8lszhbLzk/ dxMjJJwzdzDefeJ9iFGAg1GJh1choClCiDWxrLgy9xCjBAezkgjv60qgEG9KYmVValF+fFFp TmrxIUZpDhYlcV63e1/ChATSE0tSs1NTC1KLYLJMHJxSDYx+AvPWvP2Z867Noq+waINcW6Lt TzY9udzFrrsqbD+U3w093ndumv/KAucHDzZWLeEWXL3s/vuF07+vK/b6I+7MzuP4IMK0verh lv9Vmo7lZ5+arJ68IuI3i9yG+g3JwZyPhBuqJArvi12vcCpRK7F447R3v3FI1cNjJzIc7t4Q f+r+fVvf2XYlluKMREMt5qLiRACyYrqNYwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYGeYxcGfbYwW0/4IWLw8 /4HV4tmhXhaLDX2fWB1YPZadn8js8X7fVTaPaWvOM3l83iQXwBLFZZOSmpNZllqkb5fAlXHo XhN7wRf2in3z17I2MP5j62Lk5JAQMJE4c20eUxcjF4eQwEZGiSN71oIl2ASMJL69n8kCYosI qElserWIHaSIWWANo8Sst0vZQRLCAp4Se68dB2rg4GARUJVY+cgaJMwr4CBxfMdNdogF8hK7 2i6ygticQPFPl/sYQWwhAXuJ45efsk9g5F7AyLCKUSw3M6c4Nz2zwNBQrzgxLyWzOFsvOT93 EyM4CDgjdzA+nWh+iJGJg1OqgTGgpFPK+bmLjpthTuqW7W+/JXI95VqlqBRmE3I7wXj/Tdb5 ts/2n0touit1gsuwb77uc68HpwuPSf1+855B9FrPXxHB4/0/q+41LDnz6+R3gwNPjvj2/r29 MbhkspfpBf3KSrPStXcW8P3km+p0xLq43Cj2k9YrMbljWw8KTFh4ZkrLljnV+XuUWIozEg21 mIuKEwGM/idqsgEAAA== MIME-Version: 1.0 Content-Type: text/plain 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)(39410400002)(39450400003)(39860400002)(39840400002)(39850400002)(2980300002)(438002)(199003)(189002)(110136003)(33646002)(48376002)(356003)(5660300001)(97736004)(189998001)(8676002)(38730400001)(50226002)(81166006)(6916009)(2950100002)(50466002)(2270400002)(86362001)(6666003)(81156014)(626004)(77096006)(53936002)(54906002)(47776003)(8936002)(1076002)(4326007)(92566002)(68736007)(50986999)(76176999)(69596002)(5003940100001)(2906002)(36756003)(305945005)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB033; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD004; 1:2P+2E8nZk/x9Y6LeCemqYSgYVptlX80DNnZNs52c2SJu91mOv2jhlnBqC8l6WiIAbMyOXOlNRj7wdbD4R0EmDJ16UXgdusrMpIcXEejF77+08mNN24Z3VUmuoIGNQmGzJS2fOuQLZhBHbNBfKNMg2vgQ1HeGovjgwnerH9qfOXiuVBp0A8knVJPMjjThtGPsvM4EQqoky+Jw3VzsUNmkecXfzOQPkGEKiOnC1M0uDCGPWBb6abFyxePvF9iwwA4q0r2Y0nBBbqCFE0B/fJ2K5tcCMXlb+LmItZncLiqo78FIyyu6bBoMAjMJcldSS/PFkHDXGOXr9kDi9oi4+yjomuMmqCVObAsvzjdUTpTL4a8Fh+WPTTCL/kkQxXV6h344ZxHcF/Evd1MpCCpdOYsrl4iKGzI2lh+FUBV/fM6xtH4WyCJrXsVV76H+EyihDvQIWqSLbanxNxmAGA1IJMoHHsaSGLhGQto3SkzXBPv26HE= X-MS-Office365-Filtering-Correlation-Id: 727b7fe9-aa2b-4957-046a-08d44177f813 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BLUPR02MB033; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB033; 3:kxTPWtITf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710@BLUPR02MB033.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); 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:BLUPR02MB033; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB033; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB033; 4:LdIHk2mnB6y3vSShhXgvpWaLZe4NGWJ4qvdAYRN1vgErjT5ptWDVHD9gfpr1Ajp2fF9H2VnQ7PmlMWF9mKXxg5aQc5z5YSxvCt2iZ53inc0xxRDLYPUKSO9SaHBcRqAT1eVjEhS+b6FTKoiUF8C3ufopYJwBN6Kj0hSUvHr/AN8q5JBC9/PzCz2D+4OHprpjU3QKvpWgiBW5GAhcbjyJek+M7PDsvQ3e1Va0w1IIj1AaOx3VVdP4dgl4uV9yYc5QBuGD1AyQYa24/91yw9jYxDUatN40udXDooZvNDDGrgaIf2upRmWlpITw3G1O3CYUtE4edbd5DcJtkDaa5covCgmLDrDw1jhpcl5o64jsSlJcosjTO4lfAOCFCNwc/HRvy7dBUzleDWD4R+GByHcbnV5dC7PyKjDeoc/eVvrn6W9uA9V0o2f59NueLRrWxdxSV++0+EMw1rC0bc1SKaaToHGNGwF3ibmAstDujBRWRWvEBhiLigiq15Ak5Hm4b9J76L6vSkPDB/ApEtWWB88cM01WMlrIj8q6+fVa2rZ/4a/SN97MR4i1wlCAU623OWWENLbPwLq4V0QMVcHH0DJ6rQgxWTav8SKUzoTM7dhsPdw1tjslVf4+in7IYoJYSV7mN+c1HsJFVaSsOd64z0KpUV0nWHC2MGVie6KEbJFrTp8= X-Forefront-PRVS: 01930B2BA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR02MB033; 23:d6j3CuCfi7ZRwRocRFJS4/RyIGamfX6qEfMp9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8Xqq1Y6PZFwE0c2Y+qMiSpfwZ2Xdc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB033; 7:VDDvm2OvDEXWAN5s+J8/VlwuZ6acfXZVDs5vN/qmZA0t9G5vjcGW5y4siXnqnJ6Wo/6vbmwAu9r3fP0pXF6d1YiZzpOnAXydg8sGS1UxmFczbO7swxaioSSQBEB9A8mnOWP97CAM2Hb2MB7jq2eGEPbLFYEuE6WLPcgVmYLJJx8xjeH7zdWJXXhjxGekAjPXZX18vlLxC29nAFJBCifMfYNUOuEim2jHGE9lnjmaXol+d3UqgwYGHMfIGB5Hb8zkWoSfPCU1UbmsS1CVa3DDE53JncYCrN/jTMULbzpK40iI3BkireBJ8f3dzIWVq+hGYwjDuDDpUGI/XuSAdFgFQB6JkPndzbnGaEBj/ikuzlmVRg5b+jQGDX7c6tGUXHAgerVdrQ9+gC66WNnGfNp8FDRCip4iezrR2kHwNTz6Xf8vizZtatHwsvg7s2g8MlGXwO8gDqJ+haGedmeDaWyjIg== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.0312 (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: BLUPR02MB033 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_main.c b/drivers/infiniband/hw/ocrdma/ocrdma_main.c index 896071502739..38fb8bf35ef3 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_main.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_main.c @@ -198,7 +198,7 @@ static int ocrdma_register_device(struct ocrdma_dev *dev) dev->ibdev.alloc_ucontext = ocrdma_alloc_ucontext; dev->ibdev.dealloc_ucontext = ocrdma_dealloc_ucontext; dev->ibdev.mmap = ocrdma_mmap; - dev->ibdev.dma_device = &dev->nic_info.pdev->dev; + dev->ibdev.dev.parent = &dev->nic_info.pdev->dev; dev->ibdev.process_mad = ocrdma_process_mad; dev->ibdev.get_port_immutable = ocrdma_port_immutable;
Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Selvin Xavier <selvin.xavier@avagotech.com> Cc: Devesh Sharma <devesh.sharma@avagotech.com> --- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)