From patchwork Wed Oct 31 13:23:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suganath Prabu S X-Patchwork-Id: 10662643 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 A5AAC13BF for ; Wed, 31 Oct 2018 13:24:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 962EA28918 for ; Wed, 31 Oct 2018 13:24:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86D0C25F31; Wed, 31 Oct 2018 13:24:29 +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 14B3825F31 for ; Wed, 31 Oct 2018 13:24:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729280AbeJaWW1 (ORCPT ); Wed, 31 Oct 2018 18:22:27 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36875 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729217AbeJaWW0 (ORCPT ); Wed, 31 Oct 2018 18:22:26 -0400 Received: by mail-wm1-f68.google.com with SMTP id p2-v6so14484072wmc.2 for ; Wed, 31 Oct 2018 06:24:25 -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=ZX/ta/8wmqciGfid1DpnpeXw4FmpcA8Ky+azoDlxN4Q=; b=TF4w5+X6eQxCqPYceIHCan5YJrPCPPUxKmLkUkLGIrZQfxh1KqnAM8eCwKjZKcRY3l JgMcVrnQ7sVGOT66hqax2q6NVU+83ObLQTRE/R3rXgYolsBEq95V74VbFs/os8NXrU3Z XeBZoEi+cXEZkt92tWu/mlwS251FfuXxmIjXY= 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=ZX/ta/8wmqciGfid1DpnpeXw4FmpcA8Ky+azoDlxN4Q=; b=jXqmvynpCxfsilHliH3xmGlx09dFhEG3p9PPZ+sjoiaFKzTR9yYAz3awxFTbgfB7Ae Y9Sbr0EzAPeqvt+J51oru4IN8Q1Jt1vmVJ4Clmi0ECWRLojqGvrQ1DvbPPo8LUA9EkU7 rssg435aMFfupTWZYfYnACH6hfhSwu4XgknCriN++PMbr3QOy51aFq2zYk5HheWd39bf +PaYOQetYLVkJ3XDw9cHT9jmKgf0CltBP/tRLWYwR4QEpY4Fb0DrebRmJtJQbHymiAaS Z6R2Fhj5PWtoXpgM0C0UD5bTVJUt5rS+q9JI6t82GqEldWpJa20fpZLnSTDFbL93t9/m PElg== X-Gm-Message-State: AGRZ1gIgjtSqiga+eAiJHtp3iASw7UTofdXk4/V0nVENwitQHmAMm5Pw KI83ev7d/k4F+P5X8V/S6S7NBmLM/ng= X-Google-Smtp-Source: AJdET5cLgmz1hiK2qbe1zZ7YQEjA8fwb/2oW3rVAoBA91OfyLJtHAf8mkJbAuWPgyLIfRDpSw5qtDQ== X-Received: by 2002:a1c:b645:: with SMTP id g66-v6mr2467134wmf.25.1540992264029; Wed, 31 Oct 2018 06:24:24 -0700 (PDT) Received: from dhcp-10-123-74-106.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r16-v6sm25202614wrv.21.2018.10.31.06.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 06:24:23 -0700 (PDT) From: Suganath Prabu To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, Suganath Prabu Subject: [PATCH v7 0/8] mpt3sas: some bug fixes patches Date: Wed, 31 Oct 2018 18:53:31 +0530 Message-Id: <1540992219-20291-1-git-send-email-suganath-prabu.subramani@broadcom.com> X-Mailer: git-send-email 1.8.3.1 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 V7 Change Set: Split some patches into multiple small patches as suggested by Bjorn Helgaas v6 Change Set: Incorporated changes as suggested by Andy. In Patch 1 converted while loop to do while in function mpt3sas_wait_for_ioc_to_operational(). And in patch 3 removed parentheses. V5 Change Set: V5 post has only defect fixes. We are reworking and incorporating the suggestions from Bjorn. And after covering tests, we ll be post Hot-Plug Surprise removal patches. V4 Change Set: Reframe split strings in print statement, to avoid V3 Change Set: Simplified function "mpt3sas_base_pci_device_is_available" and made inline V2 Change Set: Replaced mpt3sas_base_pci_device_is_unplugged with pci_device_is_present. V1 Chnage Set: In Patch 0001 - unlock mutex, if active reset is in progress. Suganath Prabu (8): mpt3sas: Added new #define variable IOC_OPERATIONAL_WAIT_COUNT mpt3sas: Separate out mpt3sas_wait_for_ioc mpt3sas: Refactor mpt3sas_wait_for_ioc function mpt3sas: Call sas_remove_host before removing the target devices mpt3sas: Fix Sync cache command failure during driver unload mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices mpt3sas: Fix driver modifying persistent data in Manufacturing page11 mpt3sas: Bump driver version to 27.100.00.00. drivers/scsi/mpt3sas/mpt3sas_base.c | 73 +++++++++++++------------ drivers/scsi/mpt3sas/mpt3sas_base.h | 8 ++- drivers/scsi/mpt3sas/mpt3sas_config.c | 27 ++-------- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 21 ++------ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 ++++++++++++- drivers/scsi/mpt3sas/mpt3sas_transport.c | 91 ++++++-------------------------- 6 files changed, 106 insertions(+), 152 deletions(-) Reviewed-by: Bjorn Helgaas Reviewed-by: Andy Shevchenko