On Tue, Aug 06, 2019 at 06:13:16AM -0400, Suganath Prabu wrote:
From: Suganath Prabu S suganath-prabu.subramani@broadcom.com
Although SAS3 & SAS3.5 IT HBA controllers support 64-bit DMA addressing, as per hardware design, if DMA able range contains all 64-bits set (0xFFFFFFFF-FFFFFFFF) then it results in a firmware fault.
e.g. SGE's start address is 0xFFFFFFFF-FFFF000 and data length is 0x1000 bytes. when HBA tries to DMA the data at 0xFFFFFFFF-FFFFFFFF location then HBA will fault the firmware.
Fix: Driver will set 63-bit DMA mask to ensure the above address will not be used.
Cc: stable@vger.kernel.org # 4.4.186, # 4.9.186 # 4.14.136 Signed-off-by: Suganath Prabu S suganath-prabu.subramani@broadcom.com
RESEND: Resending this patch to include 4.14.136 stable kernel.
This Patch is for stable kernels 4.4.186, 4.9.186 and 4.14.136. Original patch is applied to 5.3/scsi-fixes. commit ID: df9a606184bfdb5ae3ca9d226184e9489f5c24f7
Now queued up, thanks.
greg k-h