From patchwork Mon Sep 10 15:46:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10594457 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 849A914DB for ; Mon, 10 Sep 2018 15:46:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73CDC292B3 for ; Mon, 10 Sep 2018 15:46:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 681C4292C0; Mon, 10 Sep 2018 15:46:53 +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=-7.9 required=2.0 tests=BAYES_00,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 145A9292B3 for ; Mon, 10 Sep 2018 15:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728029AbeIJUld (ORCPT ); Mon, 10 Sep 2018 16:41:33 -0400 Received: from mga04.intel.com ([192.55.52.120]:39811 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727411AbeIJUld (ORCPT ); Mon, 10 Sep 2018 16:41:33 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 08:46:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,356,1531810800"; d="scan'208";a="255980465" Received: from scymds02.sc.intel.com ([10.82.195.37]) by orsmga005.jf.intel.com with ESMTP; 10 Sep 2018 08:46:51 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id w8AFkpgt005407; Mon, 10 Sep 2018 08:46:51 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8AFko7e006274; Mon, 10 Sep 2018 08:46:50 -0700 Subject: [PATCH for-next 0/4] IB/hfi1: Updates and fixes for user SDMA From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, "Michael J. Ruhl" , Mitko Haralanov , Mike Marciniszyn Date: Mon, 10 Sep 2018 08:46:50 -0700 Message-ID: <20180910154208.27943.72035.stgit@scvm10.sc.intel.com> User-Agent: StGit/0.17.1-18-g2e886-dirty MIME-Version: 1.0 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 Doug and Jason, Here is a series from Mike that fixes some issues with user SDMA. These are bit more complicated than we'd like for RC so we can go ahead and send these to next. The real goal of this series is to address some race conditions in user SDMA, the other two patches are less serious issues but still need to be addressed. --- Michael J. Ruhl (4): IB/hfi1: Missing return value in error path for user sdma IB/hfi1: Right size user_sdma sequence numbers and related variables IB/hfi1: Remove race conditions in user_sdma send path IB/hfi1: Eliminate races in the SDMA send error path drivers/infiniband/hw/hfi1/sdma.c | 4 ++-- drivers/infiniband/hw/hfi1/sdma.h | 2 +- drivers/infiniband/hw/hfi1/user_sdma.c | 32 ++++++++++++++++++-------------- drivers/infiniband/hw/hfi1/user_sdma.h | 17 ++++++++--------- 4 files changed, 29 insertions(+), 26 deletions(-) -- -Denny