Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2883614pxb; Sat, 6 Feb 2021 10:57:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTYAn8oiU8VPLMCyuGaXpy6dpRaU6uChAvpePuzi6dWcX3Vjn8DjJqE3VkxYnJqOgBh2YI X-Received: by 2002:a17:907:3e04:: with SMTP id hp4mr10219755ejc.188.1612637825599; Sat, 06 Feb 2021 10:57:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612637825; cv=none; d=google.com; s=arc-20160816; b=Q64xRz3jPoOCOiNyIB61N1TDAe0iXjv5d+M9HTWPvvPxsLs/fBxPAWsm77P9gtvq8X gsbtV225jKqdbEBXAS606LFoaGDqGEi37Ka3LQMsQJa9R69RkGj4KzDDF4zkSZRmG4Q9 inSXW1UVHY8iWU/mULPhE9Fa/UVPb68VYTbe/pA6HUvqq/GeVUipU/y3HpD+n/NrQy+y jy3rmKg/IGSBvMZ1i0Cs3VYIdWAgfHYf91L7Z8IjAnHEttLlCtfNGRnvtsrEi78NC8YA 288U0qbvfcE3FQxAeu1XuAmJ3FBAURTK59TePk+aITzK2nmBKXUVmwEcD2AKXPnigxcQ 1LQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id:dkim-signature :dkim-signature; bh=dsFx/WREOozdv61QWf7kHOy77v6o3XHGFBgzaHcIcRQ=; b=NJzLHUEenEFDdPi/4xRS8xwlJEJM/eBD6IgkxNd883LmFwkcY2DATKBJcfzQIhMpRa +mDZJalAWG5qnNqwm7+jKDQPawZLzSPqKye6yWBd3Z3lUazte0dGaLre9cY9zA6Ls7+E HZslje7ip+hOj4Qw75GqFU3h+cySQgjZW52RMAQWH2XQKGTnCe3QixXWIv+i1APPH09e jqIPEdzxS8P4X7rlS9c0YxPlrYSyLSgiCdb0U7yWjqew21fSUCETUEDPk5g+88IhiwCn ejMETiEkN/GtF1oE2h24w1yzdrdcZeGpXseb36AdbmsdLcvm9gpWsaQO+peyp0ppgdSY lmqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=ZX1O3cJ2; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=ZX1O3cJ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si4418448ejb.565.2021.02.06.10.56.41; Sat, 06 Feb 2021 10:57:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=ZX1O3cJ2; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=ZX1O3cJ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbhBFRlW (ORCPT + 99 others); Sat, 6 Feb 2021 12:41:22 -0500 Received: from bedivere.hansenpartnership.com ([96.44.175.130]:41414 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbhBFRlO (ORCPT ); Sat, 6 Feb 2021 12:41:14 -0500 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 22D57128015D; Sat, 6 Feb 2021 09:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1612633233; bh=wztkNCBX/ZeuHiJS/Vj2aETWcPrKfBF2Wrx0Qm5SnUA=; h=Message-ID:Subject:From:To:Date:From; b=ZX1O3cJ2hNAmo/oJqzwZLv0No7NRNGqB6mvicWUAXTQyXltAEIqESfgXCV6tg4Hs8 R3Rdj3Qvb7D+t8RvFBjoOhpEBuxmGEZn1Cr3mskSoHw5N3u6i+3RQ2e21zYDanL1oR 0arTj7koS7vH5MuEE4RkNQIvm9AVYKp6jrbJyAtY= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G__BCZz8wh2Y; Sat, 6 Feb 2021 09:40:33 -0800 (PST) Received: from jarvis.int.hansenpartnership.com (unknown [IPv6:2601:600:8280:66d1::c447]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id C2E5712800EE; Sat, 6 Feb 2021 09:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1612633233; bh=wztkNCBX/ZeuHiJS/Vj2aETWcPrKfBF2Wrx0Qm5SnUA=; h=Message-ID:Subject:From:To:Date:From; b=ZX1O3cJ2hNAmo/oJqzwZLv0No7NRNGqB6mvicWUAXTQyXltAEIqESfgXCV6tg4Hs8 R3Rdj3Qvb7D+t8RvFBjoOhpEBuxmGEZn1Cr3mskSoHw5N3u6i+3RQ2e21zYDanL1oR 0arTj7koS7vH5MuEE4RkNQIvm9AVYKp6jrbJyAtY= Message-ID: <4694bcc43696d52e6a81c915c2215bc8022918fc.camel@HansenPartnership.com> Subject: [GIT PULL] SCSI fixes for 5.11-rc6 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Sat, 06 Feb 2021 09:40:32 -0800 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One fix in drivers (lpfc) that stops an oops on resource exhaustion. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: James Smart (1): scsi: lpfc: Fix EEH encountering oops with NVMe traffic And the diffstat: drivers/scsi/lpfc/lpfc_nvme.c | 3 +++ 1 file changed, 3 insertions(+) With full diff below James --- diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c index 1cb82fa6a60e..39d147e251bf 100644 --- a/drivers/scsi/lpfc/lpfc_nvme.c +++ b/drivers/scsi/lpfc/lpfc_nvme.c @@ -559,6 +559,9 @@ __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, return -ENODEV; } + if (!vport->phba->sli4_hba.nvmels_wq) + return -ENOMEM; + /* * there are two dma buf in the request, actually there is one and * the second one is just the start address + cmd size.