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 st...@rowland.harvard.edu 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

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

2013-01-20 Thread vikas . chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com 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

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

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali nilesh.jav...@qlogic.com 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

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

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali nilesh.jav...@qlogic.com Signed-off-by: Nilesh Javali nilesh.jav...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_fw.h |2 +- drivers/scsi/qla4xxx/ql4_isr.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

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

2013-01-20 Thread vikas . chaudhary
From: Poornima Vonti poornima.vo...@qlogic.com 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

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

2013-01-20 Thread vikas . chaudhary
From: Karen Higgins karen.higg...@qlogic.com Removed unnecessary calls to qla4xxx_get_firmware_status from function qla4xxx_init_local_data Signed-off-by: Karen Higgins karen.higg...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_init.c |7

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

2013-01-20 Thread vikas . chaudhary
From: Manish Rangankar manish.rangan...@qlogic.com 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 manish.rangan...@qlogic.com Signed-off-by: Vikas Chaudhary

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

2013-01-20 Thread vikas . chaudhary
From: Manish Rangankar manish.rangan...@qlogic.com 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

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

2013-01-20 Thread vikas . chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com 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 vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_83xx.c |2 +-

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

2013-01-20 Thread vikas . chaudhary
From: Nilesh Javali nilesh.jav...@qlogic.com Quiesce all different activities performed by driver upon the link events while loopback diagnostics is in progress. Signed-off-by: Nilesh Javali nilesh.jav...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com ---

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))