From patchwork Wed Jun 14 03:47:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 9785249 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 87C3A6038E for ; Wed, 14 Jun 2017 03:48:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 991522858D for ; Wed, 14 Jun 2017 03:48:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D98028589; Wed, 14 Jun 2017 03:48:31 +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=unavailable 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 10B0428294 for ; Wed, 14 Jun 2017 03:48:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754107AbdFNDsX (ORCPT ); Tue, 13 Jun 2017 23:48:23 -0400 Received: from mail-sn1nam01on0056.outbound.protection.outlook.com ([104.47.32.56]:8096 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754199AbdFNDsQ (ORCPT ); Tue, 13 Jun 2017 23:48:16 -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=YOvsfwdncWn8U9Z64ZXy1SqSAfeNebqdaRe77GHfUbU=; b=FNWFS+nhq67SYCwV1q99MCj5dLNh7DfmGoBUO6VQgrcQ0QM16MRP/GZ0+cdPhhzCZCBMQkUzDmiEX98C1NOzetaLxKgb4Ix2k7UqbuYSKFuFC6AslPeamW/6GjJpAdoB+lTPHS7GAvEm3k0n6QHj3xLo8ajgCSlsbR5ysto1nHw= Received: from DM5PR07CA0031.namprd07.prod.outlook.com (10.168.109.17) by CO2PR0701MB1015.namprd07.prod.outlook.com (10.160.10.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Wed, 14 Jun 2017 03:48:12 +0000 Received: from BY2FFO11FD018.protection.gbl (2a01:111:f400:7c0c::104) by DM5PR07CA0031.outlook.office365.com (2603:10b6:3:16::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Wed, 14 Jun 2017 03:48:12 +0000 Authentication-Results: spf=none (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: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD018.mail.protection.outlook.com (10.1.14.106) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1143.11 via Frontend Transport; Wed, 14 Jun 2017 03:48:11 +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, 13 Jun 2017 20:47:57 -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 v5E3lvB4015507; Tue, 13 Jun 2017 20:47:57 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v5E3lvaG015506; Tue, 13 Jun 2017 20:47:57 -0700 From: Himanshu Madhani To: , CC: , , Subject: [PATCH v2 11/15] qla2xxx: Remove unused tgt_enable_64bit_addr flag Date: Tue, 13 Jun 2017 20:47:26 -0700 Message-ID: <20170614034730.15428-12-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170614034730.15428-1-himanshu.madhani@cavium.com> References: <20170614034730.15428-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)(6009001)(39410400002)(39850400002)(39400400002)(39450400003)(39840400002)(2980300002)(428002)(189002)(199003)(9170700003)(5003940100001)(2906002)(72206003)(87636003)(478600001)(47776003)(105586002)(81166006)(54906002)(8676002)(80596001)(106466001)(189998001)(42186005)(48376002)(38730400002)(2950100002)(6666003)(33646002)(50986999)(50466002)(86362001)(356003)(50226002)(4326008)(305945005)(5660300001)(1076002)(36756003)(8936002)(101416001)(76176999)(15760500002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0701MB1015; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD018; 1:DjVeCVINgHepuR+lFn3R8Zl5FxOIZ3P5QZTkYXQlCwoAcBRek1gXezYtvP5STbxYjIXCijVs99u0Lx+bRPOFhHRdcSJWXeen+q5KY70/c7sAxNCZamzxfVibGiAMoKKhebaQCT/cZSqRffUIidF0/dSWG5XvxVyitUtVBC3AqbUGeNZ/A+jEBt9TNXFhhoyrTE9DY45pEJG/Ho236MW1c41OmdzmQ4b42wXaELQHrq9E/jcq5YqVxdPai/FM3GcfSiasZ41RATGXXN7fCZdE5HguNX1RIedx8mCiUjJBIJlk9S0N9IKrfQeh6LKaAUaLhTI/0ymFiSuzlo92/VCODyN3w2mHAOZo49/KjslLkojybZY+pSfTGotrwfI0CH6GLvLDSpLlJVg++d3K5guypahQ1f8NLCzF8nv4LKjxDLhdT7l+9swthrSrHU/ByJ/IdPpcU1lWe/Ncf+Dsu6eQUGRzl/OZkKc7rpMXL/FiBsetKHr0Afzp4iYgB+L5KLnFt0neUYZcCNwWNGvVsoH+sA== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO2PR0701MB1015: X-MS-Office365-Filtering-Correlation-Id: 9f8557f6-af7e-4d0b-9048-08d4b2d82df9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CO2PR0701MB1015; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1015; 3:m5RsLOh1uGHA3Wt2bDncn+/BJqE2vprBvxY9rCojHAVwDyIoiIVYbmtl45NhWUA1wkvka2T81Gd4Q5OaVdxDQi5qPkiNc7709p3OP3Gm6xwGwAYVnQSg1FyKKVDnpl8AFPKHughuwxNSurM++KlsUrLrjHIwj8IMpgluE9wFvuFu/RNYZk4INspVkuMe8TDG41cGvNfq2weNfBgXn69AYp1cv6/0qyqYzwuCa7gB6IzqWct/NCS2sTvHDuvnuoWLw32q7Inu6hQ9kk4eCIkyRqWGWtLEW7RShIuT+A7/JCb76PXnXY5o6+lJGx8NKol873J0AZKserhcS9zundO93huvHDBIezl/sqya6GqGsrTZcu5gTneLr8/ZTyV1hYB3m1TSuymddabrP/5s4KrUfexkTl1Ikb7sOt3w/majimuKY7gsu5sGeS4PviWRF1g1Tyy32ZudHqcwHWxiC8MBgpWeH7KrF5YK9J+H18eZr35q3AJx/hmXtD576M7kntt8 X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1015; 25:wesy1+YbCXUZGk+eBhIOYDumDDwqquMakLu9pOZnKB/PoFT/axZqsaHR8fLnPUzx+0dAIs42RF5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kZlu6U2B0hDxMBCMGJIH6Bg0zotPdellRhPbhcLwyjm7SuR5Uf9C1XxGDAHs3F3gLDZ/ZU30R4eGaftKRUqJxVYFKfthc48AGTyx8qR71fIerCuo9pWGOsOWWI5/cV32qgfjXe2DXjyo0imv6lJp1/vJbyGAuihL1kzgw+R X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR0701MB1015; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR0701MB1015; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0701MB1015; 4:4hxm6v90eg1lYhoGyhE3mIT5978X5HdtV+MmaSuf?= =?us-ascii?Q?tU66Ef2DcM0qvgWQP/60MWv/nFqpFXwMJQB1UnHkm8Pyn1xULs2vMPhrWTII?= =?us-ascii?Q?V+kEfoPjh6/Le8q13ynFNTLE5d/g+qb+aFY0xNazIfJXhbSDUc94AlocG9Ue?= =?us-ascii?Q?1lsljhUQQpC3GUSPYvfVeeuWF6OfycLHi2XmW/k++K97lInHNeWZcq9XV1JB?= =?us-ascii?Q?OnrIcqdqg6CioOmsInO5P9PgqiWo0IDxa+IYG0cBBEurv2DsM6awrQNCyrXp?= =?us-ascii?Q?5m925lMg8OnPbfR57PzWu3Uw5UgAiz+OipN+HMoxJv5IpSj8HTzU5Fqq5Dhi?= =?us-ascii?Q?Gfyka8UQcYOm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bUZxdxhR5HXHQ6Z1gGSaAIROCvP79IIUw8kA4LOqMIYfSiY6sOJQzx2?= =?us-ascii?Q?lRj77awQLep2PEZZ6h+UJjr/Ci0d3GRtUSO6OB803uaXFITtLlczHFWZGy1d?= =?us-ascii?Q?2ur2KFetcuQuFJhU5my1XLwvc9Jaq5XqCdzu9Oh0MpxNf8KIfOh4KErlT07m?= =?us-ascii?Q?JKYxRyodv2aNNVPb38eBKg1+RhphZI6ro6at9cEVyfq4/nwjqfdc41tSCxts?= =?us-ascii?Q?9AkvInV/aBzFFFekKGBpcMmprg2wIFOqkc4Xjy06E2YtmLf9DFGapRzR3GVJ?= =?us-ascii?Q?fRvujalXMe1E=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1015; 6:8lqlMIm36eBJNpqdzWySVwIs7ufMg0Ccgz1qDPjBDksHwvWl2eXpGriWh67YUPpfqNJXhn/M3iSFcqqgqIPuzdi18nqp068/CUSxKCJImDhIx8aC0/BimkQae5iLeLV3kd2PAteFR1Hc6rBY1kz1Ba9WVElssoRQzzBYCIiauJHNURls4EaYmeNCJwqeJb+sSyW4qy5py+R6tzehX7QnYLcKSQhrq1vocTdB8kXrBTu35eiLFgbSffX6sCw5fo4YI5e96Y/3e//YEzCmpcACp2cebqdzkDsj/yuWkyk4h7eZK8rgMjA5XRAE2MjbtbT8Qn1uDOQ1/jGiTXGMTUVfy9F5KAmzaiLIelWsiuneoMRS1mDvMl0LKdHn5a7jXhl56y5AEM89IcuKMNiQWFDANXMcmQxxWqGxgNBcHW9pb58Sr1FzyEUn9+LTlsi2VTv4POX+FqD9/Vz7+j4a6yiTO3q8EnK56Y9DT5A83Yzf4yPDYoNmTMrrhAllmAcKuI0RuOfjomxzPak2sW1hZH9R4A== X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1015; 5:dh0tQd9661FF79gEO/xf9oNavczGkL7Vfg/9kGYfqyN2h/C0ykcJkD2u8TRq/mHxaafMYBPdjSKMXIaF90X8kl/dgFBf8eUJ/DW0L44arSyVaz0a5rVwkss3OWkh/MnDkosYwIYZBZCtr9RVYnqSCtH5U9alZfu65f31poA+AqEaOGwg6X/Fwo5nvnRvvGkteiftqWkyvOeGKHSjE/IqlJj76POiKg6yaCSsMsufyqmFmgsiWrvELExPwDwcYCJSiDYr95qWkYTmeVl+tfUk4GPNiaAEAAtwy6EulKd/b2mZBHkLwKTiRsnAZYlu38JwhFd+PKZd+ijKRca8WogNg2z2HcCejbFj9YWZ2Rn13wxTdQNCc0AYQbvI6TXTlaGouLSBfhiLcF8RPxoqcqfkwupSmf1NT/u2qXMrYhgsz9Tk+hi0LSac+yVgXp0QRCTrbVDyF+oPuEFmo3LW/OBUnJTjEZt2OCCpvJI+NBIbaxR+TXIPLJgrx9Hbq0ymDFxC; 24:BzZGP1J7T4huQtLzET1/K0WGjG70yx+QfEQNBy3JRvLnjGCgJVjUcJi6hsLtD/TxJLes4B2Ziya68kCdof3vZ4su6f5D+cpS+AKDvJCYG00= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1015; 7:S5uXI4aif7aeFjVki6/iSDwlDaRTDp9dGmBkC6p6ktg+xOA9nMHnMd+wdHEMJkre1+UD3ObWa5ispxPFJ5ZJQD7i/pPGf68E9UVf2TDgYPhrxiqyp05KY2lICGm02iiEu8sRBWmW4KIEWDgdI9WHBBar6M+sqYqJkSRshnKmrYafX5A0s2dZNzeWwE2qVpMqFn8wxW2sc/rhFpBatBxQ4ep0/JYQ6aaeob+oh0CsC+Pt1bgoiIszLzrRHlBHLVIRjbQaXb2CloRemxg3V2KnZBzpGmXEx+dJkwzj3d2xVKSaEWygmNlm2TNe0TQ38HP+bxPt4/BG+3WUpYrtzVoYUg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2017 03:48:11.8064 (UTC) 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: CO2PR0701MB1015 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 By default this flag is forced to true. Remove this flag and unneccessary check for this flag. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_target.c | 44 ++++++++++++--------------------------- drivers/scsi/qla2xxx/qla_target.h | 1 - 2 files changed, 13 insertions(+), 32 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 84be2b48246f..411c1799c6e3 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -2420,12 +2420,10 @@ static int qlt_24xx_build_ctio_pkt(struct qla_qpair *qpair, * ha->hardware_lock supposed to be held on entry. We have already made sure * that there is sufficient amount of request entries to not drop it. */ -static void qlt_load_cont_data_segments(struct qla_tgt_prm *prm, - struct scsi_qla_host *vha) +static void qlt_load_cont_data_segments(struct qla_tgt_prm *prm) { int cnt; uint32_t *dword_ptr; - int enable_64bit_addressing = prm->tgt->tgt_enable_64bit_addr; /* Build continuation packets */ while (prm->seg_cnt > 0) { @@ -2445,16 +2443,8 @@ static void qlt_load_cont_data_segments(struct qla_tgt_prm *prm, cont_pkt64->entry_count = 1; cont_pkt64->sys_define = 0; - if (enable_64bit_addressing) { - cont_pkt64->entry_type = CONTINUE_A64_TYPE; - dword_ptr = - (uint32_t *)&cont_pkt64->dseg_0_address; - } else { - cont_pkt64->entry_type = CONTINUE_TYPE; - dword_ptr = - (uint32_t *)&((cont_entry_t *) - cont_pkt64)->dseg_0_address; - } + cont_pkt64->entry_type = CONTINUE_A64_TYPE; + dword_ptr = (uint32_t *)&cont_pkt64->dseg_0_address; /* Load continuation entry data segments */ for (cnt = 0; @@ -2463,12 +2453,8 @@ static void qlt_load_cont_data_segments(struct qla_tgt_prm *prm, *dword_ptr++ = cpu_to_le32(pci_dma_lo32 (sg_dma_address(prm->sg))); - if (enable_64bit_addressing) { - *dword_ptr++ = - cpu_to_le32(pci_dma_hi32 - (sg_dma_address - (prm->sg))); - } + *dword_ptr++ = cpu_to_le32(pci_dma_hi32 + (sg_dma_address(prm->sg))); *dword_ptr++ = cpu_to_le32(sg_dma_len(prm->sg)); prm->sg = sg_next(prm->sg); @@ -2480,12 +2466,10 @@ static void qlt_load_cont_data_segments(struct qla_tgt_prm *prm, * ha->hardware_lock supposed to be held on entry. We have already made sure * that there is sufficient amount of request entries to not drop it. */ -static void qlt_load_data_segments(struct qla_tgt_prm *prm, - struct scsi_qla_host *vha) +static void qlt_load_data_segments(struct qla_tgt_prm *prm) { int cnt; uint32_t *dword_ptr; - int enable_64bit_addressing = prm->tgt->tgt_enable_64bit_addr; struct ctio7_to_24xx *pkt24 = (struct ctio7_to_24xx *)prm->pkt; pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); @@ -2512,17 +2496,16 @@ static void qlt_load_data_segments(struct qla_tgt_prm *prm, cnt++, prm->seg_cnt--) { *dword_ptr++ = cpu_to_le32(pci_dma_lo32(sg_dma_address(prm->sg))); - if (enable_64bit_addressing) { - *dword_ptr++ = - cpu_to_le32(pci_dma_hi32( - sg_dma_address(prm->sg))); - } + + *dword_ptr++ = cpu_to_le32(pci_dma_hi32( + sg_dma_address(prm->sg))); + *dword_ptr++ = cpu_to_le32(sg_dma_len(prm->sg)); prm->sg = sg_next(prm->sg); } - qlt_load_cont_data_segments(prm, vha); + qlt_load_cont_data_segments(prm); } static inline int qlt_has_data(struct qla_tgt_cmd *cmd) @@ -3136,7 +3119,7 @@ int qlt_xmit_response(struct qla_tgt_cmd *cmd, int xmit_type, CTIO7_FLAGS_STATUS_MODE_0); if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) - qlt_load_data_segments(&prm, vha); + qlt_load_data_segments(&prm); if (prm.add_status_pkt == 0) { if (xmit_type & QLA_TGT_XMIT_STATUS) { @@ -3272,7 +3255,7 @@ int qlt_rdy_to_xfer(struct qla_tgt_cmd *cmd) CTIO7_FLAGS_STATUS_MODE_0); if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) - qlt_load_data_segments(&prm, vha); + qlt_load_data_segments(&prm); cmd->state = QLA_TGT_STATE_NEED_DATA; cmd->cmd_sent_to_fw = 1; @@ -6185,7 +6168,6 @@ int qlt_add_target(struct qla_hw_data *ha, struct scsi_qla_host *base_vha) ql_dbg(ql_dbg_tgt, base_vha, 0xe067, "qla_target(%d): using 64 Bit PCI addressing", base_vha->vp_idx); - tgt->tgt_enable_64bit_addr = 1; /* 3 is reserved */ tgt->sg_tablesize = QLA_TGT_MAX_SG_24XX(base_vha->req->length - 3); tgt->datasegs_per_cmd = QLA_TGT_DATASEGS_PER_CMD_24XX; diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h index bb8f73a86b2b..902685f85506 100644 --- a/drivers/scsi/qla2xxx/qla_target.h +++ b/drivers/scsi/qla2xxx/qla_target.h @@ -809,7 +809,6 @@ struct qla_tgt { int datasegs_per_cmd, datasegs_per_cont, sg_tablesize; /* Target's flags, serialized by pha->hardware_lock */ - unsigned int tgt_enable_64bit_addr:1; /* 64-bits PCI addr enabled */ unsigned int link_reinit_iocb_pending:1; /*