Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3277803ima; Tue, 23 Oct 2018 03:23:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Xb8v/JRnLTyIQp7oWlHtkxvEEiPd/38nbKzbHrn5uMcfuBNxoOxRCGs2LxvMndMvMCb9m X-Received: by 2002:a17:902:ba8d:: with SMTP id k13-v6mr48384759pls.12.1540290222617; Tue, 23 Oct 2018 03:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540290222; cv=none; d=google.com; s=arc-20160816; b=bR7Hzc1NPFPns3W4fMriLBjY+F6WNjshh1VvatFbum1+IBxkz9komW9FdEptYAHE2j 8HdQs473dH2q8i/D5fUTtO6tr+j3PDNUKqKgxxTseYb4Qxd9KxL43QuZRv01pUw1OhXD znMyd9ZztknezRDdf9aKRsdAADX2/36MXIZLT0O7g1CGKcVIqEMRzKJgQWQ36HAm154m gYblp1ltzTwAI/Edg7keAhmotSAqIkYBsvQeXTumW4tVBhu/AIE8rJpo0YvpkB3cGfTI KCenW4T4outXYg3NRK3fM9qytOGmsyKWu1A32SNo8KBmejbLRyojJj0cNVqzqB6mwzyv 1/EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=iOjpakRqqGtPPHcKgxLXCVHXs5ObeD9MwmIYarddrCk=; b=XNadtQE+CvvPdHOCXgA7LhDad5np4tLFKdrnWEr4rmhat7dAHMBycOV6GTobePYDDz HCSD5QCKf3vVJ1u3BsQazkciktAyRvU/yQcAafo+jB4gnNeMRWw5/nl4WYxryZoA1Qt8 fKzQjnxTsrqbGkre9jVSpo/ssCtvV779UsIIn0Bl3FrVs9DCgQetiJ4Csulr1krY92cm Zowe6LkCqRuaBnWWG3Ed0ufxgScKKmW6mviZOqLiTxiDlkRs4NOyMEpXYTwCxkdeX26y 58vXNNGA7OFqA8otOaExweqCgJGwC0KUWz+k6XOKDOvd0CQqkqm1o6ndbxuZ7tcs6Kev 0wDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VHx5p3a6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8-v6si914242pgk.43.2018.10.23.03.23.27; Tue, 23 Oct 2018 03:23:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VHx5p3a6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727763AbeJWSoT (ORCPT + 99 others); Tue, 23 Oct 2018 14:44:19 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37175 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727420AbeJWSoS (ORCPT ); Tue, 23 Oct 2018 14:44:18 -0400 Received: by mail-pg1-f193.google.com with SMTP id c10-v6so421137pgq.4 for ; Tue, 23 Oct 2018 03:21:32 -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=iOjpakRqqGtPPHcKgxLXCVHXs5ObeD9MwmIYarddrCk=; b=VHx5p3a6HdyMs+Nz1RsIqqQAVlxbNNXMiwsqF/1+dDDAIH3Zcim5w771uKZpYUjz0L nRdFcLYHuAic6bombnt5ItaWNUC6lOEHI6qvzYDWC4U1Yopg7XPa97muGqcQw4u91BAT v/sVfB/RbZnWVJtUXF2C6wMBs7viP9rJtOMaI= 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=iOjpakRqqGtPPHcKgxLXCVHXs5ObeD9MwmIYarddrCk=; b=rIxCXu71v3dZCPMs83DVECT3TuNgVq0ZDE1/7+LoRF2mJnq4yi976Vw9SoIb7Pmqsk tGFZSGRKIdcyCheIZUD4L8Aci9keWvnWJaCclJJKBAnjB/S+QnyQGnmwZ19TMQymvlFU 5F4+VZXCLwVPrlK1IcRFiVBxqFCXQuxUMkwfz3sxmDNghP4OZvlvu3oSuSDhsEA/5XNx wr2IHReVyLOCXZ998ZnsykIuOGlMRWzLLD3GbgY0FbzaXis6PvhRKMSNAyn9x9cz1KqQ wM+HJnMpcZTaGGeTA0UkNbIkBwhGX5varS+GYjep6sARXzC6bfBMHAc1BI6IyIZwnFmQ +xeA== X-Gm-Message-State: AGRZ1gIlYhk9SZ5y3DI4+bKNFLUU6WYC8ci9E4HI2KK097DWnfPIY2lf NgE7HdPfZ9r7NTRrBDtVQyvDVg== X-Received: by 2002:a63:65c7:: with SMTP id z190mr4256525pgb.249.1540290091978; Tue, 23 Oct 2018 03:21:31 -0700 (PDT) Received: from dhcp-10-123-74-106.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id m10-v6sm2918523pfg.180.2018.10.23.03.21.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 03:21:31 -0700 (PDT) From: Suganath Prabu To: helgaas@kernel.org, lukas@wunner.de, linux-scsi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: benh@kernel.crashing.org, ruscur@russell.cc, sbobroff@linux.ibm.com, oohall@gmail.com, andy.shevchenko@gmail.com, Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, Suganath Prabu Subject: [v6 0/4] mpt3sas: Hot-Plug Surprise removal support on IOC. Date: Tue, 23 Oct 2018 15:51:17 +0530 Message-Id: <1540290081-15827-1-git-send-email-suganath-prabu.subramani@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 changes: Replaced mpt3sas_base_pci_device_is_unplugged with pci_device_is_present. V1 changes: In Patch 0001 - unlock mutex, if active reset is in progress. Suganath Prabu (4): mpt3sas: Separate out mpt3sas_wait_for_ioc_to_operational mpt3sas: Fix Sync cache command failure during driver unload mpt3sas:Fix driver modifying persistent data. mpt3sas: Bump driver version to 27.100.00.00. drivers/scsi/mpt3sas/mpt3sas_base.c | 75 ++++++++++++++++++-------------- drivers/scsi/mpt3sas/mpt3sas_base.h | 8 +++- drivers/scsi/mpt3sas/mpt3sas_config.c | 28 +++--------- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 21 ++------- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 +++++++++++++++- drivers/scsi/mpt3sas/mpt3sas_transport.c | 70 ++++++----------------------- 6 files changed, 106 insertions(+), 134 deletions(-) -- 1.8.3.1