From patchwork Wed Sep 26 17:59:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10616485 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 3DE14112B for ; Wed, 26 Sep 2018 18:02:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 287192B660 for ; Wed, 26 Sep 2018 18:02:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 269C72B668; Wed, 26 Sep 2018 18:02:48 +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 CF5512B667 for ; Wed, 26 Sep 2018 18:02:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726042AbeI0AQx (ORCPT ); Wed, 26 Sep 2018 20:16:53 -0400 Received: from mga01.intel.com ([192.55.52.88]:55749 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbeI0AQw (ORCPT ); Wed, 26 Sep 2018 20:16:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 11:02:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,307,1534834800"; d="scan'208";a="76421085" Received: from scymds02.sc.intel.com ([10.82.195.37]) by orsmga008.jf.intel.com with ESMTP; 26 Sep 2018 10:59:30 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id w8QHxTKN018486; Wed, 26 Sep 2018 10:59:29 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8QHxTvu006211; Wed, 26 Sep 2018 10:59:29 -0700 Subject: [PATCH for-next 0/2] IB/hfi1: Diagnostic improvements From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Mike Marciniczyn , linux-rdma@vger.kernel.org, Mitko Haralanov , Kaike Wan , Mike Ruhl , Ira Weiny Date: Wed, 26 Sep 2018 10:59:29 -0700 Message-ID: <20180926175835.2451.14284.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, We have a minor debugging aid from Kaike to dump out the PIO info for kernel send contexts as well as a sizeable patch from Mitko that changes the way user tools can access the HFI's BAR. We used to do this in a private interface in the driver but to get out of staging we ripped that out in favor of using the resource0 file. However, that is no longer going to work due to distro issues. Details are in the commit message, but the gist of it is he has created a new interface in debugfs. --- Kaike Wan (1): IB/hfi1: Dump pio info for non-user send contexts Mitko Haralanov (1): IB/hfi1: Add diagnostic debugfs interface drivers/infiniband/hw/hfi1/chip_registers.h | 4 drivers/infiniband/hw/hfi1/debugfs.c | 502 +++++++++++++++++++++------ drivers/infiniband/hw/hfi1/pio.c | 25 + drivers/infiniband/hw/hfi1/pio.h | 3 include/uapi/rdma/rdma_user_ioctl.h | 4 5 files changed, 428 insertions(+), 110 deletions(-) -- -Denny