From patchwork Fri Jan 20 21:04:28 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: 9529499 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 8476760113 for ; Fri, 20 Jan 2017 21:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79533286CD for ; Fri, 20 Jan 2017 21:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E295286D6; Fri, 20 Jan 2017 21:22:08 +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 7D462286CD for ; Fri, 20 Jan 2017 21:22:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751252AbdATVUR (ORCPT ); Fri, 20 Jan 2017 16:20:17 -0500 Received: from mail-dm3nam03on0062.outbound.protection.outlook.com ([104.47.41.62]:48480 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751576AbdATVUP (ORCPT ); Fri, 20 Jan 2017 16:20:15 -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=Arm/tp22kmVtMR+zAkmMOT6Aa0gkrK/gkYaZvm3aQJQ=; b=n0Gc0NjpdJIHBKdKLrCS3ZZUKqzO/kNK3GvjZXZZmDkC1lcBV+4vL+Iikb8YKhpuS0ZvmZxgpsP7kDZzxFGSxNpLAkwMK1TvRUk2oyjdOxO3djsnIDTVNL2svoY8MnPOeT/8gt6eDWUfI70HqAvoi9slP9AE8q9rDFHsjdBqanc= Received: from BY2PR02CA0048.namprd02.prod.outlook.com (10.141.216.38) by BY2PR02MB1282.namprd02.prod.outlook.com (10.162.79.154) 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 BY2FFO11FD045.protection.gbl (2a01:111:f400:7c0c::180) by BY2PR02CA0048.outlook.office365.com (2a01:111:e400:2c40::38) 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 BY2FFO11FD045.mail.protection.outlook.com (10.1.15.177) 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 9A.B8.65426.FA872885; Fri, 20 Jan 2017 12:53:03 -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-30-588278afeffd Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 70.43.16817.96B72885; Fri, 20 Jan 2017 13:04:41 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche , Adit Ranadive , "VMware PV-Drivers" Subject: [PATCH v3 28/37] IB/vmw_pvrdma: Switch from dma_device to dev.parent Date: Fri, 20 Jan 2017 13:04:28 -0800 Message-ID: <20170120210437.26389-29-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+NgFrrELMWRmVeSWpSXmKPExsXCddJ5ke76iqYIg+e/5S3mruljs3h5/gOr xbNDvSwWR/YeYXFg8Xi/7yqbx+dNch7v5r9lC2CO4rJJSc3JLEst0rdL4Mo48fgfW8Fl9or5 87rZGxhvsHUxcnJICJhIdJyexNLFyMUhJLCUSeLt9JNsEM4ORolVt24zwlQdvDobKrGZUeL7 h/ksIAk2ASOJb+9ngtkiAmoSm14tYgexmQXmM0rcWJcJYgsL+Eo8mnWSFcRmEVCVOPT6DVgN r4CDxIQL76AWyEvsarsIVsMJFP90uQ8sLiRgL3H88lN2kMUSAv9YJG5ePMwG0SwocXLmExaI ZRISB1+8YIZoUJc4uWQ+0wRGoVlIymYhKVvAyLSKUSw3M6c4Nz21wNBUrzgxLyWzOFsvOT93 EyMkpDN3MN594n2IUYCDUYmHVyGgKUKINbGsuDL3EKMEB7OSCO/rSqAQb0piZVVqUX58UWlO avEhRmkOFiVxXrd7X8KEBNITS1KzU1MLUotgskwcnFINjFauRlveH6+eoe7fcaTYTru9ofd4 +dVbnVUS27Z+fvFsDQ9D/40l1y5GX7TlO7ldtuCzX0540h79zG8X7Dk8Vac3BW2cbSXsKV2+ c9frctH5Km37m1/cDTPyKVl5uCjFYWGQOuvWJp5M7cqqImOeVr2IxYFbWC9/5/7xsXJLUlxm 56fbyjtXK7EUZyQaajEXFScCADmAkXdlAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEJMWRmVeSWpSXmKPExsXCtZEjRTezuinCYP88MYu5a/rYLA7+bGO0 eHn+A6vFs0O9LBZH9h5hcWD1eL/vKpvHtDXnmTw+b5LzeDf/LVsASxSXTUpqTmZZapG+XQJX xonH/9gKLrNXzJ/Xzd7AeIOti5GTQ0LAROLg1dlANheHkMBGRon/V7pYQRJsAkYS397PZAGx RQTUJDa9WsQOUsQsMJ9RYu2cvWBFwgK+Eo9mnQSzWQRUJQ69fsMOYvMKOEg07vgEtUFeYlfb RbAaTqD4p8t9jCC2kIC9xPHLT9knMHIvYGRYxSiWm5lTnJueWWBoqFecmJeSWZytl5yfu4kR HAqckTsYn040P8TIxMEp1cA4YdHH4ELvE99rmVpXnr7QXeVec8xkYvqXJwrnGtKjZ0x71tN6 7/+M2XtUFdRSmHLDvjFt6Cu3ypeT9fe/FLx0rVfNz5T0ja+Pfzrd+CM7p3JntnPuHx+xScsn iHkeurDv4lTJtx8ObUnauDQ++F3Iuid8dnuu5vPJ//rSEnK00LMnp3Wb4aNaJZbijERDLeai 4kQA70Sb6rUBAAA= 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)(39410400002)(39840400002)(39860400002)(39850400002)(2980300002)(438002)(189002)(199003)(106466001)(189998001)(38730400001)(5660300001)(92566002)(33646002)(2906002)(50986999)(8676002)(81156014)(110136003)(68736007)(81166006)(76176999)(2270400002)(47776003)(356003)(4326007)(5003940100001)(50226002)(1076002)(86362001)(6666003)(97736004)(626004)(50466002)(53936002)(48376002)(6916009)(8936002)(2950100002)(54906002)(69596002)(36756003)(77096006)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB1282; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD045; 1:1c+LKIPmmSf9Sb31EUDsUD4onf/4cjpVIAqoGiosORGhzaxtBXNPDnfzpQUyjQxexIvL1IsEZOo8tvYFhPvjIvPEUqb/JvdMzM6/zE/JwoKlzUL43q3/W5u1dSyD7gGQoRFQ3r3/jQ0Wb8Fo6AlO1WIrxNrhcoQr05JBDzaMD3AJT17UmRNRmtTL22NVGQOKNc32YByJ/kexvE+jNngyKYsCJk9vI3CLlMOV1h+zQ+ZBnC8WGAyPZJST4SFeW/oSmNxbZ5SsxHbVHhTs1IJILA3TorKL3Y5XkLavRuEsCqQ525OYp/Gbs/UyxoAwq24D1NCqX00tX5bgbqHNu/CM6dqZndub3DNI0cs17VsBAl3ZUGogsyCgxEXH+be8fjMtVWJar2iTBVETtgjj8dXyfgbOAJKigztNFBhLcFxDZIS1AOYH4IZJBIrnc0kxRnQzOFlpbYD1kPIBrJLi59m2rIq5XBE8c3rBmWlqjD629l8= X-MS-Office365-Filtering-Correlation-Id: 8518f315-079a-41bb-6d49-08d44177f818 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB1282; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1282; 3:tQJ4dJtCH207u/hFH2gi4NWFaz3Fx7I9ZGSxzVXuh9jxoQyQ19/UkUhGq21tsLBQHyBwA5GLwYM0McYKq82UiT+Y8YUhYwdFhWuIqyQnZAcKrZXG/aGfJu2bNqqaoEJMzGl1dgCtusYc6mWAu5IJEZGVFIXNh8QI//R9pfDk3/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+pg3Z6kHv6rnZkskuxOUPqwS5kNm2gGEnx975OUA0q6/6ojr1w3/VtWd8vOn6kfqPqlh3mFGW4O2z2JXQRgObn5EG7BvxfhZBSA6UXoOmC/p9WWGl3HzmS2BRmBXSx9rCiiy6J79ui+T77ncka8/U7OepbHG9bfXDRH6l/bXWRZgv8Eg8j2+4UU40U3nbw4fvdXVVB5zFZzphUBC5b/INAWpYwAv+pDMCYx4E0EMZqZxtGp+YCqRT4ZG50DgUKoCHk5lwWRoivzHo11OnMAa1w6Ibze2mT75pJ1TE5dbZMj5pcP2lBCSqp97Bb1Tk0Gy4KSzK6i1QopiMEu9Jfoa2/Wq8wqE8wH1eW4mtX4qWJuEbU9imd4KU6b25HJ/2Hd83AvUGb0jN9N8zGkxBGDM/ZECox0smRd//0Mr7nDaKordnpDMFl3A1O+PoPlJMhW/z1n42f8nrKS/UtY1xBuDab1Tx4Dfc6vm9FnfoXaQmG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(6072148); SRVR:BY2PR02MB1282; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB1282; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1282; 4:m9mYl11/B82g/NRNDm9ImaWWrcDPybhaML3ASb7cQjxT9fiQWwC+Lzm4njkH5+OBPSJ+3yORViY6ZPMuCQ1syvJoN3e0j1vZ09No+ZroGHAdoU6MaZ2/BjEAMgd/1TVCr7QwQ4uQVcgKlZ8ZlOiz7Pg/Ol6eU6FoJx/yXyP5YxX19F4MZHXhjEILBGo/oUFDHeoDLdijEO4+rw5/+ttdUZ7wQVuE9olZhEWh4RL1qMyu1c3T9LF+Hod/XXgyTT1l4LYo8qDty9xfVsUGZKjDoQswb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=?us-ascii?Q?5J3z7nMDoR/RHxlwLJ5PN1BR0wF+nK17sU/gDWeqKkSvBSFkRZ/YBAwBM42z?= =?us-ascii?Q?Ex1lNV8j32cnpOL0TG73DwNE14Q63MDfUYVQcZlSN7B5dN1NFR/4v9DZDmo2?= =?us-ascii?Q?tyZMHJI2q1o5a8rRBVrEFzXJrYWaEu7kySCD5GFiIzuW1K/zIhdyybO6glTR?= =?us-ascii?Q?qfOaOcwv53A8d8JK09th+Agzeb4ZFtGrgOKew8SYiNVOvrmWUJd3Hk4l9N6Q?= =?us-ascii?Q?jINvd8StQXeII1f8MO8CRz0UbDl9tKAMPiZYHkWUbPKhl3TKXMOFhXivVIfa?= =?us-ascii?Q?PJIdtCuJHKL09x/yorLnakVrDYoyXhcggOGnq8pgRnRWh3HPRfTKeuvZmCma?= =?us-ascii?Q?rpLlxKnQ9X6jD9a8sKiq8UcZYaQkmruoA91MWSt+f9RCPg8afjOdDHp5fIJT?= =?us-ascii?Q?vFIMyzjBfOOwlB/TCsmeH2LJcmP6vf/eM+U5W7fWPGiyJm2+zvNybf1tObSV?= =?us-ascii?Q?9JrQNdVHIGgCM6D2Ki7phq5ddDz8o10drbn9o7Eu/taxurquv8KbZUOKHh+J?= =?us-ascii?Q?hXKhsQ58JGFG2kABh7m13fWXz2XtW8kcLwQIKPrUcuQeT272BmN45jrjhl+G?= =?us-ascii?Q?1UfD/TscxCGUwxFKFMQtKVDJTh6zru2aXlN+FfRKDzHwRnCMnfCDJfjrf8v5?= =?us-ascii?Q?sRfeTWEmensvuJClFk156IRs+usjFp9ucUzves9YZoPPGaCSbbakw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1282; 6:HoNMNAgalhxE8LQFEs8wx4paqGUydke+sn5HxQkv3rSKAynh4jTP2DauXu0Hc+JwgMEO0CuKwdTBoXHqnOP9KFl96+32fnjIWgiShP+7wzrNHB8j0kv/YclBlJweUERq8wwIhfYRvoLWOYSqT4G6pH+kJR3N+1agENQH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UeweG9k4IsQNvGH1XLpn9fax2d9r2gD2xQ5nIklXuXsqGZttJtw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:48.4878 (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: BY2PR02MB1282 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: Adit Ranadive Cc: VMware PV-Drivers Acked-by: Adit Ranadive --- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c index 231a1ce1f4be..214793d51409 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c @@ -172,7 +172,7 @@ static int pvrdma_register_device(struct pvrdma_dev *dev) dev->flags = 0; dev->ib_dev.owner = THIS_MODULE; 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.uverbs_abi_ver = PVRDMA_UVERBS_ABI_VERSION; dev->ib_dev.uverbs_cmd_mask = (1ull << IB_USER_VERBS_CMD_GET_CONTEXT) |