scsi: smartpqi: correct bdma hw bug
authorKevin Barnett <kevin.barnett@hpe.com>
Wed, 3 May 2017 23:53:18 +0000 (18:53 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:02 +0000 (20:48 -0400)
commite1d213bdc3e359c6c5da8ebbc5b2e87b376e8777
treeadc7e2c63848b14b8498cb7cea0ae06a90695ba7
parent98f876674a6fba3591c342dfbcfdbaa7ecf0a84e
scsi: smartpqi: correct bdma hw bug

add workaround for BDMA hardware bug that can cause
hw to read up to 12 SGL elements (192 bytes) beyond the
last element in the list. This fix avoids IOMMU violations

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c