From patchwork Sun May 7 13:34:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghava Aditya Renukunta X-Patchwork-Id: 9715395 Return-Path: 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 287EF602BD for ; Sun, 7 May 2017 21:44:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1999D26530 for ; Sun, 7 May 2017 21:44:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DC83267EC; Sun, 7 May 2017 21:44:44 +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.4 required=2.0 tests=BAYES_00, DATE_IN_PAST_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 69D2326530 for ; Sun, 7 May 2017 21:44:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbdEGVom (ORCPT ); Sun, 7 May 2017 17:44:42 -0400 Received: from mail-cys01nam02on0067.outbound.protection.outlook.com ([104.47.37.67]:34981 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752860AbdEGVoi (ORCPT ); Sun, 7 May 2017 17:44:38 -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=w0QGBkb3R50aLb6ZwZchY8AsZMB4O1ysEoLB7VlQMHw=; b=TyASk9lo/+4XbZV4F5FuTJyyXHgc62d7+V1OcQjNPwhTmMWKOqEDyrVV+XiJDpYTMsoHyhcs0ENOlfXzktLSxP9Al+y8PRPDPtpQVwr774JDiJGf+x/hP2hPDw2Xq+SutrdJ6loGkZNcI0N0m9kGonR+gY7B9DbucuzvqBx/VxY= Received: from BY2PR02CA0088.namprd02.prod.outlook.com (10.242.32.46) by BN1PR0201MB0721.namprd02.prod.outlook.com (10.160.169.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Sun, 7 May 2017 03:19:02 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::115) by BY2PR02CA0088.outlook.office365.com (2a01:111:e400:2c2a::46) 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; Sun, 7 May 2017 03:19:01 +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 BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) 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; Sun, 7 May 2017 03:19:00 +0000 Received: from localhost (10.181.72.194) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.339.0; Sat, 6 May 2017 20:18:38 -0700 From: Raghava Aditya Renukunta To: , , CC: , , , Subject: [PATCH 17/19] aacraid : Add reset debugging statements Date: Sun, 7 May 2017 06:34:22 -0700 Message-ID: <1494164064-17715-18-git-send-email-RaghavaAditya.Renukunta@microsemi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494164064-17715-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> References: <1494164064-17715-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> MIME-Version: 1.0 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)(39410400002)(39400400002)(39850400002)(39860400002)(39840400002)(39450400003)(2980300002)(199003)(189002)(9170700003)(48376002)(50226002)(77096006)(478600001)(50466002)(36756003)(2201001)(86362001)(8936002)(53936002)(8676002)(54906002)(47776003)(305945005)(38730400002)(107886003)(2950100002)(6666003)(81166006)(5003940100001)(2906002)(105586002)(50986999)(4326008)(76176999)(106466001)(189998001)(76506005)(356003)(104016004)(57986006)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0201MB0721; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Neutral; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:Rt0bB0Q5frfC7LyPhFLeP9wFXjHvY0IKxZP72RBG1N2c217Nje7eO7R8jFEpNJVXmwALTi6pxZjh+FN00G0OzahkLIokaz41m0u4ep42HMcX47oLav918jywng4eX2oc//kWXpc7+Nn71XoRY8oI9SdAJN8S1E/hk0IZym4UDVGjfJEKGYJJQTvk22TnxdtZW0dRMEyXsD6iDOx6OEyGi8surjbRnMTCMN8qTK2/LOwVmgxksPzkUsYIZ/7YE03RwsKRa+5FEi1NbfxIIn3wifQpYrkNAr1Yld3KUn5e2IbzUFJJH9DmblDcjY2RHEkeD+TwGAB9RekpGd/BGurtyNP6uCD0DUCpDOtZXPbG7SnlfqVldzV39E9vOx4xN3r9OZ84nTvqzAIGjSmHJvgbjOgzRelI/qv8JWTWkcYNUW6RnswCWZf4Sx/isBP0UPnQc5UpOmuPan0LEB8KtlFnMap1fZsMMg98655Rhw8IC8pbirTR4MvF7l23ly2BaJil9NBdgoVrW4K3XMHa9wPDIKfCyigtaZDExjXgYor50ndHcEtmsIWb9QXDX2gxrFVx7lTxNhE87DkwypecSt70S1h9GokRcC9U7wBW/wljOkE= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c58d2e2c-3b32-4383-b51b-08d494f7ce81 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN1PR0201MB0721; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0721; 3:rHTJ2eEW16rbhPpqthjCHfStiTFtlnC88gfG7INybkcwCtlcQjySXfBpSC3YVP2msfaR3EtYR9JKZRYnTvNhPoahyGQJyVdyE9vI+42QDZnWoeb31rJgNwLBSFEuaZSISIy97MKy4zuskj1KmAxRev/D3MVf17MMdKv7+wl/XGqssFtcEiI8cRXqOQSqvoG4UXK5gFnn3mRX/zflsqlQdE+6DJRYJGiLA1OJ7Efqal2bWs3wTynO14ZydzhiEbTu+sGRDTz9ieamSIGpD6rOmjdpLsvuRsnJr5WhMBqs92YaRGwnENJh0sEZX6VrLV6rQ+arAlNgG3r4p4LyW9/2pkUmDJvKpvlDFQlDUDI4Lx8gWuo1lQkQR6OHi1oHfKpYmDMeZct7frNKCMO8CFGGkVe6K7R9RRheK0USY9d7TDeOKPYwXxBlXOq3XQ/Hld0x0hxVE5+3TJYMuHPD0/Yw9f6ix/aEdxEDnhEWD090S2Hb/hEg0jGVhT3paHWaBj2G X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0721; 25:lb4At804jfeyShlmN/j84Y8d6NT6cq0hnznIv/68T5CCaGw1rOWx2g9ZjUNIK2OqwnOjTGCakK2svJW4orBiZ0A2gvbkEv7OVprfbNOyyMdEKsntvtbPfeZ8IwFPBHSDGLcUugLDNwhFXnJylcVOY6Q4ftU44f+4Djana8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uJbo96bA2vc/oiIow8ksH8HAmmKOx7DZeW0LJ+BvJVEqfds9BNgl4qH/rDamrZuUaYJCNB/nPX046ghWFeyeYWt1H48sUeMHe8lXLY/Kj19OpZbhP96tPa0msMDNzkF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13017025)(13015025)(13018025)(13023025)(5005006)(8121501046)(13024025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123558100)(20161123564025)(20161123555025)(6072148); SRVR:BN1PR0201MB0721; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0201MB0721; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0721; 4:mVx7RxkwST5ZzgeeRKygcHoTO3MdEQf4YsPgiwCrIzJ1HxUBiYEDRpXpecxvvxeuP3BjcftIQxG9tirwQ13ujNNj2Ow0AksUg3g62RYZq/VhOLQBEERQbi7PTd4Z/SUrw8E6a69qJ6WkqJYYJR9X1OE3vpCA0AuGz0DmE64tChLDmH0MiXxremYMmG6PJR59t8JldkY+sVjVPEgrSxTk3DiSS92qRRfBPDjJ1lfWFUJHKI6wFXUsPyTuQsXmNf/mSpwcgSkAj+1OyJRRCb7jbx3V3M1aWvUN81q8I4mmwiFTGit0cIQ7xGdUL0rInrnfOaDbqN/Bfqo+9Q6v93AkeLoCtqq1tgiwjEGfqtjed2l7j9A0bgcwoFNB40B9OqH1rhsn6b2t1knevzA5eVkcSuydYy/WkTKmEabWCWwjCTou2+CTMRB799UO6rVvU6k0kes/vsh8DEwVtjXAOo/3cpG7Cw5oZwNN20lDbxLcvRk26xQxZ1DIx00ZlmUSWEOfpNYYyHuuv6Qdd2O7K5zrkXSHAqZ3Fy6Cme/PToeTIILARNiqhoU36/qorKgjkMQPFQqwu22I/0ovc6Y3tHaFZuHYDz+DXF/MupCrzb4UiEJ0BYW2OrV8kiUATv07goDMDRRCbHch9Y+zo5knvic7HzIJHDffAb9NLrEpQ/cRT4UHzZIsX4mCnlbamddCYykF+qxWLb5uT8g9AIsyVtyIKeAC+O2ZbFvXTPIU22r4Xc0V72leG9FMAJPW9JQG14gpC0SeKcXhlLDl1btxsGtOweSYsDXDDMK03I+f6StMBRt54cKorUZjUL+pUylv+mPs8JpgFSWnBQnLKUdsnPPj3IUXESJSzcwOw7Y9ClVi2nqq7wu4RwP/5AgD2oF9nW4oVvsTOWKzoWdXQubzSSMKcAjFuI/pnLIm8i9tAYTO W1+nZPT/T4bveIWxZGpbdIRJ X-Forefront-PRVS: 03008837BD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0201MB0721; 23:T/iMaDqJOeyTBPPx3e3sWH5ANRhREJUYRfHop3X?= =?us-ascii?Q?juCfwC43X4oTQlPBSNOui2n14elqh8o/bV5w0WK7IWAn03fVrXp3/1LieNgG?= =?us-ascii?Q?QbR1/5YhJmf9EZGEIKNHGapEJNz9e3Cxog9nKdctQlkz48bvcwo7wSCM7MRA?= =?us-ascii?Q?H439iOpwqmElqIlRSBJdPf/6u+R/vcETi+0q3ALJCcB+Aqbfm5l2g2xvlv1F?= =?us-ascii?Q?Ud8LEAx+WHFiugBRVM0z6liVMSN8eDmtcZcYN7gt1PtHlqA9RxaRI1EZyMo1?= =?us-ascii?Q?0DdAXVpFlrepskk64y+H32by0ap9J4M62zpGwEbEb+NJlh1csSuM+zg7IlKI?= =?us-ascii?Q?U8CAwpIdBN5pmjLx4wxznGxDe2ZNs5NXSKdaqQ9Anmap3mYusF1hLDrmckuD?= =?us-ascii?Q?bpwd/AUNUVogEqZuNJ1fosxUv7RG77QPUuu8phkpjCwOvXavtXQpSgT8+LrP?= =?us-ascii?Q?7NmyOLw/GiqQjY7j+k/JIJ6Ku++fPJb3PMOiXLlbiRVhobWcQEJv4sVkrqZ1?= =?us-ascii?Q?0HqieNltNt1C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vqH1xxgdbU5MB7gqLEtFGeHzFs45B5WPQ8q979HmC6D674wHKf0guK0rfB/NSm4fnAWEBnhEayCo5Yi+TyZXPS/m6q0Z3AWdn4jrXFCIGroLlnurCtX//WrYVvGoPEz+BLiwtEoeyFkI69k71haknJ8FvL/CjoFEKj56aj/v3ADa5eBc+8wI6re2jE8/+S3JluCWHPyKm3HYXjBZvYLK5npWLINeH8PgKO83u++o8=; 5:+jnL5t9X3uTG+HijiHxp07bpBDU8K1b3u+HARaJcYZjrEapmPento/r3zCPBmvlPOPJ8e7no15HqhirjvFHZBt9/A3bl9ybx4Nj/83BfhI/PeoR9OAMT0wfVF8A4s1K3qSW7iJ1V35GuNBIgx+lafQ==; 24:Js/BUUmFNEImMabgrB2e/Msswq0jM/Yi5Ockh77f0piBNbPIgFwZDub9Q0bbki52vkzxbFi1WcgGVcww6v+0BvF/FjJFZiFd202UyQMFEEI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0201MB0721; 7:vftEv7tiePtErzNIiWOTL7/wiqeQ0DlLapVZFDParQjWnMD6pbvF3mwr49dRXH0Fep1FHsXB70lyxdHiRtd2jmbtKPzjBGSxTfTHXRmC3vzZTHyKJQE3OHuTlQyQ9MOV930B0BVHooSm/OZE/R8U/z+u6v+DBbOR0loc0filhN6sYTwwSwxn9Y/K1GEicGw3588AaJAsTw7/lNnykaV3QASMMQ+WlylPDJv13HHvyFhXO3dV8YDBZYlaBpCldAbIvqJ77HVi+K1q+MI5ClaSqHWFRigYj3w0gaeXffjOAWo+NW9aGCQhZzXe05kSf97VqfhD9I3p6G0MV4UQ1Ug+kg==; 23:Vmu1QAOyuwYte/zovV56ss0Z9tUux8yMJPzWsvlC32RY28m0QkJ4g5laN4yLTR5SoVlOFoHVLJK/vNf8Sc4cFsl9M5PS9fEL7a3YQuHCXyfjtfRII/5zx3vioWIjvn5cJ5ONorxXwhBcs2Nr2leJpg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2017 03:19:00.5246 (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: BN1PR0201MB0721 X-OriginatorOrg: microsemi.com 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 Added info and error messages in controller reset function to log information about the status of the IOP/SOFT reset. Signed-off-by: Raghava Aditya Renukunta --- drivers/scsi/aacraid/src.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index 10a589b..5367d3f 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c @@ -761,8 +761,7 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) goto invalid_out; if (bled) - pr_err("%s%d: adapter kernel panic'd %x.\n", - dev->name, dev->id, bled); + dev_err(&dev->pdev->dev, "adapter kernel panic'd %x.\n", bled); /* * When there is a BlinkLED, IOP_RESET has not effect @@ -772,7 +771,10 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) dev->a_ops.adapter_enable_int = aac_src_disable_interrupt; + dev_err(&dev->pdev->dev, "Controller reset type is %d\n", reset_type); + if (reset_type & HW_IOP_RESET) { + dev_info(&dev->pdev->dev, "Issuing IOP reset\n"); aac_send_iop_reset(dev); /* @@ -781,16 +783,20 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) is_ctrl_up = aac_is_ctrl_up_and_running(dev); if (!is_ctrl_up) dev_err(&dev->pdev->dev, "IOP reset failed\n"); - else + else { + dev_info(&dev->pdev->dev, "IOP reset succeded\n"); goto set_startup; + } } if (!dev->sa_firmware) { + dev_err(&dev->pdev->dev, "ARC Reset attempt failed\n"); ret = -ENODEV; goto out; } if (reset_type & HW_SOFT_RESET) { + dev_info(&dev->pdev->dev, "Issuing SOFT reset\n"); aac_send_hardware_soft_reset(dev); dev->msi_enabled = 0; @@ -799,7 +805,8 @@ static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) dev_err(&dev->pdev->dev, "SOFT reset failed\n"); ret = -ENODEV; goto out; - } + } else + dev_info(&dev->pdev->dev, "SOFT reset succeded\n"); } set_startup: