From patchwork Fri Jun 14 16:27:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10995899 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 8736D1398 for ; Fri, 14 Jun 2019 16:28:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7676B284D4 for ; Fri, 14 Jun 2019 16:28:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A859285B5; Fri, 14 Jun 2019 16:28:02 +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 102DD284D4 for ; Fri, 14 Jun 2019 16:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725812AbfFNQ2B (ORCPT ); Fri, 14 Jun 2019 12:28:01 -0400 Received: from mga02.intel.com ([134.134.136.20]:49341 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbfFNQ2B (ORCPT ); Fri, 14 Jun 2019 12:28:01 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 09:28:00 -0700 X-ExtLoop1: 1 Received: from sedona.ch.intel.com ([10.2.136.157]) by fmsmga008.fm.intel.com with ESMTP; 14 Jun 2019 09:27:59 -0700 Received: from awfm-01.aw.intel.com (awfm-01.aw.intel.com [10.228.212.213]) by sedona.ch.intel.com (8.14.3/8.14.3/Standard MailSET/Hub) with ESMTP id x5EGRxeT060683; Fri, 14 Jun 2019 09:27:59 -0700 Received: from awfm-01.aw.intel.com (localhost [127.0.0.1]) by awfm-01.aw.intel.com (8.14.7/8.14.7) with ESMTP id x5EGRuPj044812; Fri, 14 Jun 2019 12:27:57 -0400 Subject: [PATCH for-next 0/9] IB/hfi1: Updates for 5.3 From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org Date: Fri, 14 Jun 2019 12:27:56 -0400 Message-ID: <20190614162724.44714.22604.stgit@awfm-01.aw.intel.com> User-Agent: StGit/0.17.1-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 This is the first round of fixes and updates for 5.3. There are some bugs but nothing that really warranted making its way to RC. So this can all go to next. Of note there is a patch for a fix Jason requested. --- Dennis Dalessandro (1): IB/hfi1: No need to use try_module_get for debugfs Kamenee Arumugam (1): IB/{hfi1,qib,rdmavt}: Put qp in error state when cq is full Michael J. Ruhl (4): IB/rdmavt: Set QP allowed opcodes after QP allocation IB/{rdmavt, hfi1, qib}: Remove AH refcount for UD QPs IB/{rdmavt, hfi1, qib}: Add helpers to hide SWQE WR details IB/hfi1: Reduce excessive aspm inlines Mike Marciniszyn (3): IB/hfi1: Add missing INVALIDATE opcodes for trace IB/rdmavt: Enhance trace information for FRWR debug IB/rdmavt: Add trace for map_mr_sg drivers/infiniband/hw/hfi1/Makefile | 1 drivers/infiniband/hw/hfi1/aspm.c | 270 +++++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/aspm.h | 262 +--------------------------- drivers/infiniband/hw/hfi1/debugfs.c | 5 - drivers/infiniband/hw/hfi1/pcie.c | 6 - drivers/infiniband/hw/hfi1/qp.c | 4 drivers/infiniband/hw/hfi1/rc.c | 3 drivers/infiniband/hw/hfi1/trace_ibhdrs.h | 2 drivers/infiniband/hw/hfi1/uc.c | 3 drivers/infiniband/hw/hfi1/ud.c | 36 ++-- drivers/infiniband/hw/qib/qib_qp.c | 4 drivers/infiniband/hw/qib/qib_rc.c | 3 drivers/infiniband/hw/qib/qib_uc.c | 3 drivers/infiniband/hw/qib/qib_ud.c | 28 ++- drivers/infiniband/sw/rdmavt/ah.c | 6 - drivers/infiniband/sw/rdmavt/cq.c | 15 +- drivers/infiniband/sw/rdmavt/mr.c | 3 drivers/infiniband/sw/rdmavt/qp.c | 96 +++++++--- drivers/infiniband/sw/rdmavt/trace_mr.h | 56 ++++++ drivers/infiniband/sw/rdmavt/vt.h | 9 + include/rdma/rdma_vt.h | 3 include/rdma/rdmavt_cq.h | 3 include/rdma/rdmavt_qp.h | 119 ++++++++++++- 23 files changed, 584 insertions(+), 356 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/aspm.c -- -Denny