lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cbd7991e-0634-83c1-0a6a-c834324ec72d@huawei.com>
Date:   Wed, 1 Sep 2021 09:03:28 +0100
From:   John Garry <john.garry@...wei.com>
To:     Hannes Reinecke <hare@...e.de>,
        "Russell King (Oracle)" <linux@...linux.org.uk>
CC:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>,
        "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Hannes Reinecke <hare@...e.com>,
        "Christoph Hellwig" <hch@....de>,
        Bart Van Assche <bvanassche@....org>,
        Arnd Bergmann <arnd@...db.de>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>
Subject: Re: arm scsi drivers

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ