mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected
authorSreekanth Reddy <sreekanth.reddy@avagotech.com>
Wed, 15 Jul 2015 04:49:56 +0000 (10:19 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 17:56:35 +0000 (10:56 -0700)
commit5aeeb78aeb4c8607cbda54a7b0dc7315171e214f
tree2fc3e772b1ab8bd503c3f9cfa019367bdef6e6ec
parent8d16366b5f23e928e5fd22eaeaceeb0356921fc0
mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

Driver crashes if the BIOS do not set up at least one
memory I/O resource. This failure can happen if the device is too
slow to respond during POST and is missed by the BIOS, but Linux
then detects the device later in the boot process.

Based on a patch from Timothy Pearson <tpearson@raptorengineeringinc.com>

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.c