From patchwork Thu Aug 16 06:03:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10566977 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 73136913 for ; Thu, 16 Aug 2018 06:03:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58AE22AB2F for ; Thu, 16 Aug 2018 06:03:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B1B92AB41; Thu, 16 Aug 2018 06:03:40 +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 E32762AB2F for ; Thu, 16 Aug 2018 06:03:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388788AbeHPI7m (ORCPT ); Thu, 16 Aug 2018 04:59:42 -0400 Received: from mga07.intel.com ([134.134.136.100]:63532 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388787AbeHPI7m (ORCPT ); Thu, 16 Aug 2018 04:59:42 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2018 23:03:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,246,1531810800"; d="scan'208";a="255261954" Received: from scymds01.sc.intel.com ([10.82.194.37]) by fmsmga006.fm.intel.com with ESMTP; 15 Aug 2018 23:03:33 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id w7G63YMn025722; Wed, 15 Aug 2018 23:03:34 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w7G63Yj5005252; Wed, 15 Aug 2018 23:03:34 -0700 Subject: [PATCH for-next+1 0/6] IB/hfi1: PCI, IRQ, and MSIx changes From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Mike Marciniszyn , linux-rdma@vger.kernel.org, Mitko Haralanov , "Michael J. Ruhl" , Sadanand Warrier , Kamenee Arumugam Date: Wed, 15 Aug 2018 23:03:34 -0700 Message-ID: <20180816060136.32128.22266.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 are the other patches that are a bit more in depth that we will probably want to push off until 4.20, but wanted to get them out now. There is some rework with how we allocate MSIx resources from Mike, and some IRQ rework as well. Kamenee has provided us with a PCIe link width change that provides a bit more flexibility. --- Kamenee Arumugam (1): IB/hfi1: PCIe bus width retry Michael J. Ruhl (5): IB/hfi1: Get the hfi1_devdata structure as early as possible IB/hfi1: Prepare for new HFI1 MSIx API IB/hfi1: Make the MSIx resource allocation a bit more flexible IB/hfi1: Rework the IRQ API to be more flexible IB/hfi1: Move URGENT IRQ enable to hfi1_rcvctrl() drivers/infiniband/hw/hfi1/Makefile | 1 drivers/infiniband/hw/hfi1/affinity.c | 4 drivers/infiniband/hw/hfi1/chip.c | 454 +++++++------------------------- drivers/infiniband/hw/hfi1/chip.h | 71 +++-- drivers/infiniband/hw/hfi1/file_ops.c | 4 drivers/infiniband/hw/hfi1/hfi.h | 46 +-- drivers/infiniband/hw/hfi1/init.c | 107 +++++--- drivers/infiniband/hw/hfi1/msix.c | 363 ++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/msix.h | 65 +++++ drivers/infiniband/hw/hfi1/pcie.c | 56 +--- drivers/infiniband/hw/hfi1/sdma.h | 1 drivers/infiniband/hw/hfi1/vnic_main.c | 12 - 12 files changed, 698 insertions(+), 486 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/msix.c create mode 100644 drivers/infiniband/hw/hfi1/msix.h -- -Denny