Re: [PATCH RFC 1/9] [SCSI] Detect overflow of sense data buffer

2013-01-20 Thread Hannes Reinecke
On 01/18/2013 05:46 PM, James Bottomley wrote: On Fri, 2013-01-18 at 11:27 -0500, Ewan D. Milne wrote: --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -241,6 +241,9 @@ static int scsi_check_sense(struct scsi_cmnd *scmd) if (! scsi_command_normalize_sense(scmd, &sshdr))

[PATCH 03/10] qla4xxx: Quiesce driver activities while loopback

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali Quiesce all different activities performed by driver upon the link events while loopback diagnostics is in progress. Signed-off-by: Nilesh Javali Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_def.h |4 +++- drivers/scsi/qla4xxx/ql4_fw.h |4 driv

[PATCH 07/10] qla4xxx: Added support for force firmware dump

2013-01-20 Thread vikas . chaudhary
From: Vikas Chaudhary This patch force driver to collect firmware dump using following command:- "echo 2 > /sys/class/scsi_host/hostX/device/fw_dump" Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_83xx.c |2 +- drivers/scsi/qla4xxx/ql4_attr.c | 16 +++- drivers/s

[PATCH 05/10] qla4xxx: Throttle active IOCBs to firmware limits

2013-01-20 Thread vikas . chaudhary
From: Karen Higgins Problem: QLA4xxx firmware may assert if given more IOCBs than it can handle. Solution: The driver was updated to throttle the number of active IOCBs based on the total number of IOCB buffers received from get_firmware_status mbx_sts[2]. Signed-off-by: Karen Higgins Signed-o

[PATCH 08/10] qla4xxx: wait for boot target login response during probe.

2013-01-20 Thread vikas . chaudhary
From: Manish Rangankar Boot from SAN fails in some cases where boot target login response is slow. In this case, probe finishes early and triggers init, which doesn't find remote disk to mount root which leads to BFS failure. Signed-off-by: Manish Rangankar Signed-off-by: Vikas Chaudhary ---

[PATCH 10/10] qla4xxx: Update driver version to 5.03.00-k4

2013-01-20 Thread vikas . chaudhary
From: Vikas Chaudhary Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_version.h b/drivers/scsi/qla4xxx/ql4_version.h index 765bb77..6775a45 100644 --- a/drivers/scsi/qla4xxx

[PATCH 09/10] qla4xxx: Fix return code for qla4xxx_session_get_param.

2013-01-20 Thread vikas . chaudhary
From: Manish Rangankar While reading sysfs chap_in_idx and chap_out_idx attribute, if chap authentication is not set we get an error as "Invalid argument". Signed-off-by: Manish Rangankar Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c | 12 ++-- 1 files changed, 6

[PATCH 04/10] qla4xxx: Remove unnecessary code from qla4xxx_init_local_data

2013-01-20 Thread vikas . chaudhary
From: Karen Higgins Removed unnecessary calls to qla4xxx_get_firmware_status from function qla4xxx_init_local_data Signed-off-by: Karen Higgins Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_init.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dri

[PATCH 06/10] qla4xxx: Re-register IRQ handler while retrying initialize of adapter

2013-01-20 Thread vikas . chaudhary
From: Poornima Vonti Problem: If initialization of adapter fails for some reason, then the interrupt handlers are released. The interrupt handlers are not registered again when initialization of adapter is retried. Solution: Re-register the interrupt handler when adapter initialization is retri

[PATCH 01/10] qla4xxx: Add spurious interrupt messages under debug level 2

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali The spurious interrupt messages are seen when interrupt lines are shared between different adapters or modules. Example, interrupt lines are shared between qlcnic and qla4xxx and USB modules, then the console is flooded with flurry of spurious interrupt messages which are expe

[PATCH 02/10] qla4xxx: Rename MBOX_ASTS_IDC_NOTIFY to MBOX_ASTS_IDC_REQUEST_NOTIFICATION

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali Signed-off-by: Nilesh Javali Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_fw.h |2 +- drivers/scsi/qla4xxx/ql4_isr.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/drivers/scsi/qla4xxx/ql4_fw.h i

[PATCH 00/10] qla4xxx: Updates for scsi "misc" branch

2013-01-20 Thread vikas . chaudhary
From: Vikas Chaudhary James, Please apply the following patches to the scsi tree at your earliest convenience. Thanks, Vikas. Karen Higgins (2): qla4xxx: Remove unnecessary code from qla4xxx_init_local_data qla4xxx: Throttle active IOCBs to firmware limits Manish Rangankar (2):

Re: [PATCH v13 1/9] scsi: sr: support runtime pm

2013-01-20 Thread Julian Calaby
Hi Alan, On Sun, Jan 20, 2013 at 5:46 AM, Alan Stern wrote: > On Sat, 19 Jan 2013, Aaron Lu wrote: >> > closed. Do we want to drop support for that kind of behavior? >> >> I don't think we should drop such support. >> And the safest way to avoid such break is we refine the suspend >> condition f