[SCSI] megaraid_sas: megaraid_sas driver init fails in kdump kernel
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Mon, 15 Jul 2013 20:56:05 +0000 (02:26 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 2 Aug 2013 20:01:29 +0000 (13:01 -0700)
commit6431f5d7c6025f8b007af06ea090de308f7e6881
treeb4dc694bc8b0b12cebe61dc177db1973809e85b8
parent36f571e9ed0419e73d127e18aa8992ced867268c
[SCSI] megaraid_sas: megaraid_sas driver init fails in kdump kernel

Problem: When Hardware IOMMU is on, megaraid_sas driver initialization fails
in kdump kernel with LSI MegaRAID controller(device id-0x73).

Actually this issue needs fix in firmware, but for firmware running in field,
this driver fix is proposed to resolve the issue.  At firmware initialization
time, if firmware does not come to ready state, driver will reset the adapter
and retry for firmware transition to ready state unconditionally(not only
executed for kdump kernel).

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