Message ID | 20180425130905.6385-6-chad.dupuis@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 C24A16032C for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2F9128DF1 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A816E28E00; Wed, 25 Apr 2018 13:09: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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, 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 B75AE28DF1 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 25 Apr 2018 13:09:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753975AbeDYNJ1 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 25 Apr 2018 09:09:27 -0400 Received: from mail-dm3nam03on0088.outbound.protection.outlook.com ([104.47.41.88]:32650 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751705AbeDYNJV (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 25 Apr 2018 09:09:21 -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=KYmC3sdaRG2/HxAdtUIlLy7NM+7D4b/shovYfSpsGw4=; b=alYMqBOwzInjNBjPHtAEqjJy68lgDBvvzKyzwcip7xmoCnvhtzlww8KWpW0LKW7lBsToJ/Dnxl6+SJrjoVoFxUbh8wK9oxbbLFdGxENMdT8dJ6BhQzQuOpYnFFz63I4pu2SQFxV1FbYrKVcuqxGjUyLWh2kFW18zcAi7iPyTlmg= Received: from SN4PR0701CA0011.namprd07.prod.outlook.com (2603:10b6:803:28::21) by MWHPR07MB3181.namprd07.prod.outlook.com (2603:10b6:300:e1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Wed, 25 Apr 2018 13:09:19 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::133) by SN4PR0701CA0011.outlook.office365.com (2603:10b6:803:28::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Wed, 25 Apr 2018 13:09:19 +0000 Authentication-Results: spf=pass (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 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 BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.653.14 via Frontend Transport; Wed, 25 Apr 2018 13:09:18 +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, 25 Apr 2018 06:09:21 -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 w3PD97cY006440; Wed, 25 Apr 2018 06:09:07 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id w3PD971G006439; Wed, 25 Apr 2018 06:09:07 -0700 From: Chad Dupuis <chad.dupuis@cavium.com> To: <martin.petersen@oracle.com> CC: <linux-scsi@vger.kernel.org>, <james.bottomley@hansenpartnership.com>, <QLogic-Storage-Upstream@cavium.com> Subject: [PATCH 05/21] qedf: Add check for offload before flushing I/Os for target. Date: Wed, 25 Apr 2018 06:08:49 -0700 Message-ID: <20180425130905.6385-6-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20180425130905.6385-1-chad.dupuis@cavium.com> References: <20180425130905.6385-1-chad.dupuis@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(376002)(396003)(346002)(39860400002)(2980300002)(438002)(199004)(189003)(50466002)(106002)(36756003)(11346002)(446003)(305945005)(72206003)(80596001)(42186006)(47776003)(316002)(476003)(107886003)(48376002)(69596002)(6666003)(6916009)(44832011)(126002)(1076002)(50226002)(186003)(486006)(86362001)(575784001)(2616005)(336012)(478600001)(87636003)(45080400002)(16586007)(356003)(59450400001)(2351001)(106466001)(2906002)(4326008)(81156014)(81166006)(8936002)(26005)(54906003)(76176011)(8676002)(5660300001)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3181; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Pass; LANG:en; PTR:50-232-66-26-static.hfc.comcastbusiness.net; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:TP4B1CBftF+2abgzjKDVO4yQ70PneYsyAygKBWSitgqQROJFKww6MPTL/dx8dt+JV0hXQWIWj3AB28PDWUDeXDTrJnsQnY25+0thpFACaRHvacFgTbXQu0mBgAUfrPnF X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:MWHPR07MB3181; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3181; 3:G+V2obLl+W1UrxKHsHElsd9BKS5o1fj7IikTBJtrWu+JwDzJfDUWmq7S0dE7UkS6gI/dU++kcf6cnBPKp94Zhg+TfhgeJhwEG0Mmh038Hf+l7fjrbxBimyyfeDoIPGqpSbD6R52tFOYr3BIfm/vBUQoC/HMdlEcmPfmwoGBg03HiWWJ/Hl0t+m/urzUJGSNCcDGCS06BmRFsPenGu9kB4PZ3o8t7OwGwTaneZ4NYp+ujrn+Vk2eMyuauPY/I4kYsNW7+eH1HsulF0TslVtMl7h0t3gB9KmxU7JigfobmnyALT/JsbQKv+EqWnxt3fOIWbzvQkKUXOuxFA4qjoDHrRLECuYOffcEKO29zk9vb1DI=; 25:DZSw98q/F2R1WccCR7YucXfxs8o+tfbfuq2j4rDm0z/FTviCuNzKFpJJlPwNrpXUjJjujMR+EtAulcWQsxR1KlagPaMjub8SASPp9U89j8Niy0dq0lrGsqkFpeZiX/OphQ1JyPhsR7mJHgLxbcPAJ8Z4DcrbcDlw+0ZPK0uxzYgsmxN6gOVxHSlLaHTEjp3zqxKiKtpUCrKH4vu4fxRJWyh1BepSWyVdILblQLz3alWM1PZpJjS+JaJbS71VLACS4/R2bnlyk9FEEqh1ite0SYrCXkXKW2F+Kk8s8CtpxrY+O0RmTX6ktMHJu7lurbNZJijDLPG2VLenFWCS+Qfp0Q== X-MS-TrafficTypeDiagnostic: MWHPR07MB3181: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3181; 31:p724/QNt6QPQeWrjvyVSeo8QITjmdza28Cb9UP0OLyaHcci8OuYR7hyMoGh6p8VFEaQclM4x3yeadlr+voss03gLUWuPJnV7CuidreoatMwvT0l1+Q7h4AOJb23CtaMCQ25UTqxUQjDifuf4f0eaiCC27sI1vyEeiNVI+CagJz8cHrPKiizLSHwpNKx4eW74VhY1jgssWTlP58xnv0dUoX4DeJrxeVRJYzbfvMMurb8=; 20:Wm0CIKYlGTQXiOqZ6IvYVghUg+r7s87Ugrw34mIA04Fiw/CwKtIH2EXuTMWtsyfJN+6Rge5VLZNKSNgVVwspzYWgbQCKiZsw32/mVwWoAfM2SM8/ywd5QsC2tELoiuS7bqs7oLV4Pd4xyWNUhcLwWeJxcDyPieE/rzQlF20fUdq0P9ce1iQjgAcuXirFs/QGYZd8s5t/pzymYiivashPfHe4plVUsNksHbTdMTBCWOSdeXYnbYtV/9Ju79CpLBidEL5r4CreGMRgQo4yc2mVJuG1lqrF+IHm21q+/sLcq+OkL1RJlTKqsvUaHHzcBaDIyb6z9Yv/RdCCuE0OAebx+kMIk2KJXGOW3+5J0B8F3waMu/niBND7pbmOvsrcSlwmCp7jsrHukyuFJ+SyDikHGIZ6ag+kY8oZsv8jwYECJLnsK4K4VVxlh5KbVFCiqr7+PhKh+UTmeJyI5d5qQQrOxsvzN421TiF3OsFo1+kQ9nBDMGSxCV6d62bGi9XdFocl X-Microsoft-Antispam-PRVS: <MWHPR07MB318111C1F3FBEC6D50EE78169E8F0@MWHPR07MB3181.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231232)(944501410)(52105095)(93006095)(93004095)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:MWHPR07MB3181; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3181; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3181; 4:Kj5Z1qwziVoDCVCUc7F9ljXOqPFuUMLtnn1+sRUNFdYY1q2qPZIwPlLEAp2HHAQP4ZsQNE58KV6a+tIq/ZeS1yTywJPDlSwL8ws+Hswb9gYv/Wjq+yX0vfihQdxpEJF5MvU1eiVVAXcUzuQd2cdVcLqLfMeZUQm/nHzSRfNvtG1zMeJN4qFzNkGZuCq3eQdyQlAbTcplMrObqXbfUP2NNwxBgPUU7HS5QRGYARoVRS/B7AV2iHPJHKB5g4P8fcKOZ6PhYpixqYa4q0NxU6o4dA== X-Forefront-PRVS: 06530126A4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3181; 23:TBGEUpGi7FT3FeuCqjRkW6fMr6UpjjpTS1djWexIx?= =?us-ascii?Q?i4fscARbgEWYDB6PUDKOJ9iWl0hmIrbgazq2usTDNW1TKe4DORxrV6tO0Y79?= =?us-ascii?Q?6bad3eKAWz/f5PDKzpUabBZ1De3+llBrV0lcoFcsufXcLcnfm9TJkAHJ6BAC?= =?us-ascii?Q?xbcqWFjJ0NAbtlek4RzkFatEp0Nw539jh8T6tKVQEVpEfxh4GmciuclFOiCW?= =?us-ascii?Q?aLQUf69BQpMAKyV8k5aifkspGhW2kexn2g6AHh51y/sQUMK/JXlemtKObvvx?= =?us-ascii?Q?5+QQ7XVsa+VlawN0nyqJYD+Kdrr2ZZ9Hj92u7Tw+3s5E6HUg+dn1rPNydi0K?= =?us-ascii?Q?spZJX0A/DKCe+tVJ9xIgQdfnXwBqXQECHTyacUiOQx64DZ99LjgbkuOuZVbP?= =?us-ascii?Q?t9dIS03SjUUMqcZDz92k13Nh9Csx1liPWBSspHYy+1Qk/XW6Mpy3vsd1VMgi?= =?us-ascii?Q?AfNHdTTo/91Lbrz4B8Lo1V3OL3E4PRdCnLLLPSU43dObdrGJEHv+Sh9x3aOv?= =?us-asc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9MbHNOnI3iS5yoG5sAWX2U/SUQ8L+ifrIwBwrROFxwU1E4X/EjbCg/MePm56rSaNA8goAEV+OaZmCo374eIBBeya3pXdGr69qrD7kmFB5c9qk9Q9b4 X-MS-Office365-Filtering-Correlation-Id: 1d969382-c768-48a9-3567-08d5aaadc14e X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 13:09:18.8553 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d969382-c768-48a9-3567-08d5aaadc14e 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: MWHPR07MB3181 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c index 50a50c4249d0..94d6455c9ddc 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -1414,6 +1414,12 @@ void qedf_flush_active_ios(struct qedf_rport *fcport, int lun) if (!fcport) return; + /* Check that fcport is still offloaded */ + if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { + QEDF_ERR(NULL, "fcport is no longer offloaded.\n"); + return; + } + qedf = fcport->qedf; cmd_mgr = qedf->cmd_mgr;
We need to check that a fcport is offloaded before we try to flush any requests. No doing so could lead to undefined results and most likely a crash. Fixes the oops: [ 343.971886] [0000:42:00.3]:[qedf_execute_tmf:2070]:8: wait for tm_cmpl timeout! [ 343.971933] BUG: unable to handle kernel paging request at 00000000000024a8 [ 343.971949] IP: [<ffffffffa06b8cc6>] qedf_flush_active_ios+0x46/0x260 [qedf] [ 343.971952] PGD 42c569067 PUD 4160fe067 PMD 0 [ 343.971954] Oops: 0000 [#1] SMP [ 343.972008] Modules linked in: qedf(OEX) qed(OEX) bnx2i cnic fuse af_packet iscsi_ibft msr xfs intel_rapl sb_edac edac_core x86_pkg_temp_thermal bnx2x geneve intel_powerclamp vxlan coretemp ipmi_ssif ipmi_devintf kvm_intel kvm libiscsi joydev irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel tg3 ip6_udp_tunnel udp_tunnel mdio libcrc32c iTCO_wdt scsi_transport_iscsi uio drbg iTCO_vendor_support iscsi_boot_sysfs dcdbas(X) ipmi_si ansi_cprng aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper ptp pps_core pcspkr libphy lpc_ich mfd_core cryptd fjes wmi ipmi_msghandler button crc8 libfcoe libfc scsi_transport_fc mei_me mei shpchp processor acpi_pad btrfs xor hid_generic usbhid raid6_pq sd_mod sr_mod cdrom mgag200 crc32c_intel i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt [ 343.972020] fb_sys_fops ttm ahci ehci_pci libahci ehci_hcd drm libata usbcore megaraid_sas usb_common sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod autofs4 [last unloaded: qedf] [ 343.972022] Supported: Yes, External [ 343.972026] CPU: 30 PID: 12777 Comm: sg_reset Tainted: G W OE X 4.4.73-5-default #1 [ 343.972027] Hardware name: Dell Inc. PowerEdge R720/0X3D66, BIOS 2.1.3 11/20/2013 [ 343.972029] task: ffff88018dfc0e80 ti: ffff88042bd7c000 task.ti: ffff88042bd7c000 [ 343.972036] RIP: 0010:[<ffffffffa06b8cc6>] [<ffffffffa06b8cc6>] qedf_flush_active_ios+0x46/0x260 [qedf] [ 343.972038] RSP: 0018:ffff88042bd7fbe0 EFLAGS: 00010286 [ 343.972039] RAX: 0000000000000000 RBX: ffff88042ce37800 RCX: 0000000000000400 [ 343.972040] RDX: 000000000000060e RSI: ffffffffa06be830 RDI: ffff8807e5072cc0 [ 343.972041] RBP: 0000000000001000 R08: ffffffffa06bff4d R09: ffff88018dd84580 [ 343.972042] R10: 000000000000018b R11: 0000000000000002 R12: 0000000000002003 [ 343.972043] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8807e5072cc0 [ 343.972046] FS: 00007fc1c8809700(0000) GS:ffff88042fbc0000(0000) knlGS:0000000000000000 [ 343.972048] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 343.972049] CR2: 00000000000024a8 CR3: 00000004236ec000 CR4: 00000000001406e0 [ 343.972050] Stack: [ 343.972053] 504c78750607e154 ffffffff810a7d10 ffff88042ce37800 0000000000000010 [ 343.972055] 0000000000002003 ffff8807ff480c48 ffff8807e5072cc0 ffffc90004ec4ff8 [ 343.972057] ffffffffa06b9b86 ffff880800000010 0000000000000282 ffff88042ce37800 [ 343.972058] Call Trace: [ 343.972094] [<ffffffffa06b9b86>] qedf_initiate_tmf+0x346/0x3e0 [qedf] [ 343.972120] [<ffffffffa000fa06>] scsi_try_bus_device_reset+0x26/0x40 [scsi_mod] [ 343.972133] [<ffffffffa001038e>] scsi_ioctl_reset+0x13e/0x260 [scsi_mod] [ 343.972145] [<ffffffffa000f416>] scsi_ioctl+0x136/0x3d0 [scsi_mod] [ 343.972154] [<ffffffff812ff6eb>] blkdev_ioctl+0x6bb/0x950 [ 343.972164] [<ffffffff8123cfed>] block_ioctl+0x3d/0x40 [ 343.972170] [<ffffffff81217e2d>] do_vfs_ioctl+0x2cd/0x4a0 [ 343.972186] [<ffffffff81218074>] SyS_ioctl+0x74/0x80 [ 343.972193] [<ffffffff8160916e>] entry_SYSCALL_64_fastpath+0x12/0x6d [ 343.975285] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x12/0x6d Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> --- drivers/scsi/qedf/qedf_io.c | 6 ++++++ 1 file changed, 6 insertions(+)