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

From: Martin K. Petersen
Date: Thu Dec 19 2019 - 22:44:32 EST



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!

--
Martin K. Petersen Oracle Linux Engineering