From patchwork Fri Jun 28 18:21:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 11023031 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 C0CE414BD for ; Fri, 28 Jun 2019 18:21:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5936828606 for ; Fri, 28 Jun 2019 18:21:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CFFD284C3; Fri, 28 Jun 2019 18:21:51 +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 DB76F284C3 for ; Fri, 28 Jun 2019 18:21:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726586AbfF1SVu (ORCPT ); Fri, 28 Jun 2019 14:21:50 -0400 Received: from mga04.intel.com ([192.55.52.120]:53692 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfF1SVt (ORCPT ); Fri, 28 Jun 2019 14:21:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2019 11:21:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,428,1557212400"; d="scan'208";a="361154447" Received: from sedona.ch.intel.com ([10.2.136.157]) by fmsmga005.fm.intel.com with ESMTP; 28 Jun 2019 11:21:49 -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 x5SILmM5061058; Fri, 28 Jun 2019 11:21:48 -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 x5SILklR067902; Fri, 28 Jun 2019 14:21:46 -0400 Subject: [PATCH for-next v2 0/9] IB/hfi1: hfi updates for 5.3 From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org Date: Fri, 28 Jun 2019 14:21:46 -0400 Message-ID: <20190628181900.67786.4463.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. Rebased to apply on top of other series sent for CQ stuff. --- 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