From patchwork Fri Dec 21 17:33:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Madhani X-Patchwork-Id: 10740771 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA67A14E2 for ; Fri, 21 Dec 2018 17:35:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7182284CE for ; Fri, 21 Dec 2018 17:35:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB12B285CD; Fri, 21 Dec 2018 17:35:06 +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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI 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 BBA60284CE for ; Fri, 21 Dec 2018 17:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732977AbeLURex (ORCPT ); Fri, 21 Dec 2018 12:34:53 -0500 Received: from mail-eopbgr810088.outbound.protection.outlook.com ([40.107.81.88]:29312 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730364AbeLURew (ORCPT ); Fri, 21 Dec 2018 12:34:52 -0500 Received: from BYAPR07CA0086.namprd07.prod.outlook.com (2603:10b6:a03:12b::27) by BYAPR07MB4375.namprd07.prod.outlook.com (2603:10b6:a02:c0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 21 Dec 2018 17:34:49 +0000 Received: from DM3NAM05FT064.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::209) by BYAPR07CA0086.outlook.office365.com (2603:10b6:a03:12b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1446.17 via Frontend Transport; Fri, 21 Dec 2018 17:34:49 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by DM3NAM05FT064.mail.protection.outlook.com (10.152.98.188) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1471.7 via Frontend Transport; Fri, 21 Dec 2018 17:34:48 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Fri, 21 Dec 2018 09:33:46 -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 wBLHXjtY015641; Fri, 21 Dec 2018 09:33:45 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id wBLHXjP3015640; Fri, 21 Dec 2018 09:33:45 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 0/2] qla2xxx: Updates for driver Date: Fri, 21 Dec 2018 09:33:43 -0800 Message-ID: <20181221173345.15606-1-hmadhani@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131898872892678800;(abac79dc-c90b-41ba-8033-08d666125e47);(abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(26005)(47776003)(80596001)(97736004)(356004)(50466002)(69596002)(36756003)(8936002)(26826003)(2906002)(5660300001)(51416003)(48376002)(86362001)(498600001)(81166006)(8676002)(81156014)(87636003)(4326008)(42186006)(54906003)(110136005)(1076003)(68736007)(50226002)(106466001)(85426001)(305945005)(476003)(126002)(2616005)(53936002)(336012)(16586007)(486006)(36906005)(105606002)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB4375;H:CAEXCH02.caveonetworks.com;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM05FT064;1:vSOn0yj6x+dub13X1GG4JAeDO4xlqRSZ32HlsDxl3K0QsiNRuKQN3txev+6ni66hZe9871UK8f1dpZWLK7DW0VkpWjGC5EL6ramAlXdZT5ngqULgfQaDkAZkWwjopERr X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5022c3ce-3f4a-4e47-9464-08d6676a9b73 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(5600074)(711020)(2017052603328);SRVR:BYAPR07MB4375; X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4375;3:Uxg418SxAKk0t/7MEjWyz+rnHX+9cp53+elXAZj9hzi1xJNowXvz8/iyxdzKRhz/dfigV/HNpoWRZ7/xWR5aAoAZRqpJ35TF/jXue+WiHxzaVImMLnur3BchfTYs5J1opy6W0rCK7rfJKJh3Gk2tUCfzFb6WwXotrV5Gc6XE32r78dVwiZEGpzpp6/4myY3zlq3ZUboSCTlyvuAPN2dl35WvmBBd8yoUNuk2VSpL8IlwKjbuDaxmEQJ5n5vDTzCgOsaYUyEqIGd0l2VcoSkansF+vfRt3Zgx7HuicTqxFHaTklxyHrYsaLv52ekS54tJrACO6ZSf8ovJ6kNWybYPS/zSLVbghXP5XCANG0cg0ZY=;25:IWQEFQE2sMGhWwkbm28cI/g6zbT1V77uYvdmnxjkPKb/ZRQHEhakO8uMUsQsQOeLPProPZSQPL8vcvY1ER5lX1GEpgwoW+OIVCt/K4KCmPCDN6golF7ST3NQTmufB/UcRtQLZBKSdBGStijIAi3uQstKByi9Sb5Az44Gd4j6F6t2R7oJ6XBaq0efc8/M6UC8k/aWU0FgbZRcej/mP9J81kmMSvUwLEEz8SCXSAT0Bv4icVO5h+z1h1PoRoqufpP49QMQbFPCN89RNpyaj33AaKhobGvgywoAnASDygvq0k6WKbzBfH6V6J/60KfNHkhVpdYeVKD9ZZMGNMjjbnHSaQ== X-MS-TrafficTypeDiagnostic: BYAPR07MB4375: X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4375;31:1obM7PFRjSbGa8lLH1pejs8+izRBB/t7CJWdcO711IIKZdjfvJEfUIlaU4BjBPK4O1315U/5RvoSmxtU1iMAHT5hDeJrGStyt49tIERf2gpMvYINi6/6L7Nsq4YdgyMGcM6TPONpNAzHcmA0p9wVQ5yXqrCgjdrmqCutesV9XaY7M5Mrq/DUysCukv+WXcSJ7GzShLU4+Eho3IjbYwS9ZTGRREPpD6yAJK2BJSzvo1E=;4:FJIyWvdkT+qnFofG9vBHmALdN3b7NA2TBXIypYZ6t39eba5N7ZEjJzZyGzsnwKPSFlBS6GVVgDVdwdQIQWmpVDlylsxn2CaydoWaJvx7Oi9hzkHiSKTAUECHczdqLg35XU7AVubZ+Tf2QYouzAMX7DMlO2rGH8lb8Ajgxj6BvUq/tDKvaoiaWYhM327vus52syw3zuUdfsZ3TowMQBTpW8i5VCj7M2iwXU8zXi89YjdqGY5kkhWWkbA7J/571OTS3xP37HAqLBjb+DkeVPeDrw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(3230021)(999002)(5005026)(6095135)(2401047)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123556025)(20161123563025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123561025)(201708071742011)(7699051)(76991095);SRVR:BYAPR07MB4375;BCL:0;PCL:0;RULEID:(400006);SRVR:BYAPR07MB4375; X-Forefront-PRVS: 0893636978 X-Microsoft-Exchange-Diagnostics: 1;BYAPR07MB4375;23:/Wxn3jLjSJCW6hDL2tpMVSj3Nb2ih9TUgQoG+5tZHes117nc67URorB1H71Bp7BhfH3KoSA/2etrpwWUxqJxeTo/u3QvbXDGgXEWCHG7Qp2db3EYlH5l+uJfSUUuH0BWBuYSUshC2W955YK04hjq5KPJfsXkCyhmtX3PDN9MzGqy0UP6zlVrDbzq9pqqOC0zThoTufN30PjF3c/GqFkBizqEohzRlU0Wb6aFSJX5ph2WqDCPRkhGQ67MR39b/+RBtg54YIxq1ievxwmF6GZ0W1dOL98ca4XeBfrixEmSslAPl+Ax0Nicjdb3cA8CWiUjvvrsa2G3rek1Uhw+yypW49LJQQR+TgM+sTyzk86ED+Y0raSorT6qsxHCdEtP8uEMTUIb6GCgkB+2vYXOdfEhYx9FGa14h6EN94jkn0tDb5p7/nYKwccrOgnVhC/FqyJxEQvTYt36yZdmAqFBiWpRRktRy1p64wISMpE76Hkd1gEwz5kkjWs6v+rN+CK39sY4mfC7nMjMS9aRq/4CWiXsybVdZCzQdjzDg8WrsunjlkunmydPNuZwj4xZm85ni4OIbxar8qEdSkkAylOfhHcEBrwElxVmY0qsTgMCgAXn7aLE6u+zMUl4iuLnMXkHVH2LroLFrdTIW67aQjPfXE+S4fuqtoQix/Q9o1K0RQgKrXDx9yaXaju+nWBNak8oBc2eRhZxoiOsJ94EtAihX12cgwPbC25wA0qquChp903G5hW4YHkNKiQ9fjnTN/rygCFdsaEsfF5svxGbTJqpk5pfLkbQy4b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1Ew4qVFEdfriW+pNyN75cfgi3jN1o9wrKywLQhJz+rLCsDUsCaSLvQ0KEhDLKkvnOZvOlsIEXmyy2g9M3cOrKBsqbl6WYU6rzs3s8b//oOups3IA3FdfFcliGLKePWmgTHASEz+gqP8kIE+oMCmgBClA==;5:BEd3CFG2QKWdN3xyIUBVnOIQ5otir/mryLfaN/7zbTVZ4B/lzuXkNEziz8SaNQoKDuy40jvMJXfPB3txYPLrjeQHlj3hDMeoT1iVoHjr6cfKUFclZStf7RBBH171PZsZFs75dPcS5ZqFebtigWxN8fbIDfr/ZbRD0oM+UabVLmw=;7:cXxbun/9DV6EVC1ZL3xumwhWXGDGxNM+mbNju/o+mIwyJbfDng3NH3VUOeAbkYAqK4p2Jv5tWOIOadoda5w1/LdFYmk/2TosISKeyfv51TKmJFkiTkw8rbM4gRjlCjIAtxgVMlcg2TJNaiOxx2K9xQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2018 17:34:48.8303 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5022c3ce-3f4a-4e47-9464-08d6676a9b73 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[199.233.58.38];Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4375 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 Hi Martin, This series addes option to add protection mask modules parameter and fix for DMA error with DIF sg buffer, when it crosses 4G boundary. Please apply these to 4.21/scsi-misc at your earliest convenience. Thanks, Himanshu Giridhar Malavali (1): qla2xxx: Fix DMA error when the DIF sg buffer crosses 4GB boundary Martin K. Petersen (1): qla2xxx: Add protection mask module parameters drivers/scsi/qla2xxx/qla_attr.c | 21 ++- drivers/scsi/qla2xxx/qla_def.h | 28 ++++ drivers/scsi/qla2xxx/qla_gbl.h | 3 +- drivers/scsi/qla2xxx/qla_iocb.c | 335 +++++++++++++++++++++++++++++++------- drivers/scsi/qla2xxx/qla_isr.c | 11 ++ drivers/scsi/qla2xxx/qla_os.c | 204 +++++++++++++++++++++-- drivers/scsi/qla2xxx/qla_target.c | 2 +- drivers/scsi/qla2xxx/qla_target.h | 2 + 8 files changed, 530 insertions(+), 76 deletions(-)