From patchwork Wed Jun 7 21:43:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 9772933 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 D76B760350 for ; Wed, 7 Jun 2017 21:44:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E64172847A for ; Wed, 7 Jun 2017 21:44:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAB61284F6; Wed, 7 Jun 2017 21:44:24 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 19EE02847A for ; Wed, 7 Jun 2017 21:44:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751644AbdFGVoV (ORCPT ); Wed, 7 Jun 2017 17:44:21 -0400 Received: from mail-by2nam01on0060.outbound.protection.outlook.com ([104.47.34.60]:51779 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751694AbdFGVoF (ORCPT ); Wed, 7 Jun 2017 17:44:05 -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=2nwACcfsJePvr7WhEXIW8OLmk6u/327/aZgujfw5m1A=; b=oXylKmMfv3hxgBcKTI0lmCrbR3hwkRcWJyB0Vln+9s6B6G1Dku9UiS3V13pgfR4hwmJ/z19V0ZQpJw2ut+jkrZRjT0EQnvezyqP7WOjoaz+ff0swsnrlGaYuWpDEikMy+NhegzkeYViAzfM9YtJMfZTWIU+/TzBzgQTgpM0wuJs= Received: from BY2PR07CA0092.namprd07.prod.outlook.com (10.166.107.45) by CO2PR0701MB1013.namprd07.prod.outlook.com (10.160.10.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Wed, 7 Jun 2017 21:44:00 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::162) by BY2PR07CA0092.outlook.office365.com (2a01:111:e400:7bff::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Wed, 7 Jun 2017 21:44:00 +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 BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1101.12 via Frontend Transport; Wed, 7 Jun 2017 21:43:59 +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; Wed, 7 Jun 2017 14:43:41 -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 v57Lhfe3023189; Wed, 7 Jun 2017 14:43:41 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v57Lhfxv023188; Wed, 7 Jun 2017 14:43:41 -0700 From: Himanshu Madhani To: , CC: , Subject: [PATCH 11/15] qla2xxx: Remove unused tgt_enable_64bit_addr flag Date: Wed, 7 Jun 2017 14:43:29 -0700 Message-ID: <20170607214333.23110-12-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170607214333.23110-1-himanshu.madhani@cavium.com> References: <20170607214333.23110-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)(39400400002)(39840400002)(39850400002)(39450400003)(39410400002)(2980300002)(428002)(199003)(189002)(9170700003)(5660300001)(4326008)(50986999)(305945005)(76176999)(50466002)(38730400002)(107886003)(478600001)(72206003)(87636003)(33646002)(54906002)(101416001)(8936002)(189998001)(106466001)(48376002)(80596001)(1076002)(356003)(36756003)(5003940100001)(42186005)(105586002)(2906002)(50226002)(47776003)(81166006)(2950100002)(8676002)(6666003)(86362001)(15760500002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0701MB1013; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:xuy7ENPAmFDHnjny2pUizEcjeVq1O+FqcZey94FPVG7AYVmiWopw42lapLR1WL9CZB6hkSjfrUhaz0yXfk2PUo7/GWHLxCqNooFGrVAGE3isHkRsAqoOZ04mTFUQl7insLO06UYGCAuLgZKcKHBcsw0vlz18wQ2+iC2n7HldiFepd8jG5N/+Fs0aC4c47WV9v8gncmBQ7l9JqTxkLmWpUbYQBK7EobxWG5ikVR7VxA+DL87ajevOAWGm+FhgKPlogpzl6TrxcA0Y1Mhqj0+uYZoQypfEEerEjB4fTyhYwGvVOqZe+Tb5XmEp3GXxsxJ2srNGgQffWEff7LjWc6iBq8x5QYX2YDdF+YHKL6PBz63l+0Fs+8wGMpIQoIpHTlCM0h3oAlMRX66S7BGHkL8ztXTccrH+SMOl0vbtFWT6RHnAMZiuSmmnlbW5mnlU1wjw48P0sFpxl6FpKEmHifdrlF1XHWMdfOjFD/ich0XCnCze/thMVbL65YtTw2of7j2U X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO2PR0701MB1013: X-MS-Office365-Filtering-Correlation-Id: d5f11359-ed5d-4d7b-bb23-08d4adee4ed7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CO2PR0701MB1013; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1013; 3:GgihSM0R1KS+QXMZauDpfxbDcV8O2srntZGFn4EOwiFQpPhNxpcMHTRIUqbptyrpUTNiVFDmG4ACTv4oHkN28BbyW4sTckTaT8bKZnPTl0JZWtqVMDAEeJadaZ7tg2LpbTbsQtW8URG3M1X8xtfkKPcRMD7Z9nDpcI+AucfUxE+yf9YMTqryi6tmbS7lpkyvgchxAzRC1Slu2qb+uuPZxuEUyIF/TXTl6vfGtP5WSDeoIXyvVMK7g/7MfRyGxEPkbaOfrTtHkzVzESlGPRj06uGDX5qBZDWtUb8nttRlK/mpSrGvBVZainwlo/AwTM2yrjROlhXiMtbFr3F9ExduDIuzjZlwp6Hpp2Rkv8+NZUetJS1OZa88ZK6HUwaFR1MCbBKwzfT16nmb6BZysExk8UVZJeZq0yxkVSFA10sznuBIqEmXu0FjYfc+zGuKWUKKzFYXqB3drgt/etORxFNv8w== X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1013; 25:hw+ESamf5tf+7c4n3bzwIq01Tl7ew/E4/z0xIGzyl+4P3C69j9gsGErvM1dPm3wq/0sQ/1P/1nsmcrn2meZwQVlDbCdtiNr6YObTk2GOMoviZSLP6ibHOLNsoCpct5WDgh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9T7QAG0bT0CSpBH0+M/lLd4OTeUcd8FB7HOxWtRhfIp1+Sq8PmUWNn0r/3oSn02BYlHS+y6/Ilqdh5+O/9z19BLoAXDIthKra8F+9l 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)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR0701MB1013; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR0701MB1013; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0701MB1013; 4:dQCo3xa+zQNNr8Y5xDQ5wuzhXtOLIU5Uc+xvoGZ8?= =?us-ascii?Q?N6gFESPr9WcmtiYWT/pG1spgeNpflt3a7nEpSbcEgYDDRhWeLsHLzs4dWBM5?= =?us-ascii?Q?PgAaljUfLUIzwNwOnrHmkWAYLVf8XoNRtLpUJor3J7aR15vGEuHy7JutOhX4?= =?us-ascii?Q?SXB3poWXlkHxLf6egd4jjn/gwki6Bg4au9b4+sSj9sPNKt4jYmaUT57mtsKZ?= =?us-ascii?Q?mLvPPu/mR7JoxT+clbRSlwg8Y7vRvWZilxCUmoif5GcNkMXI/gVyBb9Fm4pw?= =?us-ascii?Q?45mgDUcNIYGeZ2PHA2oW5XaoUnT6OxTBj8E1zZzkLhJD6PjDxDaN+IejRPuG?= =?us-ascii?Q?gGu/lYCzE6F3ur9/tlOtxDnouJY78SIixjFBgKk3NnAQEmQ1vlE3TF8wSmze?= =?us-ascii?Q?boUQ0iMyx9oqfsUJcS7PScf857MXQbMj5+7pO2dl/j5IFxSY/6tblhfUKIvy?= =?us-ascii?Q?0nlL+RShLQeDFiFRD6K7Hl4QVav119FpzXmCbecwNuP8zJud72xjuTB96JXn?= =?us-ascii?Q?I6ywHHZ2++KpW5q3W7uysatXkNYpMlJU89unTwqeLXjSuM+xf6wg7pAWzL0O?= =?us-ascii?Q?WSSDtwtUmUQ3edKd7oZX85qfZQeUhQvX4ItH3teFYVidzGaRlyryDV+22x6A?= =?us-ascii?Q?gCEJ/KYdQzYFOUnJwAvYenP1GkZYYxxDrt8nxiQYVm84yF1VmRZI0bJBjV3m?= =?us-ascii?Q?hAlBZpx8yTBdaHTWaWLh1lWekGquTgA4b29IkB19xeCS+hBVfedTpbpYFW2h?= =?us-ascii?Q?4hqSIM7Hx+4LTSuXhQ3GFvSTKwMsbeVJfD+PW+WOLDH4HLNJL5ODCt7JJUQT?= =?us-ascii?Q?SrczyNifQupM244j9Nx1+m8h28XmMWDtBypiAhKGgwPPRCReT/wb8ReFQS7e?= =?us-ascii?Q?n6PI/drwqcofDDfTjKgzT+01vF0aNqvfRSinmBD/IHX4uGNpEkYQ4TsNWmhk?= =?us-ascii?Q?dBqtAtdTRZvv7R5GNIlZrGl38Y73JuJ0eHIOAPmWQhExwq3eVX7HoqyoiAKS?= =?us-ascii?Q?VlL88Nr5DXuVN652Y2CZEpwrAfjl7UK8wE3G0YgOw+DBrmiH5Fr6ulSckImq?= =?us-ascii?Q?1iQEggGAhuEwYpscYiWILqOHfYhm8pXIwVplOzJ59tYRM99dQbAZgZ0NYRK/?= =?us-ascii?Q?PKYilJf6Qx5KJld7B67Puad+oxnPksIN4ehYL+Ni14yau7UK0snapDGiH2Q/?= =?us-ascii?Q?WuWVmBvFaM5n6Rw=3D?= X-Forefront-PRVS: 03319F6FEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0701MB1013; 23:PoiYg4SUQUiuF3hkBpWydCuVc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qa+AxYgAGRckAUgG8cTcnZBq3537fMQpenNRyBsEEz5tEEHsOni2of0txKJlS5f0cILhjRgh3+Pb3VsT/TUqbnRNfv+Ni585Dln3mhJg+NkuxkU31N/lSLXhUcFpUkcH+6C+jsAer8vOXsxOoq4A90raC8JU5oSXy513QOfqN0Z4jVYbmb52rw81QIPPdO0yzfOWj/4MXEX6zcOvV/h+BMg4SxzDLad7iL4vMWjANC4759mV3fxEU+9YCqLKXIF4MX7Davgasd5ijldSyAhgVyIBwSisZ0yGjoEz7C4fC8rtpU38g7GaS/5afd5HfGK1Hh4dFWA684g5L+l5EZj00rNwIY12G/5Th1nncFqGoGxpUNsE7; 24:RAcqrvjOHRMK5fLFy7vK6LEk3ZpkNB9yM3rDuszyvel18pthbtotU4bTgjpQRFPKPfe0t9Sazh2pts3IMt05shglr1Omn3fe04KoBBPWpgk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR0701MB1013; 7:1T3jwxmL4VOhdS3Z/wEE6wDrDGclybfXFhK1Fmy1H0T5OsUYaNISIBv8dssydTCGa13JS7gxRNqjG11TWFfny9swgYdqumPdxBafa8GCr1Z0WAYq1s7mYcipgP7dfSV7EfyrOf1eSESiVdleOLFZH9nRytY8FOVyGRoy5tmPK7e9BRpEKfyueW7heUSeMLQinXlUTb7LA4bthMj+Vh03JLpsSGDWXBlRHapsH0FVvTt/WpF/58x3b8s+qVtoWiq15fnbKD1h9HyvNs49+nBEg4d4bHx3QkGYJ9rT2kJgxt1yoGb9F/mpZOmvQJZIzDg2mZZN91QI0fQFKIGUhMA5+w== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 21:43:59.9233 (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: CO2PR0701MB1013 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@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; /*