[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8daed7eb-35c3-2890-385f-2f07b8ffe9a8@sholland.org>
Date: Tue, 12 Jan 2021 23:40:34 -0600
From: Samuel Holland <samuel@...lland.org>
To: Adam Radford <aradford@...il.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Cc: Arnd Bergmann <arnd@...db.de>, Joe Perches <joe@...ches.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH v4 3/3] scsi: 3w-9xxx: Fix endianness issues in command
packets
On 9/2/20 10:44 PM, Samuel Holland wrote:
> The controller expects all data it sends/receives to be little-endian.
> Therefore, the packet struct definitions should use the __le16/32/64
> types. Once those are correct, sparse reports several issues with the
> driver code, which are fixed here as well.
>
> The main issue observed was at the call to scsi_set_resid, where the
> byteswapped parameter would eventually trigger the alignment check at
> drivers/scsi/sd.c:2009. At that point, the kernel would continuously
> complain about an "Unaligned partial completion", and no further I/O
> could occur.
>
> This gets the controller working on big endian powerpc64.
>
> Signed-off-by: Samuel Holland <samuel@...lland.org>
I believe I addressed all previous comments to this series in v4.
Is there anything preventing it from being merged? Do I need to resend it?
Regards,
Samuel
Powered by blists - more mailing lists