From patchwork Thu Dec 28 20:33:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10135881 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 D774860318 for ; Thu, 28 Dec 2017 20:34:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA75D2AD58 for ; Thu, 28 Dec 2017 20:34:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF4E22B1F6; Thu, 28 Dec 2017 20:34:32 +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=-6.9 required=2.0 tests=BAYES_00,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 526032B3EB for ; Thu, 28 Dec 2017 20:34:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755309AbdL1Ueb (ORCPT ); Thu, 28 Dec 2017 15:34:31 -0500 Received: from mail-by2nam01on0072.outbound.protection.outlook.com ([104.47.34.72]:19632 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755302AbdL1UeZ (ORCPT ); Thu, 28 Dec 2017 15:34:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Xt5fWAaj5+w3N91IdFhVcKsfhj+M0zfb6fTAIFmTowY=; b=GyhJXv6V0Pojy2ZbyXykJQFR2x0lRr5kJQMSSPVXkHsW5K2RNhP7ZeLQadKiAT7qGttkau8daLr2Rm8tkG8qcC/LrLlNB9ysCgSgp96PGGWSCG7OxEKYr+xJXJTJYSOYgckyZTFJNlxYFaMdW0mgZ99NSD4Sms+S/4efSVsZLiY= Received: from CO2PR07CA0082.namprd07.prod.outlook.com (10.174.192.50) by SN1PR0701MB1951.namprd07.prod.outlook.com (10.163.131.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.366.8; Thu, 28 Dec 2017 20:34:24 +0000 Received: from BN1BFFO11OLC002.protection.gbl (2a01:111:f400:7c10::1:135) by CO2PR07CA0082.outlook.office365.com (2603:10b6:100::50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.366.8 via Frontend Transport; Thu, 28 Dec 2017 20:34:23 +0000 Authentication-Results: spf=permerror (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: PermError (protection.outlook.com: domain of cavium.com used an invalid SPF mechanism) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1BFFO11OLC002.mail.protection.outlook.com (10.58.145.13) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.345.12 via Frontend Transport; Thu, 28 Dec 2017 20:34:02 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Thu, 28 Dec 2017 12:33:51 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id vBSKXpTA002942; Thu, 28 Dec 2017 12:33:51 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vBSKXpGX002941; Thu, 28 Dec 2017 12:33:51 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH v2 29/37] qla2xxx: Increase verbosity of debug messages logged Date: Thu, 28 Dec 2017 12:33:37 -0800 Message-ID: <20171228203345.2702-30-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171228203345.2702-1-himanshu.madhani@cavium.com> References: <20171228203345.2702-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(346002)(376002)(2980300002)(448002)(189003)(199004)(356003)(42186006)(59450400001)(16586007)(316002)(1076002)(76176011)(4326008)(51416003)(36756003)(54906003)(15650500001)(85326001)(110136005)(86362001)(80596001)(69596002)(87636003)(478600001)(72206003)(106466001)(2950100002)(6666003)(8936002)(81156014)(8676002)(81166006)(48376002)(305945005)(2906002)(5660300001)(50226002)(47776003)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1951; H:CAEXCH02.caveonetworks.com; FPR:; SPF:PermError; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11OLC002; 1:LZGu1JMF3/dDKnDaMTNlDUFj4TKw0Zk4RVxTpYqMV0F2vk39FzF8Inb/JQzZ0GD2nZuG5wNWws/+RM1/nvhtp6x6Rv8ivGQV2YzdYuT3O92T8PhjqL27a+XV4S/GuRBk X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b7dcbec-69d9-4860-e35c-08d54e325587 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:SN1PR0701MB1951; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1951; 3:d+CxQGwjENF5PEqADNci/WrUd5iuE3zenLk1rNX3QSow92hI91hHApykyLGp91P0jPooRRHRtiWuPgb3fHzx9WcX8B6JxIe2Ro8te5ny+19EuY4j9do3ograzzQF3mgU2MR6yLri7mVAAGEFozjnPElcCO4GM6F5NzDQw+Mo+XK9wW5VBnSfcMr8SF7JjR/S+qYRKzDEZPmuY7CPF6Sl1AiezxB9/ris+8SGBvlE5QPDxtV1dve7nHW8eYBu3KRNPvr2xDhmJxi3oPH89C4q5vQz/m/oh9GH9BAWbtbon5DUV3ViLJQfNBtj4aEO9Pu6v3miEONh/Z1voeoAFgcHMg==; 25:DXIMiCfwKPkXBTeX2XYqz3s91iT8PvImVs6JgP2VbQwyWZdMANXuPfvX21eqYMmGOmlysZL5TYfUrHZutyb5yNJrJscdbag1u3AjV74E1Wc53zQo/xSnJDJN6d+TCen81mv7V2u45QYMA2OnkSPbpQmJ0E4vDVM9YTSHIkTqSOF2rRORoqbpCsgLxW31MfzTrCBbmEyhtMx7fliwMSkDtELDBZu+dpRlTAWUjEStoUBrJJHzsqntXkfpp9SLx0FzANgMItOjwW8jJn813SuFQPeU1XwnTkC2zwvgVANTSam53PffSNRzzUPjwUB4CNN6wUVolKxVdKAwmUw6swMDRg9gx/YJGWnQ5rBVYiYsPIA= X-MS-TrafficTypeDiagnostic: SN1PR0701MB1951: X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1951; 31:Hm/wz9YbetYo9SgxLJNvnIP8SzpvL/QcRTXxinFV1ZVZZ478YE2uClyZOi+e0u3kQx6ycyAu5X6cpS29YhuUBuLM/dHP6Ab/FtAWI02ErFLFZPBDcrDxynaKHdJMCR1wvWKByYiHqGY+9ss+R/ERmYNj2SKNBjOyZOw/PJRRaZ01znW9U+blY44nky4izhOvjAfrebv58hKY2cJC8O9hAMpmEtKm8wnZfvfqpAzmo8g=; 20:l3t0674ToNUyukx/vjIm+ivCayJ3EMWnXzcvPsOXsxDvDVYcel7pFfUlGEkotWkihn1NExTL6VLnzDBmXSD6B5Il00HpfoCKZz1DarGgGWzCeJqaROBsnWinyXoIv00c/LC8d5uDbOhxKRQbD1kcu/ijGXNSeiBLREliri1WiHDdQS4D2jmph4SmBiaEVerj7a/X7VxY5flBQo+i9Td3XqK/CZ7jQw03gHm2N395dMRNRz17nNQlNFIuJVDAuMMgOBvtelJISPP+afmUj5wxMWhKZq8eslEUeHP4uuAr0hsk5ttTJPaGzAuRvpTtIiqq1u6XbZiqiXtzOx5IuCxmzo7vQ8rXLt/o6HpSe0S0mN6IFSACj3BIOXY/0z6Zzjbl8dNr/9yhoTj/rammHEwFylyWLU9SH/ijV5EJo/SmPiit2hqe++yYRTztmqCTZAUeYtloSFCoh8DToQar8IzFmZw6wSZ1lXunPkVu6sanaa5SjDYkMK5HZD6YIc7sV8q0 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231023)(944501075)(6041268)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:SN1PR0701MB1951; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN1PR0701MB1951; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1951; 4:/slRcIA4XZeMGrnWlclQKv0a9NplPFrgGCn7VT0P0X5T1r+aHFcFvz1bNPbJlGo0PcaabjRS9pbv4aTGFBVByXe+Rh8QWA3lYzRjLY4y86grcdvdt03AP0ZNK+jdFG3sj9r1+7Sn1eoD7w7CTak2S4sdfB/cY0+OFJXmSqBhX95Bi3ZD1Z51udR2Kb0SgFCYpH74oE4569/f+mudF1SF8igDuPH1MsoYZlfLoh/0q+ND8AinW2fAhJbk+w10nsKpOBrW1Wdx24NYw9MArbO0LQ== X-Forefront-PRVS: 05352A48BE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0701MB1951; 23:CpUetjUBGKyRjNMpeyG7tVi9TjPlRfK9xoOsUPm?= =?us-ascii?Q?yyzpqng455rkZHvKYd1A8RdEPq3TQAzgEmar/cPyOSdARGgA1gIbFGOfc2VQ?= =?us-ascii?Q?jEZHtnbdKcChglVM6Cx/hhOll+rbWBPslx7VUVcREKyXayt0sRl009sodr8k?= =?us-ascii?Q?kKJQBIeRmgVAHyIjQn6Cqrm++VJE84cy2pFQcuv7gBfBBpbKMXzVGRv8TMUV?= =?us-ascii?Q?B1ei+2xmZvW2Y/DK78r6YKWoXLoj5fQpVsX1NoNn/Ym8ppkt+LcqLeJs7MgL?= =?us-ascii?Q?ZaGfcnlFBnvn5LtIhWK9aA7frKhXxzZ/lzrrLwYN57iQ2Trp46cVY0CWx/W3?= =?us-ascii?Q?VGOjLDxvS9hG/bcxC8nKV8gV++0ko039jl66qv8z/LUSNYQIZNfvfgiSICtT?= =?us-ascii?Q?EyrGXyG86UHtxKNs0NR6M1buhQCy1vuTXJ41CTmE29DwNubPvWvXCtV8Ugnd?= =?us-ascii?Q?aRVOCZfyXXM+FxGSwfiiMxNdk22Ii5LnyYx7fVNcUogt6S9vzQplAJ2ImIAQ?= =?us-ascii?Q?JlWdo2qofdrnz4pN7a/eVKpPGEhNiFzxk0CLjY2HSOsENfhY3oCId7gO0Nna?= =?us-ascii?Q?F93kax3+0F2qsvKUCb91mXB8Si+9/P9lKtW5n8YrkrWZh2CA/UZsPX4ycnKL?= =?us-ascii?Q?C/rBvo0GoKgJL/IPVGIr3fmtcLFOc0kk+SfLAx/pg4dcbGfKW6R1L/oF06t5?= =?us-ascii?Q?XD4Zc9WsnqqM1ovnzYZxTy0tdmjF20upyWvry/vvts67T8ZNbmmU/wDske1n?= =?us-ascii?Q?FV080XmYUio2Qng/9SKIUL64vXUfEm7Xy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bw+Auqt5hU5dkb002rQi665m8M1tKqwTsLUIq9nWE3RE3mZQZnwLnN79SA7AgrlGVoMR/28yY3bnjjnT56uABUo1NQgWD9zS9kulCdTvOhh19DZneKByn7Fcr1Vg05KClDyZyy6xih2hOwcFvZH4DHLLa8T3kJMEik2Drfl2VWAFZLmYWb4p642xo+eX2OfWKCA3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2017 20:34:02.9661 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b7dcbec-69d9-4860-e35c-08d54e325587 X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1951 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 From: Quinn Tran Add verbose bit for debug messages to reduce excessive log messages Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_target.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index a4783eb11711..786efdb5788a 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -209,7 +209,7 @@ struct scsi_qla_host *qlt_find_host_by_d_id(struct scsi_qla_host *vha, host = btree_lookup32(&vha->hw->tgt.host_map, key); if (!host) - ql_dbg(ql_dbg_tgt_mgt, vha, 0xf005, + ql_dbg(ql_dbg_tgt_mgt + ql_dbg_verbose, vha, 0xf005, "Unable to find host %06x\n", key); return host; @@ -310,17 +310,17 @@ static void qlt_try_to_dequeue_unknown_atios(struct scsi_qla_host *vha, host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); if (host != NULL) { - ql_dbg(ql_dbg_async, vha, 0x502f, + ql_dbg(ql_dbg_async + ql_dbg_verbose, vha, 0x502f, "Requeuing unknown ATIO_TYPE7 %p\n", u); qlt_24xx_atio_pkt(host, &u->atio, ha_locked); } else if (tgt->tgt_stop) { - ql_dbg(ql_dbg_async, vha, 0x503a, + ql_dbg(ql_dbg_async + ql_dbg_verbose, vha, 0x503a, "Freeing unknown %s %p, because tgt is being stopped\n", "ATIO_TYPE7", u); qlt_send_term_exchange(vha->hw->base_qpair, NULL, &u->atio, ha_locked, 0); } else { - ql_dbg(ql_dbg_async, vha, 0x503d, + ql_dbg(ql_dbg_async + ql_dbg_verbose, vha, 0x503d, "Reschedule u %p, vha %p, host %p\n", u, vha, host); if (!queued) { queued = 1;