diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2019-12-03 20:30:51 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-12-19 22:42:44 -0500 |
commit | f4652752a428f65936a7da5884095ef43a3cac18 (patch) | |
tree | 077d00f7f0c8f9c3b8f375c4b35dab64ad8e2767 /include/dt-bindings/clock/lpc32xx-clock.h | |
parent | a808a04c861782e31fc30e342a619c144aaee14a (diff) | |
download | linux-stable-f4652752a428f65936a7da5884095ef43a3cac18.tar.gz linux-stable-f4652752a428f65936a7da5884095ef43a3cac18.tar.bz2 linux-stable-f4652752a428f65936a7da5884095ef43a3cac18.zip |
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/dt-bindings/clock/lpc32xx-clock.h')
0 files changed, 0 insertions, 0 deletions