Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3747639pxk; Tue, 8 Sep 2020 01:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwffSVszNv+7fp+Q03q1tRBJjbwTSZHCDr/Z7KnyJC6bmv0v1UGUz0wf7TSiVeSNI2dbFfo X-Received: by 2002:a50:e807:: with SMTP id e7mr20833625edn.84.1599552191234; Tue, 08 Sep 2020 01:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599552191; cv=none; d=google.com; s=arc-20160816; b=tLEhpeXQi6rv3wKkdNy98Oro9wP70OTqo8GgCzWhQZGHGxvjxbHzOknyUZu4Qcy1Z6 9bEy29PJ9hVDAzaFgonW9XD7+ZtO7oD17ZwurX2oZL7mnZmpFTR+IKBZbOzhVSQvb6b4 HdIy2D3/xNjgyShb5XRbG9KkAiLhp+y55+b6KGWZb2O/91CkqzH1hk6vJzDGLSZIB6mS YFlcF/8qXYsH30RMoJXkMkEbCtCXpFsDxKHncGWNsMXcYWyAqyoiieI5YgngCTE5YJdm R/AxigDEmVFnQXGdfwFoxlhdpTxn9TR9DILaW4pw/o0Bfqn3IGVk0sTkKw3Hv+YIVSj3 D0JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=adIwanqlQ7Bi7Ydy4a5RENLwPhH2N47LzRfiKbFeg2o=; b=x+9RCungVTCvXHSX5SiIEi/J+f7OAYCwRhXirtLGv/UCH5putL6sQiO2Tx0KvQL0Lr KhXYD34P37ITN0xAVlf7VRQB0XiFioECfTxyT9AH93ImPPabbkUMBcIA9FCU7aJeGVQG +52418Qe9r33ufKRC9+GujqjmBdivuIi2ictuxgZGGzdu/L36KGzd/loQYJIWBqXaALC wn70jfStQCnjscpMcnUfDPNfxsxBYyHSEPIRyXyuN1HYINfVEXVdHhPAKiXE35I9LfVN Dbi8rr2n7w2kLaKn9lFh37RRI5xmDq/DWnLvIRsH7l1qDKEfvBAIM/chVV+RNSx/acCG u5LA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf5si1962126ejb.131.2020.09.08.01.02.48; Tue, 08 Sep 2020 01:03:11 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730025AbgIHH6k (ORCPT + 99 others); Tue, 8 Sep 2020 03:58:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:54036 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729956AbgIHH54 (ORCPT ); Tue, 8 Sep 2020 03:57:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 41CD8B6CD; Tue, 8 Sep 2020 07:57:55 +0000 (UTC) Date: Tue, 8 Sep 2020 09:57:53 +0200 From: Daniel Wagner To: Arun Easi Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Nilesh Javali , Martin Wilck Subject: Re: [PATCH v2 4/4] qla2xxx: Handle incorrect entry_type entries Message-ID: <20200908075753.ov64u2rmhet3jmlu@beryllium.lan> References: <20200831161854.70879-1-dwagner@suse.de> <20200831161854.70879-5-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arun, On Mon, Sep 07, 2020 at 11:47:48PM -0700, Arun Easi wrote: > Could you drop the above comment about firmware, as it is speculation at > this point? Sure, no problem. > It'd be best to take a chip reset path, rather than assuming the > packet is good and having the appropriate handler called (hacky). > An approach similar to the one done at the beginning of > qla2x00_get_sp_from_handle() is what I had in mind. Ok, agreed a reset is probably the safest choice. > I'd have preferred a common approach across the different IOCB types > as an attempt to harden the code, but that will be a little more > involved work. This looks ok. Yes, I was pondering on it but I don't know enough to really come up with something reasonable. Currently our customers report only this hickup. So this is really only a partial workaround. Thanks, Daniel