From patchwork Wed Mar 21 06:09:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10298613 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 B352F600CC for ; Wed, 21 Mar 2018 06:09:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4EEB29716 for ; Wed, 21 Mar 2018 06:09:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99C822971E; Wed, 21 Mar 2018 06:09:53 +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 1434B29716 for ; Wed, 21 Mar 2018 06:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751545AbeCUGJw (ORCPT ); Wed, 21 Mar 2018 02:09:52 -0400 Received: from mail-cys01nam02on0057.outbound.protection.outlook.com ([104.47.37.57]:51792 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751455AbeCUGJs (ORCPT ); Wed, 21 Mar 2018 02:09:48 -0400 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=dsfAxd7f+PHdivMrm8gTFlS0+lGbPD/bGTSEuIAvkLU=; b=bCGtCDFyHsP9zMMA8Zab8H+YB3qAEmpBIWdpgScI56+nwsezrU8J1GXfvkA83eTeiu6ZVFdcIpXpg2e4ONYg5fcqXlG9h4wVPmqPwIeP/qoiLW/WYZqlAxOV12tW2p6zuIR6ty1wZwW8npFdI6oH0+Q9dxxhGMxJAizPtcI+iUo= Received: from SN1PR0701CA0017.namprd07.prod.outlook.com (2a01:111:e400:5173::27) by CY1PR0701MB2089.namprd07.prod.outlook.com (2a01:111:e400:531e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 21 Mar 2018 06:09:47 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::186) by SN1PR0701CA0017.outlook.office365.com (2a01:111:e400:5173::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.609.10 via Frontend Transport; Wed, 21 Mar 2018 06:09:46 +0000 Authentication-Results: spf=fail (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: Fail (protection.outlook.com: domain of cavium.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.527.18 via Frontend Transport; Wed, 21 Mar 2018 06:09:46 +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; Tue, 20 Mar 2018 23:09:42 -0700 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 w2L69g57029507; Tue, 20 Mar 2018 23:09:42 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w2L69g1D029506; Tue, 20 Mar 2018 23:09:42 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH v4 01/13] qla2xxx: Restore ZIO threshold setting Date: Tue, 20 Mar 2018 23:09:29 -0700 Message-ID: <20180321060941.29468-2-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180321060941.29468-1-himanshu.madhani@cavium.com> References: <20180321060941.29468-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)(39860400002)(39380400002)(396003)(346002)(376002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(110136005)(478600001)(186003)(26005)(72206003)(6666003)(2950100002)(50226002)(16586007)(336012)(85426001)(105606002)(106466001)(87636003)(86362001)(81166006)(81156014)(8676002)(42186006)(69596002)(356003)(5660300001)(80596001)(47776003)(8936002)(59450400001)(316002)(50466002)(51416003)(76176011)(36756003)(54906003)(305945005)(1076002)(48376002)(2906002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB2089; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:V3Wx/gnYHLtOw9kTXhRQK0ECmIDeOaIxqNm6l/GJLLfCISSFv/Fs03/k5CDpDU47OqqZm4MEmY+ZkgjqixEjTQOnNV6KQ0AThy5A6gLc2dwMyOBx3c+44RoFKdLUTV2b X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a560ffba-7386-4cba-e100-08d58ef258f0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:CY1PR0701MB2089; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB2089; 3:hsius7bhkESVFBM/L6Qjx6iWBLvMTKcQY4N0/f/pv3G6eT5KU/WcazQtA0BAYErLd4S0ujxYjIfRim+mp77aXi2tbfrpn1dyERVkSodzWyYBbaSRVwuV93DthnTZphhtRppJC+oJa/OrD3dDl3GEPaw/MqSRtNDBjTfZVe2cbLqsNEjEbkBL0UXbnIYYMqzc45VpvpMVpxQPcCTURlIy5rgKLHMx4afEsVPOAJKNQsMeDBSarxSmDu0U8S088nIovav9+uoUjuKfh1J5vT7en2Fe0RS3F5NMLkLcf1D06FsDVqMefLXtEuysMc38CqNqCetUdRfEGvk5TsFq4XobjHG9HfXgysYIKvRYNeN9eY8=; 25:WmX9FccBHs8Y1gUjdjUvfYxWVH6H9ivSmX3s1v9ggPWXmxRF+lgxjCvP/dW8zr6nbGEbVtA8s+CuZl9xjkVui4h5C1lLFW2Bc4cP2FtEh8Zp2taidbJ2Q9RoUGemxhLaXh7B73JNHBD2ybc/lVrEc2tQlHGPWesIUoiwcBOPN4psZymHoq09DFsF1OT0wYm3BplVHWJm8CbTz27ueS9EVMrGqz68mhaYjqmsHbpQE/HPYfSIWL9oOHAd3d5IqhYELIOrkIzJHrG8Fd1YnX/Oqe2lwRWLgODmvbuzAry8FbBEcoVlx8Xgl7V51+e2VyL1wFDd8Z+mliiNVbW/E0WajA== X-MS-TrafficTypeDiagnostic: CY1PR0701MB2089: X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB2089; 31:3OKrxWS+brseWek5qiFlaZSVpTyk9n0zM0PC+57APcxZRCy/NguPVaZUsVumHyxzC3MitkApw6gfFJOGyH79EdyiOeqRPyYLxunaS9IpCxU48+RXtweCCzIfUnG2KAt1COBoqHtBBCsZL55T5f0cobRbXUtgwfSV0Sg19pkKZFJgTOcWZMSdqqQU+QsXJFP4K3E5QM+lEcgkivLi+5Xfbd4mUgo7zB0ldKZxH0UKCwM=; 20:C+qN0HPmB1dNU9nv8+nLR5oDfltnwFZemn1vmBX96Z03Vbvg+LTob9HveB6qtF2aReMakfSHFsjPVHRkxbqY7nszHOimi/q61Ufvl3EuY4LGdwPh0v/3eUUYlaP0jddDN3KZobx9RDPj4mYj8N/ZDbwVdun3onKMx8O4GOoOYzVip2p1fY5Xj3XQCsH7StarOTjKzf1JyfbiblDR3Z2UFVxBvvg8HfIDAkZg0fo5AZNShr8kZRtr19qs/5oZ3P6MYyojfoOKt+kBWau3pSd2qjPuyWW6U3XOgMwk9NYw9x+7wv5TcY14ScDW8x6+TZlUccFipD6JBmh35uIkjw6EllEJfHnBRattomNVDSiDJxkRdBJe+BtnzYlnHHNlWE/4Wtu932u4T03sijohkzb245jlyDx0Dpe15HsXKYJjnOHN0p1pdTQz3g9ZLa/msAt4YQLeOTdFVbO7wkvOGOAE/j30a3JGx83+/vfBfD+6R74YzDf2CeD1JtC6IN4AVeUy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231221)(944501319)(52105095)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:CY1PR0701MB2089; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB2089; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB2089; 4:Y9K7/9HN33Oo6kvRseaOdPBTFvENXqODxVwRjPj99trSrANlUveEvPupjuNgYzesEkYvAiSmh2nKa3ww4ci5/zsgP+o6MbiPRI57BSi/Gz/3Ci6dKOpQW6ybfD9RFeFmjYcHWyTfhkxwJLXQohoUb5xJPC92j/jkM1TgCWU2qm23wtEGSkmKcbdScH5yVDjD1uOvNsY1opDAtUbbX+88F4QTqRxqxGKoX/Q+3/FJJiE8OneUVTnpdpJfQIYW+FZ+PfTPBQEUEu/3WOWRh7SI+Q== X-Forefront-PRVS: 0618E4E7E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB2089; 23:DL8bYHb5A38CPpGtdDV2c1aEZO0NF7TThLom/zw?= =?us-ascii?Q?cL3zphcP3x9hVUn/q+z/ZPC3nPfB7UWT1B7vBhFP/K0UpiSaVP2KgqzTH1Ft?= =?us-ascii?Q?1Ms8BYWb8Wm+FtOP2ETDECQvIndMsjVcdEhjA97SGRSGdwoN8BQ69EVYOujD?= =?us-ascii?Q?urEZi16ZEpspTFKdQJujygnKyxnGXwoy4elIgSSzo9fR41NKP8/85iNhHGco?= =?us-ascii?Q?vCFGexOUs/L3sUYiMcQrifkCivi02xWXPuU4zga1o3MBiP6YLS9HHaNSJ/NC?= =?us-ascii?Q?x/ghJ4Badpp/WqhHWygopqyQOwwhxLP5Tg8BzcPDTC4efbo1W2JNRmsFDR0f?= =?us-ascii?Q?86vTheznyHHRLnEBTjqY0xQ/CsuKD9pb91AkDIJ/zVR8ybgQCY2vLca0LtJs?= =?us-ascii?Q?yb4fhPj8hPldordc4Kh8Cn4OXCqFZgfLE7rzEGuuU3h990BUX6TeKpyz/2K2?= =?us-ascii?Q?wuwiIgIJTnOVbLn9j2E6D+6mCsEfknD1WkQ7J2r8YXoM0DRjVK0IYrwBE0w1?= =?us-ascii?Q?IwcZv1zr2ekOwp2fakHl5AFNTI+ny85TcPUD8CcvzgYU51wJNl1oxKwt5dbb?= =?us-ascii?Q?t2YalaarddnEU+WfaOBidL493utD1AoXaN+yfM8KsqA/LF2eWbiLX4tEde/M?= =?us-ascii?Q?w8VWNNlAZm9pKG0AzI7OLcRJWuuuS23CgU4YTEX0aKEshJWMXfXlSzCFaCME?= =?us-ascii?Q?ellVQtyhzim0qRIpGxKH26fnwgr/z3TYw9in6hIHVPbHSR1n0zjeqas1cpfj?= =?us-ascii?Q?dKs/5zwBePWWvzxQJrojU9rvHnW5HX0f4BF9GTOWr5OAfW3C1fT08TlcoKoV?= =?us-ascii?Q?RJeUwG71MOtc6Q3a2aF/38dDsO0GHOyYd+xsyGHjB9OdABmEtKhjEtHyDspb?= =?us-ascii?Q?lpJ3+uWxUeWiNbxqUr6CiJqLP6BlrSvYOmdpcyf50GFqQ4UVRwEykoUXjBE9?= =?us-ascii?Q?QguIGsamGzK/vXcYVPE7ULDh55wPxhIWb8AedwaQUbnmAYYXfiM0ZnVQTjSk?= =?us-ascii?Q?zrnpCRxcGVbBW2vUY0BE5FGU9vH078uJZZri1YtzAuH2SuoX+eReQ7qaaR6w?= =?us-ascii?Q?Q6ajccA3tGLZhdKXIHKF9ulMPKdUpUsfCkt9eo242A1BlgyAA4+XTdEQxgoP?= =?us-ascii?Q?CLTpBM8WARYs=3D?= X-Microsoft-Antispam-Message-Info: 6LyaU7GNC1Op7huj8Csb4k98pP7Yq+gWBXnAHbSXwPoTKclUiNOaT+8FDdrfYYRF/04IuY+3uXazRkRwUPh28sTtKdFi0/YalRFQ0sFBpf/hoT9KiQOcbtp5pCzIQF30Yd40nGM+8W8cKBi83qcfxgxMgKskWwopEu7oMIaNvIZZsoYTL+pROG0AqUj2bFY+ X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB2089; 6:PkKm7wPc7d+nHjemYuII031QddBiG27UxdTXVyx8vjfVJ1DdtxSBU0BlGEZQaqnik3XWpswEmWBj0l/oSLBk79JL2okeVArW6W7aX5k3diMbZq2QqHdLpORkDWckYdwpCcZaQN73TGgoF9VRzvg6hQ6WwyMFE4b+2v4OC+5tfJcSIHXbD4ynKpuwA4muaM+WyJbu6eW69J7K7LXF6G+/CkT/5AjS6a82mnvo5E9wayQoRxgwaettdmrWgKpQ3Pehy6cAXmzcViW+eZ3ZPPn39bfQiVkIQUOG+kZmEaa6RxEETsfir/B81CTDCGfyr6pNkUZVgqFd4CSXtFfHY9UP0UsEhpYz7XmKyicGCqkMD+Y=; 5:FVu+twlUbzY6bN5UDZeSPEwG9B0C2jOpjH3EP3SmMtTnvwX1oIzWRCVSQ9p5xyFbqD3Lg0xTQZ3hWOKflIeLpN/3hLvZrgT8hS5lVRdNdq137wg2bCo4TBFhSB+g2TopSzRwfojUBYhBowsql9fvhpML38TECgxxt+TiyPwgMJ4=; 24:WsIXJ3rhrjp4SAj8/Y8kBYPxQ1TJ/3OLyMk7kurqwgRudaqrtL+0cm4jz8BX0YmTb1wVBg5cTNv7Q0GJo2sgaXjqRk/sEAi39bQW8+WZ2DM=; 7:mKKY+tuFLb8czDhIxdcusWCJFF9NXm9FlizkC3YK4A5dV8xHCMmwzo5akk2hV1cQm3KwHFiZLlckzi4PJSiLzdz/pF3xU6qzdUwk9l1HC61bnR3jvtWkAFIF9FkM1dlkRZ4/UVIMP6hErS/NnrlUgoVSY+2Im1kdsPRv5kVg78jYNfu1Ak6NR/h34q8cq+bX6vHMyaFX79WPfw0N6h3O5O07O+OZmEPcEGsaLu3y/AaDLaMqABAlBmqqeLpePuV1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2018 06:09:46.4616 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a560ffba-7386-4cba-e100-08d58ef258f0 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: CY1PR0701MB2089 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: Darren Trapp Signed-off-by: Darren Trapp Signed-off-by: Himanshu Madhani Reviewed-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_nvme.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c index 6b33a1f24f56..7a292421a7d7 100644 --- a/drivers/scsi/qla2xxx/qla_nvme.c +++ b/drivers/scsi/qla2xxx/qla_nvme.c @@ -478,11 +478,6 @@ static int qla2x00_start_nvme_mq(srb_t *sp) /* Set chip new ring index. */ WRT_REG_DWORD(req->req_q_in, req->ring_index); - /* Manage unprocessed RIO/ZIO commands in response queue. */ - if (vha->flags.process_response_queue && - rsp->ring_ptr->signature != RESPONSE_PROCESSED) - qla24xx_process_response_queue(vha, rsp); - queuing_error: spin_unlock_irqrestore(&qpair->qp_lock, flags); return rval;