Message ID | 1494434393-17261-11-git-send-email-RaghavaAditya.Renukunta@microsemi.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DFD2560236 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0F44284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5DD128552; Wed, 10 May 2017 06:24:22 +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=-5.0 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_06_12, DKIM_SIGNED,DKIM_VALID,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 60B0B284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751787AbdEJGYU (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 10 May 2017 02:24:20 -0400 Received: from mail-by2nam03on0049.outbound.protection.outlook.com ([104.47.42.49]:64427 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751625AbdEJGYR (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 10 May 2017 02:24:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FDeqL5+ZFH+aidLX0l2BimVPF+EJyYAkN2OX7BlzRLw=; b=JKsolZ2J5XWcHI+3d6mtKrQtIXiK5THOB3eVCuRHmWh4NoVAgFBsFGRX3dp9kQXlteQelnwwVmNuW/oymJdyzqqUCpPSdQu4Q8iOgW4n3+62TLrCmaVKH7hZ7SDTC/wdvAgc1Q2BA28dj70ExOt+TjR6XxrW5xfTt9yfsGO4Sog= Received: from CY4PR02CA0035.namprd02.prod.outlook.com (10.175.57.149) by CY1PR0201MB1898.namprd02.prod.outlook.com (10.163.56.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Wed, 10 May 2017 06:24:16 +0000 Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:195) by CY4PR02CA0035.outlook.office365.com (2603:10b6:903:117::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11 via Frontend Transport; Wed, 10 May 2017 06:24:15 +0000 Authentication-Results: spf=neutral (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=microsemi.com; Received-SPF: Neutral (protection.outlook.com: 208.19.100.21 is neither permitted nor denied by domain of microsemi.com) Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1047.9 via Frontend Transport; Wed, 10 May 2017 06:24:15 +0000 Received: from localhost (10.181.72.13) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.339.0; Tue, 9 May 2017 23:24:04 -0700 From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> To: <jejb@linux.vnet.ibm.com>, <martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org> CC: <David.Carroll@microsemi.com>, <Gana.Sridaran@microsemi.com>, <Scott.Benesh@microsemi.com>, <Prasad.Munirathnam@microsemi.com> Subject: [PATCH V2 10/19] aacraid: Rework IOP reset Date: Wed, 10 May 2017 09:39:44 -0700 Message-ID: <1494434393-17261-11-git-send-email-RaghavaAditya.Renukunta@microsemi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> References: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39400400002)(39850400002)(39450400003)(39860400002)(39410400002)(2980300002)(189002)(199003)(9170700003)(189998001)(36756003)(50226002)(5003940100001)(86362001)(81166006)(575784001)(107886003)(47776003)(2201001)(53936002)(38730400002)(356003)(50466002)(54906002)(104016004)(8936002)(305945005)(6666003)(77096006)(2950100002)(8676002)(478600001)(106466001)(5660300001)(4326008)(76506005)(2906002)(50986999)(76176999)(57986006)(72206003)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB1898; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Neutral; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD011; 1:T0+8eQSYnP95bj6MmwB74Okxh7Dw7CDsHvRL9xP7ZA6Qigy9BD8/gR0iAS3Yf4z6FBiJnqBKoxJ/ys7Gzp+EGGtYm8DS8iXu6MgSq7AFWxuxbrxN7al/iKRzFVQm145CNhDZ632sX2iy3fq/tM+9FdtgBxjxQ4viPO6P2Zpt88JXq3GwNYfz7XeVm5iB24dFma/zzoZzGvfmWJQUc+m1TWJyfYv7GtJt/fnulMec4j4W9uev+vzSY2UOydQU2l49s/+JIGybMQw4hjjjLOE0PfGc8OGPZzezWucrxgCvCoU+H5lhUqdKFgMt2AqNN9KwOfHaXnx1CCYVeWpCM9Tn612EvXWHB/OIxofnPNdkSKFtK8yhTvw6/lBJZG+mO08JRzQTGgy4jIc6/eOD1FofluEaLU1Pdl05fEb1Gmy1SFd21o/oWZbZFl8A80DlduxMIyI8EEhSP9bTWBLBra7tAxNJlyDHoqGTJP70AsKo0lVst/2P0O4fqgMreR3mSLcC0Kw54W/t6j3coujnBIH5v6eLNrt1K/zejt/VD6tqzMmx9mJApfG3TPegq90BjRkYPO4sHMua6UXrJoTUCSeHkA== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d68c4bc-4c77-474c-1e4f-08d4976d2eff X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CY1PR0201MB1898; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1898; 3:CD7lbbWOaRk/ODY+PC5BlW4zQjUfgwWFPweNH710xn2zi5A5IrE62TVlqC5RyOQHlTDiwqbzqhohQS6oRD6/AG1oxPV/sod/ql1H6xwZBxTKhs56q6lbilQF6cEIwvzzGKHc4dJQ79b9vycM5NXAd7nrjpGeDERSu47NfomYtM5X/0ebDgUBqkocLFfXtR7E/jtZpcZT/CLQzDO+VLPPNCgg3/sPhLL4NWKIl04QEQZGYRPrCUn6v6quL7ZGujJNcg1sZwAN0foqpqMimZaYh2FnY8QvomJxb7MBIxPMdkKHdJyLAw1T64XnHG103KCEnzV6VEiCmn3198UbY58rXbSSDQ2rvh5dtKHC3it/YoQ1rH4Lj1oD4YIZ8EhpE9KfAjSLPfC4HXzFec2S7Dd1TrS0QmsI1LaIRbphml1hvr+tcLmzplXI3Rq9MENa3hY+3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sbfIc1H+TuUaBWx0wjQJ5Bsb3vdwuSGZVDWohrz/+yXE6e5cpanMXb5pSgSNWsHpMDGz9TW+wHgUOJ7bv/O8nUnehiw28Kmb5DQyM8J78nwbuSfdqQko2BH7SgNCZY1+XDcXojKQiLmARjgnCZC0M2DTCT9Tac717gr7dpsr01hwNFkJVpo3X0WUpgoXiSU6WZXHaas8rUMMLYS+mKeHk+bhhpVzL5lRisBvNQ1zK6FbuU9EbK1mQ5IXbzkv9TnBCcnfPDSHzCTzmhJgpPofszgPqQBjj+A7EpmpwuneOzZlF/kn+4u4qA/yc1RIjCg64 X-Microsoft-Antispam-PRVS: <CY1PR0201MB1898A2A4476E70DB57A832A3F0EC0@CY1PR0201MB1898.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13023025)(13024025)(13018025)(13015025)(13017025)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123558100)(20161123560025)(6072148); SRVR:CY1PR0201MB1898; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB1898; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1898; 4:FkJVDsGz4LPPJfBfkWwJKAinNQ67pt1T8Sv9I1aRu+LRRr5xYbKNtxlZ9xcHeweSFH3fDjy32gqy+YWYbzJoV+lecXR0Rwc2mnH7Y1Fg4MZrXtUf/Z8uSPPJyyxLZ5RKT8rUuCy9EaXq7fUECKAfsii6NbhedGq7O1ye6WDQjSN+YUWuuGEdcFNSSC2nNAcjVHkR8YSOQ6cpXGNtCpxQKYID+GcN+y7YkPNli7LERrqxQe3O8o714w5b2PhT20HWY04gIqsFJhea0SaTwMGdopi7KdCchUGwbPLkVKIL+NaoiJN28lddjelsVNBxsD94qQzgmsEXd3nM0kKEHGSA7u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TdkOOK1sdjAyb/FGnZHG1/1ohHZKcii+P06jT5g3r76Bvynmv2IF1V8t3H5dlr3VlMEE54IEqId+X/m8nvZ6TphULhahnuHC6k053HGncUrZhgZk1hYyJ0S3tzgqpQ1lnqjAKFB+1kVfxlts9RCnEO5YzM0dw== X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 06:24:15.8507 (UTC) 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.21]; Helo=[avsrvexchhts1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1898 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index c0e5242..e8e9178 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c @@ -694,15 +694,17 @@ static void aac_dump_fw_fib_iop_reset(struct aac_dev *dev) 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL); } -static void aac_send_iop_reset(struct aac_dev *dev, int bled) +static void aac_notify_fw_of_iop_reset(struct aac_dev *dev) { - u32 var, reset_mask; + aac_adapter_sync_cmd(dev, IOP_RESET_ALWAYS, 0, 0, 0, 0, 0, 0, NULL, + NULL, NULL, NULL, NULL); +} +static void aac_send_iop_reset(struct aac_dev *dev) +{ aac_dump_fw_fib_iop_reset(dev); - bled = aac_adapter_sync_cmd(dev, IOP_RESET_ALWAYS, - 0, 0, 0, 0, 0, 0, &var, - &reset_mask, NULL, NULL, NULL); + aac_notify_fw_of_iop_reset(dev); aac_set_intx_mode(dev); @@ -742,7 +744,7 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) switch (reset_type) { case IOP_HWSOFT_RESET: - aac_send_iop_reset(dev, bled); + aac_send_iop_reset(dev); /* * Check to see if KERNEL_UP_AND_RUNNING * Wait for the adapter to be up and running. @@ -769,7 +771,7 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) } break; default: - aac_send_iop_reset(dev, bled); + aac_send_iop_reset(dev); break; }