diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2019-12-03 22:30:51 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-12-20 06:42:44 +0300 |
commit | f4652752a428f65936a7da5884095ef43a3cac18 (patch) | |
tree | 077d00f7f0c8f9c3b8f375c4b35dab64ad8e2767 /include/sound/rt286.h | |
parent | a808a04c861782e31fc30e342a619c144aaee14a (diff) | |
download | linux-f4652752a428f65936a7da5884095ef43a3cac18.tar.xz |
scsi: vmw_pvscsi: Fix swiotlb operation
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.
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20191203193052.7583-1-thomas_os@shipmail.org
Suggested-by: Vishal Bhakta <vbhakta@vmware.com>
Acked-by: Jim Gill <jgill@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/sound/rt286.h')
0 files changed, 0 insertions, 0 deletions