Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp803427ybc; Tue, 19 Nov 2019 09:30:03 -0800 (PST) X-Google-Smtp-Source: APXvYqx79V5+MmoUPoQnaLOW5qCJBSiO/73vf5X46DMSLLba3ppOW6WTYdTOKNah3OVgxDmWCFfo X-Received: by 2002:a17:906:7708:: with SMTP id q8mr23451657ejm.33.1574184603751; Tue, 19 Nov 2019 09:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574184603; cv=none; d=google.com; s=arc-20160816; b=jB39jpcM7qtKPbKwEeAy6/KjqSJw3oWipXyCOHdLxXw2qsvOvvai7VEw0EcKfdLBqd cbE5r7vJwql9jXBG3jz/OHGME2u3mfuYkSAMYZm3dVg0J2xsJhgX7E5wXjSyKwxmpPuS XWdXbM5ejbdf92gNTrkg88j1IG08+fTvIe80mH3VviyTDlbIDKVLkg2B9bNRPEzPRHQY K+j4A7lGyuLFVXJwiV/eAVOk64MDA2/uD0ccifXbPRbU9bpestsYPujDUblgOYOcVE+G C/wJer6Ff6E9P4MhUL7QqmPYqQObo/TAg9olcyIHeHuT2XVlkiW9TyQ8eyfhBiHAGarA 4XJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=OMBD2QQQoCU7yP4WQk94AyQxF7iHg8KGVWW/zSQqulg=; b=AWCDi2CHOacYsiP2PvrdCzE33ULERYz9UrMmoWjpOlSvwBe4Rq0o9jnD7wojmq7g6t +WLow4OGabrILxe/a6QaXUC1PBmjae2vAz6JeUVRksmP/CTfo3U2jgLPzopDlIMeyGex x2MUBxYa8A+zb4Lm1RFxe3ehw7Uxmo/KDR7ikE5mwW2hAkX18ef1Mga/ED+A/lZwZNMh T0gfx5HoJ636aQXPgCQkHC5fL9e5eiUPViPhJaRyGeNrmJlZxV3d+VT8MMyjjJMiAHy7 mNVg8QFJZ7FA7Nt2BuzB2IuuJdH+E62R4QUO5EchF+KTCLAzm/JDnq3IQuaVN2YUZqco uD1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="T/uoVxbx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si1617495eju.352.2019.11.19.09.29.38; Tue, 19 Nov 2019 09:30:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="T/uoVxbx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728547AbfKSR0A (ORCPT + 99 others); Tue, 19 Nov 2019 12:26:00 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36750 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbfKSRZ7 (ORCPT ); Tue, 19 Nov 2019 12:25:59 -0500 Received: by mail-wr1-f65.google.com with SMTP id r10so24842093wrx.3 for ; Tue, 19 Nov 2019 09:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=OMBD2QQQoCU7yP4WQk94AyQxF7iHg8KGVWW/zSQqulg=; b=T/uoVxbxYaOGX9wqZEjZPIu86xOQXEOo+zSrnymeJE1BmxQ/5isXpNgw9KaEwUfy4f aqGEmmCCeQ4tk7QUk0CmJwerFOFZ7PCOlzDjm5WHRqZ9EPuQCNrXQcd7/Zim1qZpRPQ6 U2CLL7GQMMk57BFK/eDnq8Wy2pXqSLH+Dv8eg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=OMBD2QQQoCU7yP4WQk94AyQxF7iHg8KGVWW/zSQqulg=; b=JagAbeitFKerGRXu3k0T7fAakRDdxvYt75mH5JBb/qQg9o8coGnNcBClXerUBRe37L xjPAW0+LOmdpGbb6HgL+cP9jn256LwmfftkPVLv3sC6Bqvo0Q0MeixHeEDHCQ2LAuUeF X8ETuxLb6buMMjy5DHc8zRryoV0umIju0X2dpVbfnPMZoLafv3PkfoO8i9waXuxcqEAN R6Qdv1yJEYHoCaJEFobGhK4R5TbGliIiM0Lz4MMNfyWAOp8mpZFo84mOtXcX+1Qknr0v H/zgleW8sNMlyMjYMkgngLgtEOArHklqA5nvonXOJf2ssgtMJgHXQXvpdq/wO7QBiOKu 7qmg== X-Gm-Message-State: APjAAAUr31QqNHLWO/H+GVJ87Dhs0roKXFYvZfTsoXkAGvSZQXmPpNQ0 g44vv9/pO+I/r+vVpmki+OcmNg== X-Received: by 2002:adf:c786:: with SMTP id l6mr36689212wrg.45.1574184357732; Tue, 19 Nov 2019 09:25:57 -0800 (PST) Received: from [10.69.45.46] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id y16sm27846357wro.25.2019.11.19.09.25.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2019 09:25:57 -0800 (PST) Subject: Re: [PATCH] scsi: lpfc: Move work items to a stack list To: Daniel Wagner , "Martin K. Petersen" Cc: Dick Kennedy , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, James Smart References: <20191105080855.16881-1-dwagner@suse.de> <20191119132854.mwkxx4fixjaoxv4w@beryllium.lan> From: James Smart Message-ID: <4a1fedc9-03f1-7312-fd50-a041a78c0294@broadcom.com> Date: Tue, 19 Nov 2019 09:25:54 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191119132854.mwkxx4fixjaoxv4w@beryllium.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/19/2019 5:28 AM, Daniel Wagner wrote: > On Tue, Nov 12, 2019 at 10:15:00PM -0500, Martin K. Petersen wrote: >>> While trying to understand what's going on in the Oops below I figured >>> that it could be the result of the invalid pointer access. The patch >>> still needs testing by our customer but indepent of this I think the >>> patch fixes a real bug. > I was able to reproduce the same stack trace with this patch > applied... That is obviously bad. The good news, I have access to this > machine, so maybe I able to figure out what's the root cause of this > crash. fyi - Dick and I were taking our time reviewing your patch as the major concern we had with it was that the splice and then the re-add of the work-list could have an abort complete before the IO, which could lead to DC. We'll look anew at your repro. -- james