From patchwork Wed May 10 16:39:51 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: 9719273 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 F3EE360236 for ; Wed, 10 May 2017 06:24:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E52DF284D5 for ; Wed, 10 May 2017 06:24:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9E3928552; Wed, 10 May 2017 06:24:35 +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 6DDB9284D5 for ; Wed, 10 May 2017 06:24:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751926AbdEJGYd (ORCPT ); Wed, 10 May 2017 02:24:33 -0400 Received: from mail-by2nam03on0041.outbound.protection.outlook.com ([104.47.42.41]:21332 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751585AbdEJGY0 (ORCPT ); Wed, 10 May 2017 02:24:26 -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=As9OkQK0x5RlONN9wzR+wlbNrIi3ouXdW6vjvqUQBf4=; b=EpbQNWAPehLvOKVOSIhJhhWv4o7Mwv3+jL0N70WAJz7gdySQhNpWzoQnhUuVdAZXBsRDNQYJRaeqKLKDiJL74JBdKocnOnM8e0vGgRnP0m+VyvTzWAlvY1DHO+ujtaf6i65NaPsaoKA7NXbmM7bfm3+603hJV9972wC8o00sXuk= 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:25 +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:24 +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:24 +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:07 -0700 From: Raghava Aditya Renukunta To: , , CC: , , , Subject: [PATCH V2 17/19] aacraid : Add reset debugging statements Date: Wed, 10 May 2017 09:39:51 -0700 Message-ID: <1494434393-17261-18-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 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)(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:SjLevapkGOs3bpEnzq1MP+qL3zPUeMPN3FZqhkR8NbYxRasV78LWt3xwYY8OM/4eCGVfvD5wx2pFQE7FLLoSXTrtvQR7mAxdUzJg+lL1RXhgHZr0093sWQj/v16gm2LD18nimeXYnn8iXbYDsZCxhRYmDn37FqZ6iIigd4LgQpEV39TbhAm/B6j4Pah3Ye7gL4vxS32mf+kW0qxjjh2FTKJjtSOYfK7NtLIw3ZAOwOp0JL9wMS2uf7s5iBRujrIyyspFqHE866SKj3JM9dUh7KUIYVMWIxfLA4X7hfoxSParDeMxou9cJhVLe156OrO/mKzdG1kZdaC1ieFs/9Sl8vWUCItnE2eS8pTRqwJ3Jeb1CIpHm+iI5KX5bLfOLgpxrPi8AlZ/ELGruOYyNJMmQFZV7plg/N2/7qCr/3ZMe6L02NDNnsP9gL3DrZhG81VTcQe5pEBZs/L3haHRBYpBiZa9Y/S3BMd55sFsgOJj7BgSt/b3oowmJJpdRGst/rhDtcX3/1LrAJHMpsWAGsmQD9up8GeDCp1VPRS1CzCIKicrxwmcIMK/KUq3fYDH4xv8s/vHI/MexInBCmzx0o22+zsvLZe++r+hJhVMppXQMeg= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8d1db639-b4db-4ca2-b0cf-08d4976d3450 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CY1PR0201MB1898; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1898; 3:p3BeBoEwINVyVRkNlPzOvFyiL0qlwROEunThSysZwgB+o/ZupjT9ywll27CRhZsyHTD4LtVUhB6+etoZZTO1H0DkcypJzbkcT9TqeFtgIuQVmXdIqVGpUUo9OvNzHv6jN7Vvf6hmjUgaNPn25R6hwXu7SUbJmqlgoUqIwbH8RHRSHGKXXBFUCAl+hzgKEQLk5fU6qnDod5i0RexwJZQAn5HISoiTaHr0wYGb6TNWGHdD3Qn4rzeITcUq962fOfVH0ZbgUGTxcJYHhwxS8qSYShD7FC35yoh2r0OwE8UcTEgaA1TkjNxtBH85BWRqVCJFzKrh5B0SbvYd95s4NijSSGf+benlO62FsUBevEMzfW4hmRuBclUx+enShONwISB0M+jP/5k1MOPN7kSkuemm2e/Ut9dQ7tUwBqFJ9kCe0pJccfFtbqvRGHUFKK3HBEdNdLp9mMx1uFJxhBoODCgOOg== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1898; 25:jhMq0ZO3QrxnuOO793Ouu+6r/C0uPS+81sEYL8L94YA5s9eonsQ7tqtpVy3ZGjQtxN5b6zdG66cfYChsHXIcd4sP8ALbSB0RJnmqcO/KU53JeVAZ4kepXaytoDmWBZhf/h+M0jm616tZpg6/EH5XTQw+AfYhqL8xEzYKDR7/uecKD3hod7fFkfVeFUaCxbL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hGpVOzRNti45ANnGfMTRGXV0F5JlNwkSIfciUt3qVO6S8vj 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)(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:I3Hu0KA2O/gliShlTtqBgVuul7hE4tJhf1QdLLIjCX00MhH3D7znG3ZmwsUWQTuKawbi+ZFVL9uHxbr+nU9LDA39EQ+oPUDtv+nktTzepWtUkB5m7TuCXxBjX/CKXR00barF2dQVn4UiTHXKWPW5loIFZgENwWh9LCVHe5RPycPtBKjQrYbtn3Q6rlExwweB/CO8load5OgRByKnOQrt9dLhTbK0fLmZIeH/GwiAbSdZHl1RoRaQB154L38kGfvGgukev2orGAQTrScLpt9R4veZkIjr6nyvf+BFmGTjPg5MAkI/jFxEAU+TU8uJkz/NLqF/EuZkDvhNQ18HhB6w93pZDTo2Od2Dw0Mzqmoe5O9n+YzuWtqTevvAru/EkKIjIBDl788k42wJfgxuRXmWEgR+qE893k3Ok3mmHwihtu+WELdxC2aePVF8qEwJU4tY+IzChBu4gl4zVVt6j3dxCQN+aUP8CDEFI4nTGDQIosMaCWlgSPiZImWgL6Yyuwr6rCajKq+A336Am6YnuNwFWRdrwlycc2AuMm4MRZEaFGAEyprCQgc7s7qHGkXQl5aFiQ0aJsLSy3MEW2sYPzYcm2u3G8RyLRJVab5pY53DRUQfi25gnmldohKJ4yvYu3ncajzLLgcCjwvkZuTeIV1NX75xngmQE/Hpgmhm902R7zwKJT6D/Zt2G58cX+lXs6j+E+bwnJ27gCUyiWlaoBMP6cLvHOxR+rRdWBru6EKOhwkDFh6dvOxzUm2RNVV2jxnjOhoDz7I6YatxpRUSkvXl/UN9OsmuouuU9YMPva9RgHFjzy4zQ7KBPgnte2xJqAQmpSJLPvTnzBaNtEJXhBHia30EcQ/TCCHxAZGOb9l2J/Dmi18XCDF6N+v015Vg78TQwSr5BRBHhx7Tq2oHhC2tG5MUCMuOUqAcr4PtO2mE qMT9LXEHNv3LhBTh0w9UJpz7 X-Forefront-PRVS: 03030B9493 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0201MB1898; 23:cynHHR65XGD/lJJ+JkAmtNl3xwYxzt8sqcyqXZq?= =?us-ascii?Q?7Od5Cczpjq05DT51UIi6r1lei+U4YpSYf9FiY1fce7sfMKCihC8nBMMSA64t?= =?us-ascii?Q?GxPN9h0L+munWWZ8l4P20Hxikk8KcTJCFwRrIHJwCWNBb8ob/CS/ecAgq2iB?= =?us-ascii?Q?TRzn1Uf+DzF2tLx2yK0T5LDsTmjlD3OCKZB/t9LlupPMegGqEMlG/dUSYlGb?= =?us-ascii?Q?wD0xeLr79laibaHvpD6ZD4LvIMWWPHckObu4hWBFWd+779N35wgVGwi0Zryh?= =?us-ascii?Q?Tz0fItOqIuA9js41Ig4xJPsNklewUdD1RtoPS7UxHtPj1XPvH66ezP0VFCEZ?= =?us-ascii?Q?0clX6HiBi40MLw5NS8blxFLgBl24kzdVVroYodJseFoMT3DGsBUAsCTqxRpD?= =?us-ascii?Q?+WusMT+BHSA8o13bwdGhwpQNsQH6SHJTSgE/70I0llhM9FE5AhCfBdmj+SGa?= =?us-ascii?Q?fMwTdRX21GqdA53Vk5bAsfYW5QskDv5eWlTzG9D/9LJaUGJYXvy9n5NmnCuo?= =?us-ascii?Q?ewZfzWwC2JH7yICXSzCvtyOC/2DyLAbtC5r4ALQ8VQLIEirOMz6J2K9qavRb?= =?us-ascii?Q?k+AZDV9WKK93taKRc3sA3G0WI2VOYQ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PHXOTfcTvYxiy6zk+jC18O4F/9PsvodwAK+vmreZrxC2QDrFoihulR/fIxJdY+wKLMymqYiPRN7ucS8SZViRVbG/S5BywRbRglQ8g93YeSyBQIqvM1AZKhGdPLQFFI0jbEJVs0KKzvOXwOrbooic=; 5:HNVTe2MG3elo1RL0dF4nMqZmpGoVdloGi3bdbPBWkIQ9123R/ngT2PmpWXKOjchUacjWxgph13b1JkjomGdHX3ASnJJtECS/siwBySPgsbkRw193d3IO7B/31ncMt53JCKLIdwZPGeZKjq529wm1PQ==; 24:vLXJUM6fCLahX5kR9aD5Ym/gioMw3eFa0oQ0/53k4l4K8bGpc7QMd6zG0hfqCWeOhxjWl4xjNzA0BkA59oQLL20mHKuxtnG2HSQEscAwGuM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1898; 7:4fXUofeM9J/KZJ0nU7HJjT/P9Tz9drjki92cK0t5L+cMsoWY0wkS8e0X351Vl7S3LD7svOGk2T+ozQm4WVeEmsbSffW4oJ1vm7I1h9BEuu/DwBeZj/xaQ2qofKfHob5pC20yVwp9wJ/nllU8oDw0PzDC7XX0EMSEXaZFK+7X9LkwxfJOxyw19ZVAK2T+9smWl5QnRbZre/IGDQGTJu0trwE/4hpVi4a6BxJlEokqCuvLFcoKxK8MPW93NuYjpTb5RY6DpGBjFD3pzqc808mpS9aGy0st7rcSWrs6QolRC+vP4IT0b1vEi9YeRTqd22ONqHJLwUsWQmzpYE3T0iId6w== X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 06:24:24.7739 (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: 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 Reviewed-by: David Carroll --- Changes in V2: None 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: