From patchwork Fri Jan 20 21:04:25 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: 9529477 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 7BA6960113 for ; Fri, 20 Jan 2017 21:21:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E83F286CF for ; Fri, 20 Jan 2017 21:21:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6337F286D4; Fri, 20 Jan 2017 21:21:40 +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 CAD76286CF for ; Fri, 20 Jan 2017 21:21:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751363AbdATVUS (ORCPT ); Fri, 20 Jan 2017 16:20:18 -0500 Received: from mail-sn1nam02on0069.outbound.protection.outlook.com ([104.47.36.69]:9955 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751284AbdATVUL (ORCPT ); Fri, 20 Jan 2017 16:20: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=pIcwsqekB2aTvYr2UyFqrJGMrgVrClfbacrsJO88awo=; b=f5Qz7CTosIdZqwzZwencAKtRM+GkSSbd09z/q+u3ytdQEoOZmrQUEmezSbZpecmyhPL5Okdxae26JdHuf2CvPTsRet7nJ7bzErqtRiNurm4gzVnIQJyxK4PlBYEmIPi/vwB5q5Kfs2025TZOTc+pbrLyVe0LUwGTxgjUrD+ALM0= Received: from BY2PR02CA0089.namprd02.prod.outlook.com (10.242.32.47) by SN1PR02MB1296.namprd02.prod.outlook.com (10.162.0.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Fri, 20 Jan 2017 21:04:49 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::149) by BY2PR02CA0089.outlook.office365.com (2a01:111:e400:2c2a::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Fri, 20 Jan 2017 21:04:48 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) 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 1F.C8.01420.14972885; Fri, 20 Jan 2017 12:55:29 -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: 0ac94371-7ee9b9800001058c-58-58827941a87f Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 6F.33.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Ram Amrani , "Michal Kalderon" Subject: [PATCH v3 25/37] IB/qedr: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:25 -0800 Message-ID: <20170120210437.26389-26-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+NgFrrELMWRmVeSWpSXmKPExsXCddJ5ka5jZVOEwfblBhYvz39gtXh2qJfF 4vWbt+wWb1ffZXdg8ZjxexGLx/t9V9k8Pm+SC2CO4rJJSc3JLEst0rdL4MqY/e4la8EPtoqp PfuZGxhb2boYOTgkBEwklrRFdDFycQgJLGWS2HR4LQuEs4NRYtWt24xdjJxgRW9u7YRKbGaU +LtgNViCTcBI4tv7mSwgtoiAmsSmV4vYQYqYBZYwSnQ/f8cKkhAWcJd4eeMiM4jNIqAqseTu LHYQm1fAQeLh/XMsEBvkJXa1XQSr5wSKf7rcB7ZASMBe4vjlp2BDJQT+sUisfPmJCaJZUOLk zCdgzcwCEhIHX7xghmhQlzi5ZD7TBEahWUjKZiEpW8DItIpRLDczpzg3PbXA0ESvODEvJbM4 Wy85P3cTIySkC3cwvr7tfYhRgINRiYdXIaApQog1say4MvcQowQHs5II72tgRAjxpiRWVqUW 5ccXleakFh9ilOZgURLnvRj9MUxIID2xJDU7NbUgtQgmy8TBKdXAqLU2w8HmzHz3JMugla7+ y1oCNRjXH9rEF3CkSYxBjF97p3bB1n+OBc+LP78TetB0NX/XQ+/VcwQ/s01g/p66Jqmd7VHq vz4+4w+a9funuO5YaP6sR/qB7p0HyXJSHqcfVOxLiD8gveHR9mXxXu5hzcEVj87WNm2e8PFf 7PZ+ZZ8NLMbthfOWKbEUZyQaajEXFScCAPv9k8BlAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYN0UHouDP9sYLV6e/8Bq 8exQL4vF6zdv2S3err7L7sDqMeP3IhaP9/uusnlMW3OeyePzJrkAligum5TUnMyy1CJ9uwSu jNnvXrIW/GCrmNqzn7mBsZWti5GTQ0LAROLNrZ0sILaQwEZGiTcbfEBsNgEjiW/vZ4LFRQTU JDa9WsTexcjFwSywhFHi9b5OJpCEsIC7xMsbF5lBbBYBVYkld2exg9i8Ag4S2y9eZ4JYIC+x q+0iK4jNCRT/dLmPEWKZvcTxy0/ZJzByL2BkWMUolpuZU5ybnllgaKhXnJiXklmcrZecn7uJ ERwInJE7GJ9OND/EyMTBKdXAOO3buu82+3i3aLd8uDp9V6mouhBb4X2X51E7k4sLzVokBQPm qPeozisQOpq0Y/Whe2/q8/VvrOj9yFJ+PX3fhmTOD/+4j2+JPbu2OfL/XEa1Zt+FbQH//m5z DGmKKg17+cZOqmaPW8m8oC//jMWa464fXiPTt8rr7LFb/5n3ym9vuePFEizmoMRSnJFoqMVc VJwIABCUhdi0AQAA MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(189002)(199003)(110136003)(53936002)(47776003)(356003)(5660300001)(305945005)(97736004)(5003940100001)(50986999)(50226002)(189998001)(8936002)(77096006)(54906002)(76176999)(626004)(92566002)(33646002)(38730400001)(48376002)(1076002)(50466002)(86362001)(8676002)(575784001)(68736007)(81156014)(81166006)(6666003)(2270400002)(69596002)(36756003)(106466001)(2906002)(2950100002)(4326007)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1296; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:kUUeh1PqSBqllhJ63LH4X+qO4NC6Hyc2gLbHDo6mOuCWBOIHoa2ppmcgceS1KNDubZPXlG37OLiZg9o+awuAdvOMC2sK+p+mENAiSZfwuF+ntrotU1GmU6/dwr/Ca6N3iNyGdOyIX/oCcUMWOjwQ4Vt+CM3XQqYnYioZR9yhfoQq20VsFSxELiaj4aRn94IHr8EgNOkIdsuvM+dRHf7gl/GnCi/HsTiEfRtrosDUY2853ZkpyXEB5/KHqh9kiD8jD823isfwW/dPND95d9SR6rAEUlktoopJsdBMzqmIDtwqiL/Cr0uyx37r2GAQxH7HqJrnvp6RZ7jyzV+lkltq0Y1eH5nFuzEJAdrMwj9qONcHrqfZawPPAmey5AdBC4fYHZC9kER135y2mrXADRGCJWuWiKCDjGsIvq/nGljryTn7lxZSStt0nWwKYxARTEEzgBDrYP4qGKSi7QvOuUtxVMF8x2leI4kKFGT5zt5Kz7+H3LoXNG8KYVoglHO81xa4 X-MS-Office365-Filtering-Correlation-Id: 7b4e3c08-270c-4b98-453d-08d44177f820 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:SN1PR02MB1296; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1296; 3:HPxtrQ4k6vrcNLvBPnjuo/cJEf01HehyeQTOvWRZjvDBYVYQGcC8F6wDOXR2IDmkai8e49FCGWlsh4aX51LiW25pXP+UOWJW+mJBU2KXltr2ZecPXEP62JvQJ9WESpgpRXNttG6uEqZqQSwBrKWGNV/36SNhmETi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PtW6FjAtJaXd22r6aysK5mU3LSmmyf0RCc3a4ltQ3gcXDxBBtgfAEYXO2Cajg85DE16L4xLAWb37EiIbLuF/BpanbhASkGSnGlFxG/H3CTGc5CEzHVQZbOhyQ2mlJg7FhWN1sdODTY5ZT/eZxXAOMp97gZZKbeWC0kTx+DATDbItcANbiYvHw20k6LJB2W2e5BYNEr/Q37Bl7gXGrhGJ7spShkHwONAwCbrGaGLyXxvYUMrZm/bT9BFbzI7PYve8gIEtKdgLcbVUI59zzeJKjaWzzrknczKvqQhF20oZyHqCihLSXYvb5JcbEZkGTq5pVsZTEivsdil+VfXVXJjTaw38J4vvabEQyabQ7hJGZHEZJBNIvUZxkEwz4+TdLf6w33DEjxEihL7qSOhdKyde0wwc9BycKz+U4Yh9OVi0B9NFt73C2A/b5Pjlo1kJ4BLHzr81iB+QkFoH6h1eqLMbUBXx 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)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148); SRVR:SN1PR02MB1296; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1296; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1296; 4:qj2txNSj5tb16Nh4jeRVeh9b8+UewoxZwtvHnM3ulVbIijCvnRj1dDaTvi96iECU44vwQPhh9I79+aBLTzuy4wOzpUcjZSy2BqPP4SnQhkWvWaafdPLBrkS0Wghp0l3Jv8GvHPhqhSWSuftZXjWdMLA30um9PzuXWPWkTjzAkVpgvvtvEbRwUAwFtaTnD1CQeWj+f58GEPz6U+0FLHJMer+BovPc0lO+63OuiLzBDy+rqIwH7tpjux5PObo2mfX6mBn0DpNFm3wwJOtgkRDV8UvaSNcbZ63/yvDmd3hUkp21TPSRDTbA6R0ww2OwWRkefF13C18XHRVs3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QuPb10Nqgn+5l9GBAb6MWt0uyAVjr5dcuuIM+1WR1tF2HrVXg5nVLAZaQCpWpLT641RE8Wgi5pV7TbXA/n6NvCEJiO6ZIoU/0CDTSNKBPB+40WvqOJcxMVRfblVifxK10bY3asQgHS7Gk5GOH9TRNZ+k83huojIPlAfi6I01QPKdHNk4EBPupB/gk12+fSIuvAuyh0XCCiKIZyRQMamSDfr8/EvUJfLAXQdcQlDAp26698SYMfZ93IXg==; 5:CIQGQFCwf6TzrQKg+EbL4+86J9tf3DHV8Y77rPMgZIzdfCXUfRuM8YNOznDcOG998n0m+OPgmiexqqp9blJ43pq15b04ZQ9rJHmaggCOyKuHs+lm3jRDx/0uneAUnHFPrc8MiEJSmGkXpQFBNYxbQQ==; 24:Pxd4LdmHX73ksS0tLAbGqIVjabCNcCLdsUIQfavELwyE/u4BW7nL7QrsvHHGbmD1+5R0coWXD16+WS7796SAp8hu72DMxl/Y/pNgb8J5OE4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1296; 7:pddsnkr/vQyXYIyFD9TwQ1m+R3bxD3xwYIx4nJF5COQDo7cLPoeIkGfF6wy/GNvDmzXRM2Itpg1ysx9gkudMV/r9gSB60zuaDJ314nTo4xJijU5yvyK7/RUes9oUDrae6YMFuOApsuaBVQYV5eOGgWS+aesRWCdRjLTseG6sBtrKbHsE/xcmW6WR7oV39kvsOOC/DFC6XErLOReSWc57c5Oh7jgCtt0UotFBLFADZiuYGZ9oHZOcjz10uSqxUGGSqVEWBWdE1szx4NEJnkY68PtytaLhAY79PC+R4MPFiGKf16WGbgiA+YinAD4khpAWoEoPKpnafJVk2MxrzVt5vMp7Veo0mAfAXkPA+5h6sN1FrcpTOEkFCq1gFT7rkAd69YKH7okBys6tzlAMbks1aYI9ImDprF5Z16YMyxddk0IHEcHwimsA1DISgeaqmHQsXOVg1fLi3qnG6sUwgxA9Mg== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.5392 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1296 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: Ram Amrani Cc: Michal Kalderon --- drivers/infiniband/hw/qedr/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qedr/main.c b/drivers/infiniband/hw/qedr/main.c index 7b74d09a8217..908c0b00ffdb 100644 --- a/drivers/infiniband/hw/qedr/main.c +++ b/drivers/infiniband/hw/qedr/main.c @@ -170,7 +170,7 @@ static int qedr_register_device(struct qedr_dev *dev) dev->ibdev.get_port_immutable = qedr_port_immutable; dev->ibdev.get_netdev = qedr_get_netdev; - dev->ibdev.dma_device = &dev->pdev->dev; + dev->ibdev.dev.parent = &dev->pdev->dev; dev->ibdev.get_link_layer = qedr_link_layer; dev->ibdev.get_dev_fw_str = qedr_get_dev_fw_str;