Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp873904pxb; Wed, 1 Sep 2021 11:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH9AyY79NLv09FMg+j3AxJKddRWoOwcYA7PNd1Axt638RYlEI8yoNYTvsTK2N17XvP6+o1 X-Received: by 2002:a5d:9d01:: with SMTP id j1mr833107ioj.27.1630522188040; Wed, 01 Sep 2021 11:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630522188; cv=none; d=google.com; s=arc-20160816; b=x16Lc/Vy7NKeqcmvLJLlalqlb4LexYYcBeQOHE3Uljp3B2NTO7Y1V5pMJat5IpQgF6 WwdnfG+ATQcddVdQdX3Ft3s/LD3frm65/ex9yMNCjTnsxXZDwsyXmHy6kaZoSJstxfkW q0OK11al5anA9lMaH0jayYdsuhBau5FqgVwHoKBAVtQ30V0Z/ZZBBK5ZKKauWpRHE2ZE iU9lCttz9nl/2ABFn9wjE4OZWVW4uaqmTn4S8vbpTKLW/8l8H9oYnHqTi/nfWRgZRZk9 OHaHxZRxowQV6DwrQRlNocqNTB44Bamxh1bRFdV9sM8O5Zft3S6/FA8fzULo0RX4LlrN Cekg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=yGZslx/Wl41zqgzv/iiZaarLA5QKhGULCOfLK6t4OtQ=; b=tnKIETiwjxGwvOc5YkbT2QKVHZYfQojzwWLPNWW/z7coEs43sXLGfbFobICGkMT/07 7J5sTHaNGyM+IL32keULFevVBy/AGTc6L28sa3O7y6yU3rX28FD5/U9nvUG4xQAlFuDI ynAMK0Wt32ecaPIjex9i/ehGdLp09c1ZVJloujAwcKgC0KShNiCPuX7M9V1moOae4ncc rfWkgaN7pf6Wvbvvn6iUWc+d0gTjVgtDJep7f9U07vDd2MU62uYOrh0DhqSG3UMtSnOb WX4dAqERriqbg4ezlRcZ2jyFGsDP5IdduzZGz4Qe3sF/HNj3Q4ujF8rZhx9XM4Ylf+4i zpLw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si454598ilu.80.2021.09.01.11.49.36; Wed, 01 Sep 2021 11:49:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242622AbhIAIAh (ORCPT + 99 others); Wed, 1 Sep 2021 04:00:37 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3711 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242827AbhIAIAg (ORCPT ); Wed, 1 Sep 2021 04:00:36 -0400 Received: from fraeml744-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GzxHy6cjKz67ZbW; Wed, 1 Sep 2021 15:58:06 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml744-chm.china.huawei.com (10.206.15.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 1 Sep 2021 09:59:37 +0200 Received: from [10.47.95.192] (10.47.95.192) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Wed, 1 Sep 2021 08:59:37 +0100 Subject: Re: arm scsi drivers To: Hannes Reinecke , "Russell King (Oracle)" 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" References: <5a72842f-99db-8787-120b-6d85e7884e2d@huawei.com> <9552a506-e53a-3fd3-b38e-3cec81e713a6@huawei.com> <20210827150938.GU22278@shell.armlinux.org.uk> <087d1fa0-8796-5b97-36fc-379498f53380@suse.de> From: John Garry Message-ID: Date: Wed, 1 Sep 2021 09:03:28 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <087d1fa0-8796-5b97-36fc-379498f53380@suse.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.95.192] X-ClientProxiedBy: lhreml709-chm.china.huawei.com (10.201.108.58) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/08/2021 16:23, Hannes Reinecke wrote: > On 8/27/21 5:09 PM, Russell King (Oracle) wrote: >> 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. I'm not sure. The SCSI midlayer does nothing with that tag field, apart from set it to the block layer request tag, and it seems that these drivers reuse that field for their own tag management. But Hannes is confident that we may just use scsi_cmd_to_rq(). >> >> 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. >> > That's what I figured, too. > And that's what my patches do, killing the tag support from arm drivers > which had them disabled since the dawn of git history. These are the patches: https://lore.kernel.org/linux-scsi/20210819084007.79233-1-hare@suse.de/T/#t Hannes, please consider resending, cc'ing Russell. Thanks, John