From patchwork Fri Dec 7 22:28:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Don Brace X-Patchwork-Id: 10718949 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 7B10F1750 for ; Fri, 7 Dec 2018 22:28:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63D362C17D for ; Fri, 7 Dec 2018 22:28:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F3702BDE2; Fri, 7 Dec 2018 22:28: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 AFC7329D29 for ; Fri, 7 Dec 2018 22:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726095AbeLGW2j (ORCPT ); Fri, 7 Dec 2018 17:28:39 -0500 Received: from mail-eopbgr700059.outbound.protection.outlook.com ([40.107.70.59]:61472 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726076AbeLGW2j (ORCPT ); Fri, 7 Dec 2018 17:28:39 -0500 Received: from DM5PR19CA0039.namprd19.prod.outlook.com (2603:10b6:3:9a::25) by BLUPR19MB0401.namprd19.prod.outlook.com (2a01:111:e400:c46f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.20; Fri, 7 Dec 2018 22:28:07 +0000 Received: from BL2FFO11FD024.protection.gbl (2a01:111:f400:7c09::172) by DM5PR19CA0039.outlook.office365.com (2603:10b6:3:9a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.18 via Frontend Transport; Fri, 7 Dec 2018 22:28:06 +0000 Authentication-Results: spf=pass (sender IP is 208.19.100.22) smtp.mailfrom=microsemi.com; linux.vnet.ibm.com; dkim=none (message not signed) header.d=none;linux.vnet.ibm.com; dmarc=bestguesspass action=none header.from=microsemi.com; Received-SPF: Pass (protection.outlook.com: domain of microsemi.com designates 208.19.100.22 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.100.22; helo=AVMBX2.microsemi.net; Received: from AVMBX2.microsemi.net (208.19.100.22) by BL2FFO11FD024.mail.protection.outlook.com (10.173.161.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.1404.13 via Frontend Transport; Fri, 7 Dec 2018 22:28:06 +0000 Received: from AVMBX2.microsemi.net (10.100.34.32) by AVMBX2.microsemi.net (10.100.34.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Fri, 7 Dec 2018 14:28:04 -0800 Received: from [127.0.1.1] (10.238.32.34) by avmbx2.microsemi.net (10.100.34.32) with Microsoft SMTP Server id 15.1.1531.3 via Frontend Transport; Fri, 7 Dec 2018 14:28:04 -0800 Subject: [PATCH 00/20] smartpqi updates From: Don Brace To: , , , , , , , , , , , CC: Date: Fri, 7 Dec 2018 16:28:04 -0600 Message-ID: <154422079293.1218.12539829857034151457.stgit@brunhilda> User-Agent: StGit/0.19-dirty MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.22;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(7916004)(39850400004)(346002)(136003)(396003)(376002)(2980300002)(189003)(199004)(40224003)(103116003)(81166006)(8936002)(81156014)(8676002)(478600001)(2906002)(106002)(50466002)(305945005)(77096007)(186003)(316002)(16576012)(69596002)(97736004)(4326008)(110136005)(58126008)(26005)(33716001)(336012)(9686003)(44832011)(15650500001)(86362001)(486006)(230700001)(476003)(126002)(14444005)(356004)(53936002)(5660300001)(33896004)(2201001)(68736007)(106466001)(47776003)(23676004)(2486003)(921003)(83996005)(1121003)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR19MB0401;H:AVMBX2.microsemi.net;FPR:;SPF:Pass;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD024;1:CNOdWeL/l/mmaYk+9XXHWGD2mcaWgt2v4kHp4/OMx5yMuDFYTgZm4KYEO5eleWb58df5tBU/20k3gfVX/lQ9z01QHMw6NBPwUd2FcBmW2c/faPnvl7XU9I+q2I7iaB13 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2a164a57-c790-4205-10e1-08d65c934296 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4608076)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060);SRVR:BLUPR19MB0401; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0401;3:DQFS1CeDsMh53WnyHWKCi7Gu60jHMpfqbsmk4Yf/lMhEvcEeDNfSoNNxeIIVEDyVjf1lsDNXeVMJfW3Ko8MlNqQW/WSaZVv4mCAFulZLmBXqCpr0mramTCYrTOOQQ4ANpU1MGvQIVIcW1eLCDqsZ/uHa9WJpC/Iiluw+5Z/J37lnFhSUuiIXjIrWQAymWaSM7CNS5+rlLvIHUGrrWCuhr1UYW9NojT6O/kvl7KboCLOlGJvkE7I3CYkfXPpZrEd0EqrE5P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i6kH+r8Nipqzw9Z28ImMX8dE+J6k4CuF4e4mvzJr/LxPzf7sPtxL0zi+4nHCsDuNXYnlnPKNcPfk90tlJNb4aXWQkbVC5/2UrOiuTxXPq1VOm4CC9SdcAAfJjEdROXbL1EHPyYECCGSX+hL+2l0Iggx0iSc0a+V1vFAldd8PsOoPAreGEh+zxS09anjJrvwQGAJdWD2SeOTNnveasSC64vuilNeq7tWkjfYaTarlPOrUopz82lSOynwVtIeah0hJzoVMSE63a8UE68Tp99SBiBKNJSoIPYRx8l9FoVlOzrno+97vmdWiNdlW2K4s= X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231455)(999002)(944501520)(52105112)(93006095)(93004095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BLUPR19MB0401;BCL:0;PCL:0;RULEID:;SRVR:BLUPR19MB0401; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0401;4:TMi6kOyUv7BL1nWsOnkGcnJNvUTBJNi8Rb4eUomds+WAGtXNe9nO2MqtK2ifsZ0WmS4+L/vrGLN/NPko+0oDlJixr/JiHvkHJKKAECvWCwhsJLyoONdvbPgrZiJP1KFqr3PV22aI4sfyVHOZ86XCVrQXTkIUHfXXW4nLssSzMWMwBzUc9/NR284XCJE3pJix9Xy7Cr8rpD790P4i3yyPddxYzrbbAsweULBonjZpqp3yn42xlPratbtxlXNf0q0l/D8TUfuOJtenohut6p1fvw== X-Forefront-PRVS: 0879599414 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BBLUPR19MB0401=3B23=3Ait1Bq+l?= =?utf-8?q?k4dxksnMAnbc5oRmAB2ItzLSeFIl7nZypfaQfjpiPcpwi7i6e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CladFJcsueFOFtZla5MSlqs5CkYA5WRODdmYSMtVNM3GahLVNWVvFlJLrnU1HLjSQgufv+0HVkN27P0LbyVQcEJDR+P8ZwqH9KM2hD1c437dvR8mcM5u2itYcMxXI/8I8yqotbgqsvHdP81drRBmfxBC/awMCLSKgC+9w==;5:z+nZdtyPCFg79keU3i6HUvxmmNXVTni8LoMSjcz1cKoPmR3+4zLT7MtNbbG072r5kUC/DRJozHGYrYnvZi7zfQkuEGjRPW3sCbEY4jfMMjnSftpzEWmcQ8tSt5qXFneBxmViwzTNMC03SM8EtIJDQOIRtJs8V1i1onPV6peOljo=;7:L6i7Nj/RTEvPBHVZKJ9O533k6QfrCDMiY1c7q1vg8CzuJYFD660+6JnCgrv7WZLMAjN7c4ghUjekNBXAGTPjfYABjIGsvjb/rjPsr8IEdCFnEdf/WpA+qlZ84akQgzeHiFkiIWDNTWeu4kGZuTQ+yQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2018 22:28:06.5176 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a164a57-c790-4205-10e1-08d65c934296 X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad;Ip=[208.19.100.22];Helo=[AVMBX2.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR19MB0401 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 These patches are based on Linus's tree The changes are: - smartpqi-add-support-for-PQI-Config-Table-handshake . add support for get/set controller features. - smartpqi-add-retries-for-device-resets . re-attempt device reset. - smartpqi-add-no_write_same-for-logical-volumes . turn off WRITE SAME for logical volumes. - smartpqi-correct-host-serial-num-for-ssa . update host serial number - smartpqi-turn-off-lun-data-caching-for-ptraid . get fresh lun list from RBODS. - smartpqi-refactor-sending-controller-raid-requests . condense commonly used code. - smartpqi-add-sysfs-attributes . add in driver attributes. - smartpqi-add-h3c-ssid . add support for more controllers. - smartpqi-fix-disk-name-mount-point . correct sysfs attribute for unique ids. - smartpqi-wake-up-drives-after-os-resumes-from-suspend . have OS start up disks after resume. - smartpqi-enhance-numa-node-detection . set pci device to correct NUMA node. - smartpqi-add-support-for-huawei-controllers . add support for more controllers. - smartpqi-check-for-null-device-pointers . wait for all outstanding I/O to complete before removing a volume - smartpqi-allow-for-larger-raid-maps . correct rare case for very large volume configurations. - smartpqi-do-not-offline-disks-for-transient-did-no-connect-conditions . remove call to scsi_device_set_state - smartpqi-correct-volume-status . correct rare case for volume deletion during a scan operation. - smartpqi-correct-lun-reset-issues . clear scsi cmd result after a reset. - smartpqi-add-module-param-to-disable-irq-affinity . allow some customers to change IRQ affinity. - smartpqi-add-smp_utils-support . add support for smp_utils. - smartpqi-bump-driver-version --- Ajish Koshy (2): smartpqi: add support for huawei controllers smartpqi: allow for larger raid maps Dave Carroll (7): smartpqi: add no_write_same for logical volumes smartpqi: turn off lun data caching for ptraid smartpqi: refactor sending controller raid requests smartpqi: add sysfs attributes smartpqi: wake up drives after os resumes from suspend smartpqi: do not offline disks for transient did no connect conditions smartpqi: correct volume status Don Brace (3): smartpqi: add module param to disable irq affinity smartpqi: add smp_utils support smartpqi: bump driver version Kevin Barnett (2): smartpqi: add support for PQI Config Table handshake smartpqi: correct lun reset issues Mahesh Rajashekhara (3): Add retries for device reset smartpqi: correct host serial num for ssa smartpqi: check for null device pointers Murthy Bhat (2): smartpqi: add h3c ssid smartpqi: fix disk name mount point Sagar Biradar (1): smartpqi: enhance numa node detection drivers/scsi/smartpqi/smartpqi.h | 144 +++ drivers/scsi/smartpqi/smartpqi_init.c | 992 ++++++++++++++++++++---- drivers/scsi/smartpqi/smartpqi_sas_transport.c | 164 ++++ 3 files changed, 1131 insertions(+), 169 deletions(-) -- Signature