From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D723C432BE for ; Fri, 27 Aug 2021 15:12:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D5C5960F14 for ; Fri, 27 Aug 2021 15:12:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D5C5960F14 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BG9t89HyHb5GCynuquhXanWsGggFFiFTqHt6IHZ2oqU=; b=xZFQvKzvmJpcf0 jZb8dH/8/i8wKPnd1rWU9RsdCGeDx8E6C7qklHV3eUehsyE285RGySSR+vMK6rYhV+q+IhAvxwcWc IXMo+vC2PhW1T5UoHNF8Ayhz92hK4dgyDgjV2yMwmIGtA0tObOlHcic2IaKpB7FAHO/DRfhb/hBj8 vGgks6upeU+Jfa9FvZ5TdooOchtlScSCtFsCG+mG+ar25cto2EapwcyBAWMdf0Dm0hhsvkrwIdz2o HF0vHvdvGuuIMb8kRogxk0E9bYxRpCfk6/lpFnpx5CbZfijyWsRBaZq+jyUukw2ojnJrLWA9qh2Kj A7PW5OXA9mGc/nsH0Gag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJdUX-00Cehn-NQ; Fri, 27 Aug 2021 15:10:01 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJdUR-00Cefo-IY for linux-arm-kernel@lists.infradead.org; Fri, 27 Aug 2021 15:09:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2y8ItP7OxStgqC269xp/vLuhvdyK3bvM8eQwyh+XgTI=; b=AaDw1kC8KI9vZXC710eZrVSVB SZuaAwNHAWl/nxee98O5qr4C3qRAbNeBKbR07mfSNm6A8C2w7TSZr9kuEP49xVtF94dBq8BlIUNyu oNsvGwHyFt8sowi0x46xF2gDY+pMtFDgbmAqoGqcfvoMsjvq+XpXsZNMjzAB6mRtVktVKoscIUJaq OT7UwgXHpTE3juc66Z7/DzwBeV0/Tp8O1jaSRhx3R7ncGKF3RVPgZ7MhrozDSjBGp4G7gewRzTQhW heVIWwhLRtzQDWd62YdKoJ66SekZo8iI7A8XZ/2d2f3AoaXFvoKmhq/4nkRSS/BqGyuEpYp4L0peZ l5ekv/03w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47754) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJdUD-0001G0-EL; Fri, 27 Aug 2021 16:09:41 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1mJdUB-0001tI-2J; Fri, 27 Aug 2021 16:09:39 +0100 Date: Fri, 27 Aug 2021 16:09:39 +0100 From: "Russell King (Oracle)" To: John Garry Cc: "Martin K . Petersen" , "James E.J. Bottomley" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hannes Reinecke , Christoph Hellwig , Bart Van Assche , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" Subject: Re: arm scsi drivers Message-ID: <20210827150938.GU22278@shell.armlinux.org.uk> References: <5a72842f-99db-8787-120b-6d85e7884e2d@huawei.com> <9552a506-e53a-3fd3-b38e-3cec81e713a6@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9552a506-e53a-3fd3-b38e-3cec81e713a6@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210827_080955_660253_1F0561D0 X-CRM114-Status: GOOD ( 22.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org I haven't, sorry. I have run 5.x kernels on the hardware, and do have a set of patches kicking around for the SCSI drivers that do some cleanups. It looks like the fixup is pretty simple from the links you've sent - using scsi_cmd_to_rq() to get the tag. That said, I think I may only had one SCSI drive that came anywhere close to supported tagged queuing, so I never put much effort into tagged command support. Both acornscsi and fas216 have it disabled for this reason, so it's probably easier just to rip the tag code out of these drivers. Russell. On Fri, Aug 27, 2021 at 03:55:05PM +0100, John Garry wrote: > Hi Russell, > > Have you had a chance to consider the below? > > Thanks > > > > > > Recently we tried to remove scsi_cmnd.tags struct member [0]. > > > > However it now shows that some of the arm SCSI drivers continue to use > > this [1]. I think any other driver usage of this member had been found > > and removed. > > > > The impression is that the usage of scsi_cmnd.tag in those drivers is > > quite dubious. > > > > Now checking [2], it appears that you may have had some patches for > > these drivers locally. > > > > So is that the case? Is this HW still used with bleeding edge kernels? > > If so, can we fix up this tag management? > > > > [0] https://lore.kernel.org/linux-scsi/6c83bd7f-9fd2-1b43-627f-615467fa55d4@huawei.com/T/#mb47909f38f35837686734369600051b278d124af > > > > > > [1] https://lore.kernel.org/linux-scsi/6c83bd7f-9fd2-1b43-627f-615467fa55d4@huawei.com/T/#md5d786e5753083b2f3e8e761b1c69809f82c7485 > > > > > > [2] > > https://lore.kernel.org/lkml/20210109174357.GB1551@shell.armlinux.org.uk/ > > > > Thanks, > > John > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel