From patchwork Thu Dec 20 20:02:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Don Brace X-Patchwork-Id: 10739543 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 B45A41399 for ; Thu, 20 Dec 2018 20:05:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A35AA28A72 for ; Thu, 20 Dec 2018 20:05:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93F7B28AFF; Thu, 20 Dec 2018 20:05:18 +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 1BC5C28A72 for ; Thu, 20 Dec 2018 20:05:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731021AbeLTUFR (ORCPT ); Thu, 20 Dec 2018 15:05:17 -0500 Received: from mail-eopbgr750049.outbound.protection.outlook.com ([40.107.75.49]:42365 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731497AbeLTUFR (ORCPT ); Thu, 20 Dec 2018 15:05:17 -0500 Received: from MWHPR19CA0063.namprd19.prod.outlook.com (2603:10b6:300:94::25) by BLUPR19MB0209.namprd19.prod.outlook.com (2a01:111:e400:58ab::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.21; Thu, 20 Dec 2018 20:02:21 +0000 Received: from BL2FFO11FD018.protection.gbl (2a01:111:f400:7c09::173) by MWHPR19CA0063.outlook.office365.com (2603:10b6:300:94::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.19 via Frontend Transport; Thu, 20 Dec 2018 20:02:20 +0000 Authentication-Results: spf=pass (sender IP is 208.19.99.221) 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.99.221 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.99.221; helo=AUSMBX1.microsemi.net; Received: from AUSMBX1.microsemi.net (208.19.99.221) by BL2FFO11FD018.mail.protection.outlook.com (10.173.161.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.1446.11 via Frontend Transport; Thu, 20 Dec 2018 20:02:20 +0000 Received: from AUSMBX3.microsemi.net (10.201.34.33) by AUSMBX1.microsemi.net (10.201.34.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Thu, 20 Dec 2018 14:02:19 -0600 Received: from [127.0.1.1] (10.238.32.34) by ausmbx3.microsemi.net (10.201.34.33) with Microsoft SMTP Server id 15.1.1531.3 via Frontend Transport; Thu, 20 Dec 2018 14:02:18 -0600 Subject: [PATCH V2 0/3] smartpqi additional patches From: Don Brace To: , , , , , , , , , , , CC: Date: Thu, 20 Dec 2018 14:02:18 -0600 Message-ID: <154533583052.21615.11349449030149525021.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.99.221;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(7916004)(39860400002)(136003)(396003)(346002)(376002)(2980300002)(189003)(199004)(69596002)(26005)(77096007)(8936002)(8676002)(44832011)(336012)(33716001)(68736007)(53936002)(186003)(2906002)(4326008)(2201001)(2486003)(86362001)(47776003)(50466002)(33896004)(97736004)(23676004)(106466001)(126002)(476003)(356004)(14444005)(16576012)(5660300001)(110136005)(58126008)(316002)(106002)(9686003)(103116003)(305945005)(230700001)(486006)(81156014)(478600001)(81166006)(921003)(1121003)(83996005)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR19MB0209;H:AUSMBX1.microsemi.net;FPR:;SPF:Pass;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD018;1:4e8hQGS8gbvl50KYd/iKaAEjXyAcsBGYj6EeVgkPmuPvpBMUrmLTMcKIqJTNt6fSh0pK2a9avYgQFw0bZEIPr4yPzB+96hWGVe+i7MkPcZcBiZy5PklFFmBEXL5txLiV X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88e8a77f-5fbc-487d-eac1-08d666b60cfb X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BLUPR19MB0209; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0209;3:3rRhOcq59YgXLXCgv3P7ppFXtPUpZ7OsP3WXyp3un9czH9FIerm3Yz+Oxnz9ePJdSsy4F/bkwHAgbOVS0pAjKfI4HzYEkSBzzHXXK/6VqclZzIIeub885HnAQsjkFey6tulaxnlosct6sb30atrVXTqWdzIfdyOyNr1PFhHB+tFa/RuQgOQ7SSNEUa1CIr+ijswGCT9c5jRMm3pLH1IJarEi4YfK64mXxVUK2EkRZRq6jucqsFb62jnJ2/3raApq99mXxYZwVctRd9pUPv3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7wZY/fAHR4AZ0ry9qe2PtIpLv8xKkJEiWUUDBON0FkeAXuGCjhp/CiAKkXkku1fhr1t2biHAd0QnTaYny1joql95aFVGSRCiprQikcrFOorJPFaRPTTk+ImyoQMZ9BhE4VKAcLk8N4z85fSOPbRey079vNkGSIsx8PYZiT4O6RFnLiDii2s/c+SE9DQIXGyB0JZ/g3VvmpSsAWq8P X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3002001)(93006095)(93004095)(3231475)(944501520)(52105112)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:BLUPR19MB0209;BCL:0;PCL:0;RULEID:;SRVR:BLUPR19MB0209; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0209;4:YBX8SgCjJd8zWa9+ApXoE5by7kKckpTO+FLOQN9MFUaFFt9Q60c9cB4jL9/8tgBFA9vNkk97WkOybkCW2YC/MYSJrirNhSK00jQN7McUjgKiQFZskjpT2gXE1AYQeZD28G+WsGDvF75lQkZQx47OEEiVO6ggxFlYJgzJ5iUBudnPK5WBkkrwS2q2WA180KM9OaCiOtro5BBfGakLiIWaIzRqrz/Tfct2+Wb6E1Oafpf+KEZEUOjzJuHNbMG27LnKPrQ1BO35FYu45YJzik8Xhg== X-Forefront-PRVS: 0892FA9A88 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BBLUPR19MB0209=3B23=3AKyiCKC3?= =?utf-8?q?PnfndT6XK0jAxVf66e5i9yo/hk7pZtFTERxZHKuDT5UAGB8MNiAioy4gZpIsERdpM?= =?utf-8?q?SwDUFiwgrDBJaxvIS4Z3HU9+42WSq/gYcOsjvTKutmcf5AM28IHIBoGVpI48e4sPj?= =?utf-8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zqiZBgfzbLBarG54vRQA5g7eMHg/8+ai7bIjrR5krheafq5ZAMlik9R3Yjo6aWL0+BPi8fOt/uD7eetxw20gHtwOZQz62MCbBWmSqiD5I99o2x9kCXY=;7:qSZL+1hK2GvfmpkYGliKJ30YnxJgT3RGf73nxmhxrKjCSjzBNJ1e/YyQ7c082yyU94oWpAdRFT9pT0IhI7aqPAQa8LXaPEdurvSUW/+ZiXksNykD33cOl51g2/QTCgmqr1pnDqYEbhvjYv5l8i4eIw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2018 20:02:20.6171 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88e8a77f-5fbc-487d-eac1-08d666b60cfb X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad;Ip=[208.19.99.221];Helo=[AUSMBX1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR19MB0209 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 There are two more patches that need to be added that were not fully tested until now. The changes are: - smartpqi-increase-fw-status-register-read-timeout . wait longer for fw to fully initialize - smartpqi-add-ofa-support . allow on-line firmware updates. - smartpqi-update-driver-version . need to bump up driver version to match new patches. Changes since V1: . fix kbuild test robot and compile warnings (MIPS) . patch smartpqi-add-ofa-support . replace do_div MACRO with straight division --- Don Brace (1): smartpqi: update driver version Mahesh Rajashekhara (2): smartpqi: increase fw status register read timeout smartpqi: add ofa support drivers/scsi/smartpqi/smartpqi.h | 76 ++++ drivers/scsi/smartpqi/smartpqi_init.c | 591 +++++++++++++++++++++++++++++++-- drivers/scsi/smartpqi/smartpqi_sis.c | 15 + drivers/scsi/smartpqi/smartpqi_sis.h | 1 4 files changed, 637 insertions(+), 46 deletions(-) -- Signature