From patchwork Fri Apr 26 09:36:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shivasharan Srikanteshwara X-Patchwork-Id: 10918925 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 8B0921390 for ; Fri, 26 Apr 2019 09:38:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7820D28CDA for ; Fri, 26 Apr 2019 09:38:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BBAA28D56; Fri, 26 Apr 2019 09:38:10 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 0525428D55 for ; Fri, 26 Apr 2019 09:38:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725985AbfDZJiJ (ORCPT ); Fri, 26 Apr 2019 05:38:09 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33545 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbfDZJiJ (ORCPT ); Fri, 26 Apr 2019 05:38:09 -0400 Received: by mail-pf1-f195.google.com with SMTP id h5so1452375pfo.0 for ; Fri, 26 Apr 2019 02:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=uttvG3RREuuz7zzDBXpZ+K/Eb8w/c9BVVN2uxhImhMo=; b=hxpfHd7Fruf2OT58/fv4eeusL3mhj5rA4WGk37oqqjsRlggbrlUWpzteXnFLvkfjZe 7/gD7DqExw4ItSPip/F9or3JgnW4LKOTGcsLdHELZafht5tvuu6iXy5Dl697NxXdl15v QXBuzwsSpE6VggmmVrMQO0g/qL7K7cy8Y5IwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uttvG3RREuuz7zzDBXpZ+K/Eb8w/c9BVVN2uxhImhMo=; b=MjGrm/bVnCTsU9UWnhyZCpGFCO1Jd97P46rXIfR7wnG+LV1mPrTwWG1XZfrkQBUTDU 7faEw266rHoVztlInQpJOV+vfq84H7Cdi8y01ttvyro4K4Y88KGmuge1cq1pWVPaSYh0 GkuYUfnYGxUW0ffoQjYgfFLaAvOr2N0Ri5fx2P4hi02cZfJPVNRIJonXq+kIqgKtCIsK 0X2cOKzqDuCwBvTNhovyxL5jsUWG7DZLo+2I3AUTipQM+/WIJlGNAmYhIYI6yKXSYIvE EBc4+xgRYwRu0a3m7CrHGTANZ9dx+Wta/mhsiDdeVXpHzjHIf2fGZzWa7wzQyS7Sqkxs n7BQ== X-Gm-Message-State: APjAAAUCSPpcLfLD7lYRaLNbaFWHptwyjs3K4ey4ak/padGGdD/mW3GU xpQgQrXalBa0cuOtVZ4BbKAe+KGE6CKH7JijVt+zwm1vRdvOqj0Fz+d2ffXPYCAJhUxOB9uV/t5 i3M0dQbEwvnJdGzeoMSHXNpaPudKg3BjgTJnct6yMNFT7hWufgNFidbojE2GXC1ODrWXL2MbWdH z5H4OnA1DwJlzKeJScxeNF X-Google-Smtp-Source: APXvYqyTzf9/0ZhH5s4WwJ/HpPDGh3bJBKG+6Wpl+hYorNObaQfo+Br9XVadpRPcYHkuT+sv0s06MQ== X-Received: by 2002:a62:1d0d:: with SMTP id d13mr45841099pfd.96.1556271487848; Fri, 26 Apr 2019 02:38:07 -0700 (PDT) Received: from dhcp-135-24-192-142.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r4sm37994649pgl.69.2019.04.26.02.38.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 02:38:06 -0700 (PDT) From: Shivasharan S To: linux-scsi@vger.kernel.org Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, kiran-kumar.kasturi@broadcom.com, sankar.patra@broadcom.com, sasikumar.pc@broadcom.com, chandrakanth.patil@broadcom.com, Shivasharan S Subject: [PATCH 00/21] megaraid_sas: Driver updates Date: Fri, 26 Apr 2019 02:36:54 -0700 Message-Id: <1556271435-27252-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> X-Mailer: git-send-email 2.4.3 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update megaraid_sas to version 07.708.03.00. The initial patch contains a cleanup of unused variable. Next four patches contain driver fixes and enhancements. Patch 6 introduces IRQ polling in megaraid_sas driver to fix CPU hard/soft lockups that we have seen in the field. Patch 7 adds load balancing of IO completions across the available reply queues when combined MSIx mode is disabled in firmware. Patch 8 onwards adds few enhancements to improve debuggability of the driver by printing additional information and provding a debugfs interface to help debug field issues better. Shivasharan S (21): megaraid_sas: remove unused variable target_index megaraid_sas: Fix calculation of target ID megaraid_sas: fw_reset_no_pci_access required for MFI adapters only megaraid_sas: rework code around controller reset megaraid_sas: Block PCI config space access from userspace during OCR megaraid_sas: IRQ poll to avoid CPU hard lockups megaraid_sas: Load balance completions across all MSIx megaraid_sas: Enhance prints in OCR and TM path megaraid_sas: Enhance internal DCMD timeout prints megaraid_sas: Add formatting option for megasas_dump megaraid_sas: Dump system interface regs from sysfs megaraid_sas: Dump system registers for debugging megaraid_sas: Print BAR information from driver megaraid_sas: Export RAID map id through sysfs megaraid_sas: Print FW fault information megaraid_sas: Print firmware interrupt status megaraid_sas: Add prints in suspend and resume path megaraid_sas: Add debug prints for device list megaraid_sas: Fix MSI-x vector print megaraid_sas: Export RAID map through debugfs megaraid_sas: Update driver version to 07.708.03.00 drivers/scsi/megaraid/Kconfig.megaraid | 1 + drivers/scsi/megaraid/Makefile | 2 +- drivers/scsi/megaraid/megaraid_sas.h | 27 ++- drivers/scsi/megaraid/megaraid_sas_base.c | 338 +++++++++++++++++++++++---- drivers/scsi/megaraid/megaraid_sas_debugfs.c | 180 ++++++++++++++ drivers/scsi/megaraid/megaraid_sas_fp.c | 1 + drivers/scsi/megaraid/megaraid_sas_fusion.c | 303 +++++++++++++++++------- drivers/scsi/megaraid/megaraid_sas_fusion.h | 6 +- 8 files changed, 720 insertions(+), 138 deletions(-) create mode 100644 drivers/scsi/megaraid/megaraid_sas_debugfs.c