From patchwork Thu Sep 27 18:24:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10618411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D3D81913 for ; Thu, 27 Sep 2018 18:24:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B950D2BAA1 for ; Thu, 27 Sep 2018 18:24:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB3B82BADC; Thu, 27 Sep 2018 18:24:57 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 14DC62BAA1 for ; Thu, 27 Sep 2018 18:24:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728195AbeI1AoX (ORCPT ); Thu, 27 Sep 2018 20:44:23 -0400 Received: from mail-eopbgr20057.outbound.protection.outlook.com ([40.107.2.57]:33258 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727404AbeI1AoW (ORCPT ); Thu, 27 Sep 2018 20:44:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pgXmdK+scb/EV/87JdMAmBENo/o2UAwZXl6+V8c65ws=; b=ev7hbhPcnItrthZzRi3J5+N1557UjjN0G0BvZy71Oflr3pWV6+cQgN7SRz3YXGRn9iJwF5PEJ9MFonFWMISzzTdVG6dxpQR7DMrmrqKKqRsO80sm01VJqCqePqwzD8430R7T8Z5cXCeymUtc6CK5tGgie6SwLku4zvOwuysmdv4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; Received: from mlx.ziepe.ca (174.3.196.123) by DB7PR05MB4460.eurprd05.prod.outlook.com (2603:10a6:5:1b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Thu, 27 Sep 2018 18:24:42 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1g5axk-000310-5J; Thu, 27 Sep 2018 12:24:32 -0600 Date: Thu, 27 Sep 2018 12:24:32 -0600 From: Jason Gunthorpe To: Greg Kroah-Hartman , Doug Ledford Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Please pull RDMA subsystem changes Message-ID: <20180927182432.GA11505@ziepe.ca> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [174.3.196.123] X-ClientProxiedBy: YTXPR0101CA0063.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:1::40) To DB7PR05MB4460.eurprd05.prod.outlook.com (2603:10a6:5:1b::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 74ffef26-8f61-440d-0b3d-08d624a67e41 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR05MB4460; X-Microsoft-Exchange-Diagnostics: 1;DB7PR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wwzKZSUO6Yb9M0peE3Uu4YT2RSys1knPbhIz9xaxE9YG3XMhiQ9FHW7kUElut8zIFmWmzeP2znxlL5bVr805THfb5TRHBQbAimFejcbqYPxDmoUs5mXbx9/CKts45oO/vlbcaeEgHrmaaMclOxK/jnQfXBiQMHRV2/ZFn4qLLs4WhUb3Poqp+fP6WrD2JWPNUGllWsKLZKtrxfL9fg9vEaps3HD+83I15rrQRQ8pIiJViwZkgPOMJwPUpFtGhxg8RxuoCZoHVuaqfoYTt2Nz8sAo7VZuKuV7gLUR/XysYxaGlQgK7zmaZS+YoK2zCF0KsqJs4vfM/YLGXjsrC6bvba;4:MIB/8sb4ffjhV66RFaqtw8r3/Ea5uDNFv6nd98f3xveBkI+xFEWzYnq5p1PG/NjkNV7Iyqzw3MRh4sYkFqrmo1c0VrqKzLPk7l2gg/fqRtTZWlSkE/3S6uI56nxUyvXeNKaYgA6Q6DDizSWdugWDKPL/OnH60i2K8MlMQxV1VWa7Dsp9uldUpgx2Z+wBkZR+P56gPMFQg9+UKZk1RsucH5VNKqZ+r5YiPuaQ5yPLJfw7lI/gnYL59IMPY94k74rvWaMPqugJsFBRA3wAmBUkrsOoAVbjuAnfqXftFR2JkDIEFjCo4fStokky+FhmhWfq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(84791874153150); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(201708071742011)(7699051);SRVR:DB7PR05MB4460;BCL:0;PCL:0;RULEID:;SRVR:DB7PR05MB4460; X-Forefront-PRVS: 0808323E97 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(346002)(396003)(136003)(39860400002)(376002)(189003)(199004)(86362001)(575784001)(46656002)(4326008)(68736007)(97736004)(110136005)(316002)(26005)(69596002)(16586007)(106356001)(57986006)(9686003)(83796002)(2906002)(7736002)(186003)(58126008)(105586002)(66066001)(386003)(53936002)(305945005)(63394003)(36756003)(81166006)(81156014)(486006)(5660300001)(21480400003)(1076002)(8936002)(52116002)(8676002)(478600001)(84326002)(3846002)(9746002)(34290500001)(6116002)(9786002)(122856001)(14444005)(33896004)(71190400001)(476003)(44144004)(33656002)(18370500001)(24400500001)(2700100001)(42262002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR05MB4460;H:mlx.ziepe.ca;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;DB7PR05MB4460;23:k/vnHLtEzigR02VfpcJb3D42021FzBFgwxsCemRrrngh7JYxaFAhaJj7f5TFi1T9pi9lWSm8GFKtB4eiphnrgF8L/Ll3FrlOPo3uNSI91spOE4fwNwsAcv1Ft8CMAsMgrvU50SrlUkILQj5X3KaypMszy0sLHzZEiXwryQoYJraNofbm0G+ll9Be7pVu0IFODdIvf9U+kZJcyzs2n00E4u8xshI4/+hPsMl03wbH4W4xa2gjlADsYQnicV99c3Zpha91ZWr57gQE77+Joc0nSM4uZvWplwUap5WbsuOCfRn7kVVC3dfnuIpetkA57bNbikcS3ix8pPajQC//RAUMyCmBdjlzUVq6ZCyzdjY0J7Sc+++XSqn9MLV6NbPgGONZw1F07IQwWFrSDP1F7aCub6Ie4oE6+C1NQQ/4h+YkpLkbsuPgRsxqvmV/4feVNOn4hGPwB1hpVHAdreoWsVVYJBOSX5WvBNUIH5+I4wGcHxOR04Y/7MY9BCQDilSS/s/cNvRbbfBSYYzfxBVu3d1VH57wLa6Ih3OLq9hBfO3Cg2USuodLsqSSKtLdBhTnmMVgYIWFK0MgaMw6dMoQhaHyexjmFUAKugwgDxNYObcsc3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: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2018 18:24:42.0856 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74ffef26-8f61-440d-0b3d-08d624a67e41 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4460 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 Hi Greg, Second rc pull request This has a few fixes for smaller regressions introduced this cycle and the usual various driver oops fixes. There is one long standing race bug in the comp_channel that Steve was able to reproduce, track down and fix. I believe the HFI1 driver regression breakage has been fixed in Bjorn's tree and I'm currently expecting the lingering ipoib issue to be fixed in the netdev tree, but patches are still delayed due to various holidays this month. Thanks, Jason The following changes since commit 8f28b178f71cc56eccf2a6e2c0ace17c82f900d7: RDMA/mlx4: Ensure that maximal send/receive SGE less than supported by HW (2018-09-06 13:16:12 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus for you to fetch changes up to 5c5702e259dc66e6fceed5117effab79c186e87a: RDMA/core: Set right entry state before releasing reference (2018-09-25 15:01:09 -0600) ---------------------------------------------------------------- Second rc pull request - Fix a long standing race bug when destroying comp_event file descriptors - srp, hfi1, bnxt_re: Various driver crashes from missing validation and other cases - Fixes for regressions in patches merged this window in the gid cache, devx, ucma and uapi. ---------------------------------------------------------------- Bart Van Assche (1): IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop Cong Wang (1): ucma: fix a use-after-free in ucma_resolve_ip() Ira Weiny (1): IB/hfi1: Fix SL array bounds check Majd Dibbiny (1): RDMA/uverbs: Fix validity check for modify QP Mark Bloch (1): IB/uverbs: Free uapi on destroy Michael J. Ruhl (3): IB/hfi1: Invalid user input can result in crash IB/hfi1: Fix context recovery when PBC has an UnsupportedVL IB/hfi1: Fix destroy_qp hang after a link down Parav Pandit (1): RDMA/core: Set right entry state before releasing reference Selvin Xavier (1): RDMA/bnxt_re: Fix system crash during RDMA resource initialization Steve Wise (2): cxgb4: fix abort_req_rss6 struct RDMA/uverbs: Atomically flush and mark closed the comp event queue Yishai Hadas (1): IB/mlx5: Destroy the DEVX object upon error flow drivers/infiniband/core/cache.c | 68 ++++++++++----------- drivers/infiniband/core/ucma.c | 2 + drivers/infiniband/core/uverbs_cmd.c | 68 ++++++++++++++------- drivers/infiniband/core/uverbs_main.c | 1 + drivers/infiniband/core/uverbs_uapi.c | 1 + drivers/infiniband/hw/bnxt_re/main.c | 93 ++++++++++++----------------- drivers/infiniband/hw/hfi1/chip.c | 6 +- drivers/infiniband/hw/hfi1/pio.c | 51 ++++++++++++---- drivers/infiniband/hw/hfi1/pio.h | 2 + drivers/infiniband/hw/hfi1/user_sdma.c | 2 +- drivers/infiniband/hw/hfi1/verbs.c | 8 ++- drivers/infiniband/hw/mlx5/devx.c | 5 +- drivers/infiniband/ulp/srp/ib_srp.c | 6 +- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 1 - 14 files changed, 184 insertions(+), 130 deletions(-)