]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: smartpqi: correct bdma hw bug
authorKevin Barnett <kevin.barnett@hpe.com>
Wed, 3 May 2017 23:53:18 +0000 (18:53 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 04:06:52 +0000 (21:06 -0700)
commitac47fe0d5aadcdc63036f9786f63a3493def0d7b
treeaadcc9cbcbc0abd7a182e2aeca3a2ea38107f3ac
parent8b8670f6ba1c3e8112f0dcce6304dc1c2ed092a1
scsi: smartpqi: correct bdma hw bug

Orabug: 2619102126447813

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>
(cherry picked from commit e1d213bdc3e359c6c5da8ebbc5b2e87b376e8777)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c