Message ID | cc801b9e-589a-d301-7d54-cbb6067fae7b@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 510A160221 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 3 Jun 2016 19:09:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 431011FF60 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 3 Jun 2016 19:09:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37BAF28336; Fri, 3 Jun 2016 19:09:28 +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 12A601FF60 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 3 Jun 2016 19:09:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426AbcFCTJ0 (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 3 Jun 2016 15:09:26 -0400 Received: from mail-bn1bon0096.outbound.protection.outlook.com ([157.56.111.96]:7104 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752018AbcFCTJY (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 3 Jun 2016 15:09:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NY/OyY1tT8t8iuZhAH0UF8o68mG+QDSA82i6l+ql8XY=; b=ccMoRYRRKjVRAnFWln8uR4WmyRuFZ9VrNK9FK9y8Jtz/fmr3egNUC9wu6sd0iIcgi5/flE1fSEDR6q5k2pzVqDtxPK1GvJ5s6Lci0q+og4nnr4kLrOdnxWbR8dxj3RGBmqIafcrjn18eZxbIVKL0GAUn48lmB70GbO6u/1YdOHQ= Received: from BLUPR02CA054.namprd02.prod.outlook.com (10.160.23.172) by SN1PR0201MB1773.namprd02.prod.outlook.com (10.162.228.15) with Microsoft SMTP Server (TLS) id 15.1.506.9; Fri, 3 Jun 2016 19:09:21 +0000 Received: from BL2FFO11OLC001.protection.gbl (2a01:111:f400:7c09::118) by BLUPR02CA054.outlook.office365.com (2a01:111:e400:8ad::44) with Microsoft SMTP Server (TLS) id 15.1.506.9 via Frontend Transport; Fri, 3 Jun 2016 19:09:21 +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 BL2FFO11OLC001.mail.protection.outlook.com (10.173.161.185) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Fri, 3 Jun 2016 19:09:20 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [172.22.12.162]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 84.4E.03023.5E4D1575; Fri, 3 Jun 2016 12:05:11 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.279.2; Fri, 3 Jun 2016 12:09:18 -0700 X-AuditID: ac160c69-353ff70000000bcf-aa-5751d4e53cd3 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 66.C3.03875.CD5D1575; Fri, 3 Jun 2016 12:09:18 -0700 (PDT) Subject: [PATCH 3/6] IB/rdmavt: Annotate rvt_reset_qp() To: Doug Ledford <dledford@redhat.com> References: <86c06ca1-753c-6b45-3f65-f9a19f7693cf@sandisk.com> CC: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>, "Marciniszyn, Mike" <mike.marciniszyn@intel.com>, Dennis Dalessandro <dennis.dalessandro@intel.com> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <cc801b9e-589a-d301-7d54-cbb6067fae7b@sandisk.com> Date: Fri, 3 Jun 2016 12:09:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <86c06ca1-753c-6b45-3f65-f9a19f7693cf@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsWyRoxnke7zK4HhBi//ylk83/uazeLl+Q+s Fs8O9bJYbPjfyO7A4rF4z0smj/f7rrJ5fN4kF8AcxWWTkpqTWZZapG+XwJUx+fRxloLZHBVP X/ewNjC2sHcxcnJICJhI3Pq9lKmLkYtDSGAuk8SWeVvZIJztjBK/Hxxkgal6+u46I0RiKaPE /u4tTCAJYQFziasbFrOC2CICahKbXi0CGyskYCfxuuM7K0gDs8AyRomOY4vBGtgEjCS+vZ8J NpUXqOj83N1gDSwCKhK7lz0Es0UFIiQ+/f7CClEjKHFy5hOwek4Be4kHH/qB4hxAQzUl1u/S BwkzC8hLbH87hxlkl4TAIlaJ5uMPWCGO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-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(9170700003)(5003600100002)(230700001)(8936002)(36756003)(229853001)(23676002)(8676002)(2950100001)(92566002)(53416004)(5008740100001)(81166006)(106466001)(33646002)(6806005)(50466002)(77096005)(11100500001)(586003)(4001350100001)(83506001)(65956001)(50986999)(2270400002)(19580405001)(19580395003)(4326007)(86362001)(189998001)(110136002)(76176999)(47776003)(31686004)(87936001)(31696002)(65806001)(54356999)(2906002)(65826006); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0201MB1773; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC001; 1:WypByd0b6cU7nmg2uEQPszfeRdWZ5twYe0mzvKK25LdIku7mrtxnhKIpmMJgcnBZ3CvTk93G9hQytnSq/ZGS9+0P365aJ9yyekR+S4K4O5Mf/Lf551v0PN24gOCrMlcP+XxpkLhCOIY1G622wrH8oIM2XxhVU3M/PnDihM8BMd3yu0XhOHBsCVZJOPdr38xb4hOxg0nmCjAwiIXO5GMladWXTaZqoohg4jNEsXejHzKLUr3cqfvnhwfOLbQf4MW7VMplZ9svn5OdNDlFr369y5AnyzJ558Y3yxRdrxXfsr8BjDzjl0F2INUickHHPuvFmtH9PIVGrrZ65qsQXac/7elj6uxRgxNtAzqyyaJWG4wdKNNImH5O0VBPZrEIpWa96cltk6xbnbmpvwEYWGeAU5C6/La/9Ow9GFtvwRwoIdGcUB6bOKgNTqNpEbHNIk5rRNMX6UVPBrvrjM5T1wIrtNp49v/nIpKNMYps89HLeHOYIp+G8KOWjg3+hSDzHbCN X-MS-Office365-Filtering-Correlation-Id: bf9a7352-7843-4b5c-82ff-08d38be291cb X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1773; 2:J+v3v5qo1+FFtI7tz0rqVwWOL/9yxaTeolMcfb2yLoAB4boVD2fpa5v2S2g1Mr7LITd9p0Sivf1Ies9VQdlpEbpw1VZYokx9HVo6gzGIPV8BUO/kbOM1P0RD4qghEx/QrgVM7T++fTtC+qqRCLLtX2Uv+I49s7/h29XIy82TD/0JYRpHqr9c8mym016JMTqB; 3:wj7dZs5rAbdHsezrD4gPoLv9MBGnMfM6dY7WMoLci+bYZHioSO9xObXo+u8Mvav95PUuHcrjSoLBZRRT5Z8YSELcPDbj1MTGCEvfnOLyx/xj8dDBt+5bEo0RNgQ/51PRUx+NTv94ZlJ+Q8O8GKhb5+75LJVQT+TVgDRDWqF+jnTSpp4wGa4BF+cqdkkRvZYemjBYFeoY+ihyHlVygDmS8HfeeS7iIUHJNHaekwx2dh9CzUmIlvmckueY6d8T65llNNsz1fi+uRNyp5fI7Oik4w==; 25:E6XZgsqcH32lkpe5gJlUNiVvAVA120z7cvlR9xaw/Rmyvkjkal3VL64c5e76v85TQ7AkwixotCEXFDWOTIxgjJxi401uVloATttkw4KhPIunAQ2/l5+dWesI6m9Smu9cVvRQQf1efKFhD8MgXQbhzNJI9ViNxKXntHWvBUF+0sab2CKvgS2Y+2RNBDo2cX2zFMngK+nhGxAaj1d31Obmjb3V6ibTCSArItwFL2TWi2z1ks93MFAr0BR0/fVldHEZf4REvO19yFGumS+IPx8z43L0b/7b3JQom2YnG9jTA6/iRvuq+xJt00Vs128XBCgS8D4yLKYjS8OqiVusM49Iofm8A+wNGqg/hS+oskVG3XmLyU5XDzgldG2o8ahnSatUg4wkK4wcI4T2nE/MIe2uQZkf8DuEsmJnS946i8qLgc0= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1PR0201MB1773; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1773; 20:kVtO/9citPqSy0NOQUslWnPdV2e2R1H2N+7kRIjbCcuI1S9H0Z2K5R419NQCB/Wq6Py3w48K/UKwzamoTKgqTgt7p9xBB5wnrHe0yamp1GnPtiPg5kaPPMdeipCY61UaSclBUC8hD+P9yo9m2DEEzDGEW1FvWEv+8cKCWq07U/lTiKRH1MHAZcdvlgpdfnuJsd5jyXMgaSTXU08pNxjwJ7A7cC3Rh8Qm2v8nHsL9oNz5k8ukGiR9wxE9uCEGv/shUkdpB94L+RlGquHSi+4zUdxQN2R7piCiNbBXU0N3doDTtwdDMkk3Wj0ux893MdmmcIAucTGMdzrFdwLZBZdbjI8nQpYspzkQmWhkWES8rvVKik+EQxVJhc/JVGyZX0B1y0+Zf3WsTz6G0cYbGmVe+cZXF1xjIWKxTRVOJgNgCaxfHSbibNHcVd8kHvY07TXKtvmvuQxUo3CQpnCCKMEIh/OgB5oJmKJQWm4gnfRZcX1II4uJHADaaX4I8U6Zef0k X-Microsoft-Antispam-PRVS: <SN1PR0201MB1773DA8C403948BAE8403B4981590@SN1PR0201MB1773.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(42932892334569)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13018025)(8121501046)(13016025)(10201501046)(3002001)(6055026); SRVR:SN1PR0201MB1773; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0201MB1773; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1773; 4:NSVZdZ4lqGYPZ+xNAfcgcMqS4lvHCQHA2YyPVTgUXYBIlHRDQfWgdGUu8ItJrOGArbbwGBrBJ+ge9g0yjnLe8GzA3lmMzF7Gs2+HBW7BAmYglY5h01/5xCgu3zgPZBLNSWrMX1yqAeYXdzT0usvd98N3h51pRIousTbmMvqaks2LA5o5Gr6L8DRn2UYkhgZumR9trAXq6HfIt/Y0X7BDm2t54U08WSHDF2m8ESi77Q280G35GZGq/Tw5BtNSGQSZcsvyl/WuCjPra90Qrbx4P+ocxzt6Ke35dUBfsEnOr0LQwOY/8zho8tiR2or1K8kq9QgMdPTLc+YlxPPL/12Z0HX9wQa3cUnMmxDT/6Kt4T8hq+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dm1qcm15Z1lOZz09?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1773; 5:BTfly/3P0vYJ/jhjsKolkRlbV2Krk3TkUiV+/0Ye/Oc/VK8JkQ2Lxd/1w3d5HAT/mC0bTgZGCWhnRcerjUTEH0aUUi3Swhh6U7yEHySwKvkp+CBlYx8wrSnFKZlZPM4ImAscgDizGq+a1tRYUnbwJQ==; 24:Uqy9fbQsO9I9eqce0oGyDFWcHyXK0sTWavyNKtj++kO5LBt/C9WO8zVHSE6o+JyKBfwZ5gnanRWLkYsvNKwTx2K47b8N7rqilCUURuEbp+c=; 7:/Ke+7Hs/3PYQoaiy51gSah5H9eRfag5/RLYJbaB1wCe9eNe6WSg7dx4knuNZbrUSLd99NsncdZCIBajLMW/Ph6b1QpD+xn6fr1xxnBa3YDMzZAvkMttAZ0B9ipwA5ISeDDHF7DNs5wM2/aVZp/+wgAxU4Jt4McQamC7tLx7flgdydbP1n1FJrgopJbuUeD4WXK8/KWFe1+xys0qnz4NoKjpwO6/kBalwfFNe1ECXMP8=; 20:uzvN1vdJMJOrcuDWkPSxI7B6SyI/FNmWmnK4J12ZuhWrbohmwxQwmi/oKMTvGwS4GSvhAWlMng3geAcyQ0dIqcZ1n2niEizaotlHNDoS+uzVdGQp7qlOjtTuuFQxxXDkTJead6GoPqdxr5tAUorjW6bV+byLpdLVgKdrKYUp3pH8PER3tHzrU2mTV0w/W8d5lg6Za3/MAOG+KaBsmzDOtlw/9BNfstgCKmIhwpec/VpG3sZt7JB1I9evVBemVLwB SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2016 19:09:20.9907 (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: SN1PR0201MB1773 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/sw/rdmavt/qp.c b/drivers/infiniband/sw/rdmavt/qp.c index 5fa4d4d..7de5134 100644 --- a/drivers/infiniband/sw/rdmavt/qp.c +++ b/drivers/infiniband/sw/rdmavt/qp.c @@ -502,6 +502,12 @@ static void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp) */ static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, enum ib_qp_type type) + __releases(&qp->s_lock) + __releases(&qp->s_hlock) + __releases(&qp->r_lock) + __acquires(&qp->r_lock) + __acquires(&qp->s_hlock) + __acquires(&qp->s_lock) { if (qp->state != IB_QPS_RESET) { qp->state = IB_QPS_RESET;
This patch avoids that sparse reports the following warning: rdmavt/qp.c:507:17: warning: context imbalance in 'rvt_reset_qp' - unexpected unlock Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Mike Marciniszyn <mike.marciniszyn@intel.com> Cc: Dennis Dalessandro <dennis.dalessandro@intel.com> --- drivers/infiniband/sw/rdmavt/qp.c | 6 ++++++ 1 file changed, 6 insertions(+)