From patchwork Fri Jan 13 20:18:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9516373 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 0B91160761 for ; Fri, 13 Jan 2017 20:36:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0FA828747 for ; Fri, 13 Jan 2017 20:36:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5E7F28780; Fri, 13 Jan 2017 20:36:56 +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 524C228747 for ; Fri, 13 Jan 2017 20:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751028AbdAMUgQ (ORCPT ); Fri, 13 Jan 2017 15:36:16 -0500 Received: from mail-by2nam01on0079.outbound.protection.outlook.com ([104.47.34.79]:41192 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750805AbdAMUgM (ORCPT ); Fri, 13 Jan 2017 15:36:12 -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=g81yJbihi1lSQq/inFMsxs8LFTl3Iqqi9X46iNSnYZs=; b=d/YdcCtu3olivYQbPi4OFYWHcsQ0+p6EijKFNrzHsi9zXmTwr+fYmTSQuUA8F6tRBML/sezz9jn/NoyYkU3NgW4E5l2y2qO4yaYJzvyZTVuVOF0YIXxZgEBp0/+Hr/GHYWYRH9UE8Xs0mk43kt3WIcbk90BXnj7Bx2e7c0/FetU= Received: from CY4PR02CA0044.namprd02.prod.outlook.com (10.175.57.158) by BY2PR02MB042.namprd02.prod.outlook.com (10.242.44.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Fri, 13 Jan 2017 20:18:12 +0000 Received: from BY2FFO11FD017.protection.gbl (2a01:111:f400:7c0c::182) by CY4PR02CA0044.outlook.office365.com (2603:10b6:903:117::30) 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, 13 Jan 2017 20:18:12 +0000 Authentication-Results: spf=pass (sender IP is 74.221.232.55) 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 74.221.232.55 as permitted sender) receiver=protection.outlook.com; client-ip=74.221.232.55; helo=sacsmgep15.sandisk.com; Received: from sacsmgep15.sandisk.com (74.221.232.55) by BY2FFO11FD017.mail.protection.outlook.com (10.1.14.105) 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, 13 Jan 2017 20:18:11 +0000 X-AuditID: ac1c2134-323ff70000003cb4-b1-58794113cf49 Received: from SACHUBIP02.sdcorp.global.sandisk.com (Unknown_Domain [172.28.1.254]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 90.3D.15540.31149785; Fri, 13 Jan 2017 13:05:26 -0800 (PST) Received: from ULS-OP-MBXIP03.sdcorp.global.sandisk.com ([fe80::f9ec:1e1b:1439:62d8]) by SACHUBIP02.sdcorp.global.sandisk.com ([10.181.10.104]) with mapi id 14.03.0319.002; Fri, 13 Jan 2017 12:18:07 -0800 From: Bart Van Assche To: "alex.estrin@intel.com" , "dledford@redhat.com" CC: "linux-kernel@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "gregkh@linuxfoundation.org" Subject: Re: [PATCH v2 00/26] IB: Optimize DMA mapping Thread-Topic: [PATCH v2 00/26] IB: Optimize DMA mapping Thread-Index: AQHSbdomzVFbs1esv0GSpkAXhG8fWQ== Date: Fri, 13 Jan 2017 20:18:06 +0000 Message-ID: <1484338667.2679.15.camel@sandisk.com> References: <20170112190718.6728-1-bart.vanassche@sandisk.com> In-Reply-To: Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.28.1.254] Content-ID: <8D695168DFD75A4C9B819DD78D4E0F9F@sandisk.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRmVeSWpSXmKPExsWyRobxn66YY2WEwZf3bBYXnn5nsnh5/gOr RfPi9WwWl3fNYbN4dqiXxYHVY/Gel0we++euYfd4v+8qm8fnTXIBLFFcNimpOZllqUX6dglc GXf3TWQpmCdQ8a3/MmsD42feLkZ2DgkBE4mNWl2MnBxCAkuYJM61u3UxcgHZlxglus+9ZQVJ sAkYScyesIcFxBYRSJJYfeIdM0gRs8BuRonvG/axgySEBcwknu79DJTgACoyl/i2MByiXk9i 9u9zzCA2i4CqxMy759hAbF6gmdtX/2OBWNbJKLF843qwBZwCIRKT2teygsxhFJCVaHnNDRJm FhCXuPVkPhOILSEgILFkz3lmCFtU4uXjf6wQtoLE5xX/2CDq9SRuTJ0CZVtJzN90hgXC1pZY tvA1M8QNghInZz5hmcAoNgvJillI2mchaZ+FpH0WkvYFjKyrGMWKE5OLc9NTCwxN9YoT81Iy i7P1kvNzNzGCo1DRZAdjx0b3Q4wCHIxKPLwcapURQqyJZcWVuYcYJTiYlUR43xsAhXhTEiur Uovy44tKc1KLDzFKc7AoifPev7k7VEggPbEkNTs1tSC1CCbLxMEp1cBo0sAxhWmyS4KK8Ru5 xVPlX8wU/LbI6eyW1VZ/em1vutzJ+vvbf66hdoylw32+RRMEhZeLX87RMJzVsJzL6mdbyJfb Nxf3Tmm3WMbkvPfUhKfV0+RbCl7v8D955oLnoa5/D9bvq3q8717xHS/RSQa1L71PnmXKKZlg tPzepWWH4xfxvL1tscOgXomlOCPRUIu5qDgRADDzt86+AgAA X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:74.221.232.55; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39840400002)(39860400002)(39450400003)(39410400002)(39850400002)(2980300002)(438002)(189002)(377424004)(24454002)(199003)(2270400002)(7736002)(2501003)(68736007)(4326007)(626004)(5660300001)(97736004)(356003)(2906002)(305945005)(189998001)(5001770100001)(69596002)(92566002)(103116003)(106466001)(54356999)(76176999)(2900100001)(33646002)(50986999)(106116001)(229853002)(2950100002)(86362001)(8676002)(8746002)(50466002)(8936002)(47776003)(81166006)(102836003)(3846002)(81156014)(23756003)(54906002)(38730400001)(36756003)(6116002)(27001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB042; H:sacsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD017; 1:iAS0eLteBwLFQR9LSytOCiVCiyF3ysR3xgfEy9vsTu4pmgwVTLgBsSzNQ1tB3iRA+azGnWKAOzAs1CEZEdvdabaHdYDQKRiLPhTsGBH/7sgrPp8Uybt6cbqDvgP8T+SdNMETdaZQPcpre4o3sllmKXaFBqDn96ntXTys85Bh11oLOnRIRIqMwgbOueJ9+fMQGVc0HdJ3FFwGuMFxed+khBwOcssBgobLp5PYbgON/j+dteSggOXuc2heD9MaKTrWMgmdesR5N3OfFI/ykLtBpH/a9ZBfqLCw65vhAgomq+6JquuBCbcOk2OrQG/t3Kyj+6DHbB51Bc2koYLR4Qk9eRHXlfFB0ecGga1zLeYZsB8r7n3zHziZrUg8k1fq07Cna3zxu64ov/WiOHyqevAjLScVUladoVjX+H9aweyWUAKSR5hFCq9Nlc9YVibshTBoF6XC58u74AW0BnJDD2nPKuasqZmshkd7zrGcbQFj9pSC+NsisSPbw6l5sLtUXpZQOCuFAwP0bNHGB1an0cuUQWOxg9S30JZ5bh+zigXExcG1+kg1UxxIXyOWlnH7QcC3Xrk+z4SEW5XRmwAqpDy2jvlsWRYoXWrV5VbXtPId5yM= X-MS-Office365-Filtering-Correlation-Id: 330232ce-ef3e-4d41-3b7b-08d43bf14c27 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB042; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 3:SdTdm9JlqhvmCmzqIsSDSRCnKl9rm5hb38jpRpzUNwSfjCPO63c5wU1/yHee67AGaqC/z5brvjrfwGUPfglxFuOFiJURkmwziHVEYuDsJuHpxrsjBV2V3VCTmEmnFtl2QCsJZMgr8SLFCBy66vZto3P1GoCe4t+lUUbaDNag4nuB5sG3iRFBCvHCndOFWci13dmfyu6SISoQZbxz95PfswFfUytMHCIqfuDFELHLn5gM9OgaP9kNiRbA+iVlvKjji+ZYbQeGi1YKiJH5m9v/nnM6tG47STYlUPjBdjKFwqCnfxlKrRe1s8PwDVhMc/i5KNWkVGFMIfxBJXk5jZQ2RKmqzTRnjYynhykUs0+pUArjk39LyrAdVwM1an5aDnXOqaEQqMVhBF4GXXROc2Fyow== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 25:T+Z+8cnEwckGYq0fwp9ZQ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KAksHBOomfbE/9qWEdEcwqlO9e/LSrFPBZcg==; 20:9kGZjDXAYOT06hngdOo9Fs8QegHigahk6dl7bIsqQPTGesz21vfFBTW5/yucmp/Z5XKoUO1A2tYVlHr3zbIOKvYkczgvGfOfyyC9nVUrwqDTNJ7UB2UHNtckkeaHZqYDQ0QzpH/jZsPN4F7luQMtScIKaWHUjecS5MwqucE2bCU8xJty01ZKpbVe+n6kge6lCbxkB5YNei7DbFaW0BPra1n33vmiWi96w6m6SWNR3WonN+QCalS8jXRUlVLR8c/IvgCzXvr0HE+QktWf0kRE2bzmh+PEsHaa7Tr0zydYj0frA3uJoy11Lqvqm2QDHgqwhu07h9RThR7arFpgMpN7jbYTTh38MYu++t6WPPDMuMjdjVCqUKnB+rKc8OA8DgBX5sjCuTye1k6KGWJ3OFQG+S7SLQ+tp8IHP4Y2V7vxRTIGMz7atwy33EcKlhqZqh/qrbmKDWXMSsNZG7WXbaC/9Xt6F1QDiwcsAvrx6rhqqMj5+QdIJM2JldEKhyfIRvbg X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13023025)(13017025)(13015025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY2PR02MB042; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB042; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 4:RvD0QiHFEly6Y0pC3nz9KdJ1r7vcgT3oUgkT7PakPspLDxDp8sjPgHHKJ900n/azN0XKTsSCPT094FnS8z6M0nMfC7HLNaCVFZ1SPWPL3Yg8PzQCYd+O2+tb/VcGHWM2ulpNowwMLxt2Rd6b4qMUbNUMmi0piVo1HRgUH2y2ZhQgNFXEJ0GsIBroM/owhv0HBb60oEI8wluBIUEwMWTUSbRWlB9NOjDi0rlm/Gx9evZ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s9YFGO8XFkIDSOyh9qCs8y6CUUd1tn/vELDVHCq6N8ItgsUp3HynMorfldZNykqxV18SffEfhK/ETk/CODhqogvSzksZWx102l+m2iLUp+XpzCHHMMXEkG8dJ6jv6l6wC/taPUZ/U+Argv+oNz47W+wwYZQmYXYa9JBNp1GH9VgnJPS3s7PEEISdR+qhxbOs37vyt6IpETQYV+deqTlV9eOGNx/0u+FVUtNoGuxT468GZX9w2YGJzf8GXo/Pkrp+iOcf7k2nK4uy0Ktqqn/beWAUzqr22bWDKggr9oGxtb4mZXrYF9eYaSQJKxTihtdJIDf2TTQe4AGK4Uqcn84g== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 20:18:11.2979 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[74.221.232.55]; Helo=[sacsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB042 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 On Fri, 2017-01-13 at 18:27 +0000, Estrin, Alex wrote: > This series applied to 4.10-rc3 breaks hfi1 sdma engines. > [   34.712343] hfi1 0000:82:00.0: hfi1_0: SDMA (0) engine error: 0x21 > state s50_HwHaltWait > [   34.722752] hfi1 0000:82:00.0: hfi1_0: SDMA (0) descq_head: 0 > descq_tail: 3 freecnt: 2044 FLE 0 > [   34.733933] hfi1 0000:82:00.0: hfi1_0: SDMA sdmadesc[0]: flags:--F- > addr:0x00008808248c8000 gen:0 len:36 bytes > [   34.746595] hfi1 0000:82:00.0: hfi1_0:       desc0:0x80248808248c8000 > desc1 0x0000000000000000 > [   34.757218] hfi1 0000:82:00.0: hfi1_0:       aidx: 0 amode: 0 alen: 0 > [   34.765448] hfi1 0000:82:00.0: hfi1_0: SDMA sdmadesc[1]: flags:---- > addr:0x0000880829fd5000 gen:0 len:24 bytes > [   34.778184] hfi1 0000:82:00.0: hfi1_0:       desc0:0x0018880829fd5000 > desc1 0x0000000000000000 > [   34.788941] hfi1 0000:82:00.0: hfi1_0: SDMA sdmadesc[2]: flags:-H-L > addr:0x0000880829fd5018 gen:0 len:440 bytes > [   34.801849] hfi1 0000:82:00.0: hfi1_0:       desc0:0x41b8880829fd5018 > desc1 0x0000000000000001 > ...etc > > BTW, what was the base for this series, as 19/26 did not apply cleanly to > 4.10-rc3? Hello Alex, Sorry for this. Can you check whether the patch below fixes this regression? --  2.11.0 I will make sure that this series applies cleanly on top of v4.10-rc3 when I repost it. Bart.-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c index 6a81b179f631..f7fcd015ec09 100644 --- a/drivers/infiniband/sw/rdmavt/vt.c +++ b/drivers/infiniband/sw/rdmavt/vt.c @@ -778,8 +778,7 @@ int rvt_register_device(struct rvt_dev_info *rdi)   }     /* DMA Operations */ - if (rdi->ibdev.dma_device->dma_ops == NULL) - set_dma_ops(rdi->ibdev.dma_device, &dma_virt_ops); + set_dma_ops(rdi->ibdev.dma_device, &dma_virt_ops);     /* Protection Domain */   spin_lock_init(&rdi->n_pds_lock);