Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-27 Thread Hannes Reinecke
On 07/15/2015 06:49 AM, Sreekanth Reddy wrote: 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. Changes

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Sreekanth Reddy
On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy sreekanth.re...@avagotech.com wrote: 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

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Timothy Pearson
On 07/15/2015 01:28 PM, Yinghai Lu wrote: On Wed, Jul 15, 2015 at 6:52 AM, Timothy Pearson tpear...@raptorengineeringinc.com wrote: I have just kept the same description provide by Timothy in his initial patch. But I observe that their may be chance of getting unable to handle kernel NULL

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Yinghai Lu
On Wed, Jul 15, 2015 at 6:52 AM, Timothy Pearson tpear...@raptorengineeringinc.com wrote: I have just kept the same description provide by Timothy in his initial patch. But I observe that their may be chance of getting unable to handle kernel NULL pointer dereference kernel panic if no Memory

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Bjorn Helgaas
On Wed, Jul 15, 2015 at 10:19:56AM +0530, Sreekanth Reddy wrote: 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

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Timothy Pearson
On 07/15/2015 01:24 AM, Sreekanth Reddy wrote: On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy sreekanth.re...@avagotech.com wrote: Driver crashes if the BIOS do not set up at least one memory I/O resource. This failure can happen

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Bjorn Helgaas
On Wed, Jul 15, 2015 at 08:52:13AM -0500, Timothy Pearson wrote: On 07/15/2015 01:24 AM, Sreekanth Reddy wrote: On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy sreekanth.re...@avagotech.com wrote: Driver crashes if the BIOS do

[PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-14 Thread Sreekanth Reddy
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. Changes in v3: Rearranged the code to remove the code

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-14 Thread Yinghai Lu
On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy sreekanth.re...@avagotech.com wrote: 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