]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc81f231fdc51fe4e604b46995705f7121df19cff
treeb4dc694bc8b0b12cebe61dc177db1973809e85b8
parent8e5a30c56d0af13cdf380046c451849e033e3bbc
[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