[PATCH 13/24] qla4xxx: Fix pending IO completion in reset path before initiating chip reset

2013-12-16 Thread vikas.chaudhary
From: Tej Parkash Issue: Pending IO wait does not complete after triggering Graceful reset, causing ack timeout and call traces. Fix: 1. Reducing the IO command wait timeout before triggering reset, as logically also timeout should be less than reset timeout (10sec). 2. Moving the abort IO af

[PATCH 07/24] qla4xxx: Correctly handle msleep_interruptible

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary If waiting for signals was interrupted then the device was put to FAILED state. Use msleep instead of msleep_interruptible to handle this correctly. Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_nx.c | 10 ++ 1 file changed, 2 insertions(+), 8 deleti

[PATCH 03/24] qla4xxx: Fix comments in code

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_def.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index aa67bb9..e9df4ad 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h

[PATCH 23/24] qla4xxx: Fix sparse warnings

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary Fix following sparse warnings:- drivers/scsi/qla4xxx/ql4_os.c:2109:33: warning: cast truncates bits from constant value (7fff becomes 7fff) drivers/scsi/qla4xxx/ql4_os.c:2306:33: warning: cast truncates bits from constant value (7fff becomes 7fff) Signed-off-by:

[PATCH 04/24] qla4xxx: Use IDC_CTRL bit1 directly instead of AF_83XX_NO_FWDUMP flag.

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary Removed AF_83XX_NO_FWDUMP flag and directly checking IDC_CTRL bit1 while taking minidump, to check for graceful reset. Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_83xx.c | 16 ++-- drivers/scsi/qla4xxx/ql4_def.h | 1 - drivers/scsi/qla4xxx/ql

[PATCH 14/24] qla4xxx: Driver not able to collect minidump for ISP84xx

2013-12-16 Thread vikas.chaudhary
From: Tej Parkash Issue: minidump data collection fails as driver reports data mismatch Fix: When the driver encounters a new entry type that it cannot process, it should just skip the entry and adjust the total buffer size by subtracting the skipped bytes from it. This is to ensure that there i

[PATCH 15/24] qla4xxx: Reduce rom-lock contention during reset recovery.

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary Issue: Driver holds rom-lock for too long during reset recovery. During adapter reset testing, it was found that the driver holds the rom-lock for too long, because of which other drivers fail to acquire the rom-lock, leading to reset failures. The primary cause is, in the

[PATCH 11/24] qla4xxx: Fix failure of IDC Time Extend mailbox command

2013-12-16 Thread vikas.chaudhary
From: Vikas Chaudhary Issue: Mailbox command 0x102 (IDC Time Extend) failure seen while applying changes to iface using iscsiadm Fix: Added fix to extend IDC timeout only for ISP84xx when IDC ACK needs to be posted and disable ACB mailbox command completion is in intermediate state. Signed-off-

RE: Possible locking bug in pm8xxx/pm8001

2013-12-16 Thread Suresh Thiagarajan
Jason, I have sent you the patch for testing. Could you please help testing this patch? Will submit it here once it is tested by you. Regards, Suresh -Original Message- From: Suresh Thiagarajan [mailto:sureshka...@gmail.com] Sent: Wednesday, November 27, 2013 11:11 AM To: Jason Seba Cc:

Re: [PATCH 32/32] target: Increase MAX_LUNS_PER_TPG to 16384

2013-12-16 Thread Hannes Reinecke
On 12/16/2013 10:20 AM, Hannes Reinecke wrote: > On 12/14/2013 12:59 AM, Andy Grover wrote: >> Indicate support for hierarchical LUN addressing. >> >> Set address method field in each LUN reported by REPORT LUNS to 1, in >> accordance with SCSI SAM specs. >> >> Signed-off-by: Andy Grover >> --- >>

Re: [PATCH 32/32] target: Increase MAX_LUNS_PER_TPG to 16384

2013-12-16 Thread Hannes Reinecke
On 12/14/2013 12:59 AM, Andy Grover wrote: > Indicate support for hierarchical LUN addressing. > > Set address method field in each LUN reported by REPORT LUNS to 1, in > accordance with SCSI SAM specs. > > Signed-off-by: Andy Grover > --- > drivers/target/target_core_spc.c |8 ++-- >

<    1   2