]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] megaraid_sas: Set 32-bit DMA mask
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Wed, 12 Feb 2014 18:08:44 +0000 (23:38 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:20 +0000 (10:19 -0700)
commit46de63e260c3fa3ff2b6810de2ebe7ed9a882995
treea03504360b41ead2b3d4315503e4b4d902c4f478
parentbe26374beff8b4442b042033613055fae4b0a56e
[SCSI] megaraid_sas: Set 32-bit DMA mask

If consistent DMA mask is set to 64 bit, fall back to 32bit DMA mask and 32bit consistent DMA mask.
64bit consistent DMA mask may be set on some 64bit DMA slot, which causes DMA offset "10000000000000" and
MFI_INIT and IOCTL frames will have high memory addresses, leads to firmware FAULT.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c