Re: [PATCH RESEND 1/2] scsi: vmw_pvscsi: Fix swiotlb operation

From: Thomas Hellstrom
Date: Fri Dec 20 2019 - 03:56:19 EST


On 12/20/19 4:44 AM, Martin K. Petersen wrote:
> Thomas,
>
>> With swiotlb, the first byte of the sense buffer may in some cases be
>> uninitialized since we use DMA_FROM_DEVICE, and the device incorrectly
>> doesn't clear it. In those cases, clear it after DMA unmapping.
> Applied 1+2 to 5.6/scsi-queue, thanks!
>
Thanks!

Thomas