[PATCH 4/6] iscsi-target: Convert incoming PDU payload checks to MaxXmitDataSegmentLength

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Now that iscsi-target supports a local configurable MaxXmitDataSegmentLength, go ahead and make ISCSI_OP_SCSI_CMD, ISCSI_OP_SCSI_DATA_OUT, ISCSI_OP_NOOP_OUT and ISCSI_OP_TEXT PDU payload checks honor conn_ops->MaxXmitDataSegmentLength. Cc: Mike Christie Cc: Andy Grover

[PATCH 5/6] iscsi-target: Add MaxXmitDataSegmentLength connection recovery check

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger The iSCSI TMR TASK_REASSIGN completion logic in iscsi_tmr_task_reassign() does an explict check for MRDSL across task reassignment, so go ahead and add an explict MaxXmitDataSegmentLength check here as well to be safe. Cc: Mike Christie Cc: Andy Grover Cc: Hannes Reine

[PATCH 1/6] target/file: Re-enable optional fd_buffered_io=1 operation

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch re-adds the ability to optionally run in buffered FILEIO mode (eg: w/o O_DSYNC) for device backends in order to once again use the Linux buffered cache as a write-back storage mechanism. This logic was originally dropped with mainline v3.5-rc commit: commit a

[PATCH 6/6] iscsi-target: Change iscsi_target_seq_pdu_list.c to honor MaxXmitDataSegmentLength

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts iscsi_target_seq_pdu_list.c code for DataSequenceInOrder=No + DataPDUInOrder=No operation to honor the MaxXmitDataSegmentLength value for iscsi_cmd->se_cmd.data_direction == DMA_TO_DEVICE cases. Cc: Mike Christie Cc: Andy Grover Cc: Hannes Reinecke

[PATCH 3/6] iscsi-target: Enable MaxXmitDataSegmentLength operation in login path

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch activates MaxXmitDataSegmentLength usage that performs the following sequence of events: - Once the incoming initiator's MAXRECVDATASEGMENTLENGTH key is detected within iscsi_check_acceptor_state(), save the requested MRDSL into conn->conn_ops->MaxRecvData

[PATCH 2/6] iscsi-target: Add base MaxXmitDataSegmentLength code

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch introduces a new per connection MaxXmitDataSegmentLength parameter value used to represent the outgoing MaxRecvDataSegmentLength that is actually sent over the wire during iSCSI login response back to the initiator side. It also adds a new MaxXmitDataSegmentLe

[PATCH 0/6] target: Reenable buffered FILEIO + add iscsi-target MXDSL logic

2012-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, This following series is destined for v3.7-rc1 code, and re-adds support for buffered FILEIO + emulate_write_cache=1 emulation removed in v3.5, as well as fixing up a long standing issue wrt to MaxRecvDataSegmentLength handling within iscsi-target code. The la

Re: [PATCH][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread Matthew Wilcox
On Sat, Sep 29, 2012 at 10:52:50PM +0200, Bj??rn Mork wrote: > writes: > > This patch contains MPI API headers > > Why can't this and the other headers be shared between the mpt2sas and > mpt3sas drivers? Looks like you are duplicating a lot of code already > present in drivers/scsi/mpt2sas. Wh

Re: [PATCH v7 2/6] scsi: sr: support runtime pm

2012-09-29 Thread Rafael J. Wysocki
On Saturday, September 29, 2012, Aaron Lu wrote: > On 09/29/2012 10:29 PM, Alan Stern wrote: > > On Sat, 29 Sep 2012, Aaron Lu wrote: > > > >>> I don't think this is a good idea, quite frankly. sr seems to be a too > >>> generic place for that. > >> > >> Does this mean sr can only have code that

Re: [PATCH v7 2/6] scsi: sr: support runtime pm

2012-09-29 Thread Rafael J. Wysocki
On Saturday, September 29, 2012, Alan Stern wrote: > On Sat, 29 Sep 2012, Aaron Lu wrote: > > > > I don't think this is a good idea, quite frankly. sr seems to be a too > > > generic place for that. > > > > Does this mean sr can only have code that is useful to all devices it > > manages? i.e. I

Re: [PATCH v7 2/6] scsi: sr: support runtime pm

2012-09-29 Thread Rafael J. Wysocki
On Saturday, September 29, 2012, Aaron Lu wrote: > [Adding more people and list back in] > > On 09/29/2012 05:46 AM, Rafael J. Wysocki wrote: > > On Friday, September 28, 2012, Aaron Lu wrote: > >> On 09/28/2012 07:15 AM, Rafael J. Wysocki wrote: > >>> On Thursday, September 27, 2012, Aaron Lu wro

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-29 Thread Theodore Kilgore
On Sun, 30 Sep 2012, Adrian Sandu wrote: > > We are working with computers. Weird stuff is not supposed to happen. But > > it does. Occasionally, this needs to be remembered, as it does > > occasionally cause real-world problems and is often the likely explanation > > for what is otherwise inexp

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-29 Thread Peter Stuge
Adrian Sandu wrote: > I wouldn't of expected this from WD .. Like with Theodore's problem you don't really know for sure where the problem was in your setup. Any combination of USB controller hardware in PC, cable, and electronics in drive enclosure can have caused your problem. External disk dr

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-29 Thread Adrian Sandu
> We are working with computers. Weird stuff is not supposed to happen. But > it does. Occasionally, this needs to be remembered, as it does > occasionally cause real-world problems and is often the likely explanation > for what is otherwise inexplicable. Thus, sooner or later some old geezer > com

Re: [PATCH][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread Bjørn Mork
writes: > This patch contains MPI API headers > This patch is part 1 of MPI API headers. > Signed-off-by: Sreekanth Reddy > Reviewed-by: Nagalakshmi Nandigama > --- > > > diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h > new file mode 100644 > index 000..03317

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-29 Thread Theodore Kilgore
On Sat, 29 Sep 2012, Adrian Sandu wrote: > > The only solution I see is to buy something else, like an Asus > > EB1501P-B057E .. I need something small and fast enough .. :| Maybe > > any other recommendations ? ( other root chipset / atom cpu .. small > > powered .. etc. ) > > DON'T KILL ME !

[RESEND][PATCH 20/20][SCSI] mpt3sas: Adding support for MPT3SAS_MINOR(222)

2012-09-29 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #d

[RESEND][PATCH 19/20][SCSI] mpt3sas: Common API headers to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API headers to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h n

[RESEND][PATCH 18/20][SCSI] mpt3sas: Common API to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c new file

[RESEND][PATCH 13/20][SCSI] mpt3sas: Logging Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides Logging Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h b/drivers/scsi/mpt3sas/mpt3sas_debug.h new file mode 100644 index 000..ce70b87

[RESEND][PATCH 12/20][SCSI] mpt3sas: Ioctl Module Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides headers for ioctl Module Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h new file mode 100644 index 000

[RESEND][PATCH 10/20][SCSI] mpt3sas: Common API for accessing firmware configuration pages

2012-09-29 Thread sreekanth.reddy
This patch provides common API for accessing firmware configuration pages Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new file mode 100644 index 000..ce7e59b --- /dev/null +

[RESEND][PATCH 9/20][SCSI] mpt3sas: Common API layer interface headers for access to MPT firmware.

2012-09-29 Thread sreekanth.reddy
This patch contains the Fusion MPT base driver providing common API layer interface headers for access to MPT (Message Passing Technology) firmware. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[RESEND][PATCH 6/20][SCSI] mpt3sas: Part 5 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 5 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new file mode 100644 index 000..d1d9866 --- /dev/null +

[RESEND][PATCH 2/20][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode 100644 index 000..03317ff --- /dev/null +++ b/drive

[RESEND][PATCH 1/20][SCSI] mpt3sas: Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas

2012-09-29 Thread sreekanth.reddy
This patch contains the Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e955978..49244f8 100644 --- a/drivers/scsi/Kconfig ++

[RESEND][PATCH 0/20][SCSI] mpt3sas: Driver submission v01.100.00.00

2012-09-29 Thread sreekanth.reddy
This is new scsi lld device driver from LSI supporting the SAS 3.0 standard. Here is list of new 12gb host controllers: LSI SAS3004 LSI SAS3008 LSI SAS3108 Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- Here is the brief description of patches: [PATCH 01/20] [SCSI]

[PATCH][SCSI] mpt3sas: Adding support for MPT3SAS_MINOR(222)

2012-09-29 Thread sreekanth.reddy
Adding support for MPT3SAS_MINOR(222) Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -34,6 +34,7 @@ #d

[PATCH][SCSI] mpt3sas: Common API headers to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API headers to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h n

[PATCH][SCSI] mpt3sas: Common API to set Diagnostic trigger for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides common API to set Diagnostic trigger for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c new file

[PATCH][SCSI] mpt3sas: Logging Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides Logging Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h b/drivers/scsi/mpt3sas/mpt3sas_debug.h new file mode 100644 index 000..ce70b87

[PATCH][SCSI] mpt3sas: Ioctl Module Support for MPT based controllers

2012-09-29 Thread sreekanth.reddy
This patch provides headers for ioctl Module Support for MPT (Message Passing Technology) based controllers Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h new file mode 100644 index 000

[PATCH][SCSI] mpt3sas: Common API for accessing firmware configuration pages

2012-09-29 Thread sreekanth.reddy
This patch provides common API for accessing firmware configuration pages Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new file mode 100644 index 000..ce7e59b --- /dev/null +

[PATCH][SCSI] mpt3sas: Common API layer interface headers for access to MPT firmware.

2012-09-29 Thread sreekanth.reddy
This patch contains the Fusion MPT base driver providing common API layer interface headers for access to MPT (Message Passing Technology) firmware. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[PATCH][SCSI] mpt3sas: Part 5 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 5 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new file mode 100644 index 000..d1d9866 --- /dev/null +

[PATCH][SCSI] mpt3sas: Paer 1 of MPI API headers

2012-09-29 Thread sreekanth.reddy
This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode 100644 index 000..03317ff --- /dev/null +++ b/drive

[PATCH][SCSI] mpt3sas: Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas

2012-09-29 Thread sreekanth.reddy
This patch contains the Makefile, Kconfig and scsi_transport_sas file changes to support new driver mpt3sas Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e955978..49244f8 100644 --- a/drivers/scsi/Kconfig ++

[PATCH][SCSI] mpt3sas: Driver submission v01.100.00.00

2012-09-29 Thread sreekanth.reddy
This is new scsi lld device driver from LSI supporting the SAS 3.0 standard. Here is list of new 12gb host controllers: LSI SAS3004 LSI SAS3008 LSI SAS3108 Signed-off-by: Sreekanth Reddy Reviewed-by: Nagalakshmi Nandigama --- Here is the brief description of patches: [PATCH 01/20] [SCSI]

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-29 Thread Adrian Sandu
> The only solution I see is to buy something else, like an Asus > EB1501P-B057E .. I need something small and fast enough .. :| Maybe > any other recommendations ? ( other root chipset / atom cpu .. small > powered .. etc. ) DON'T KILL ME ! .. I got the best cables I could get my hands on ( doubl

Re: [PATCH 1/3] Revert "ata: make ata port as parent device of scsi host"

2012-09-29 Thread Sergei Shtylyov
Hello. On 27-09-2012 21:04, Gwendal Grignou wrote: This reverts commit 9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a. Instead, melt libata transport sysfs object in scsi objects. Change-Id: I8c709f63ddf7ba97b9e6f449d5c0b8b85e44e818 Remove this line please, it has no place in the upstream comm

Re: [PATCH 07/17] be2iscsi: Fix the kernel panic in blkiopoll disable mode

2012-09-29 Thread Michael Christie
On Sep 28, 2012, at 8:32 PM, John Soni Jose wrote: > From: Jayamohan Kallickal > > Fix kernel panic issue while running IO in blk_iopoll disable mode. What was the bug exactly? > Creating UNBOUND WQ for each EQ in the driver. What is the benefit of doing this vs per hba like before? Why WQ

[PATCH 16/16] lpfc 8.3.35: Update lpfc version for 8.3.35 driver release

2012-09-29 Thread James Smart
Update lpfc version for 8.3.35 driver release Signed-off-by: James Smart --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h 2012-09-26 20:19:47.

[PATCH 15/16] lpfc 8.3.35: Fixed not reporting logical link speed to SCSI midlayer when QoS not on

2012-09-29 Thread James Smart
Fixed not reporting logical link speed to SCSI midlayer when QoS not on Signed-off-by: James Smart --- lpfc_crtn.h |1 lpfc_hw4.h | 12 + lpfc_init.c | 134 +++- lpfc_scsi.c | 18 +--- lpfc_sli4.h |2 5 files cha

[PATCH 14/16] lpfc 8.3.35: Fix error with fabric service parameters causing performance issues

2012-09-29 Thread James Smart
Fix error with fabric service parameters causing performance issues Signed-off-by: James Smart --- lpfc_els.c |2 ++ 1 file changed, 2 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2012-09-26 21:11:41.1951

[PATCH 13/16] lpfc 8.3.35: Fixed SCSI host create showing wrong link speed on SLI3 HBA ports

2012-09-29 Thread James Smart
Fixed SCSI host create showing wrong link speed on SLI3 HBA ports Signed-off-by: James Smart --- lpfc_init.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/drivers/scsi/lpfc/lpfc_init.c

[PATCH 12/16] lpfc 8.3.35: Fixed not checking solicition in progress bit when verifying FCF record for use

2012-09-29 Thread James Smart
Fixed not checking solicition in progress bit when verifying FCF record for use Signed-off-by: James Smart --- lpfc_hbadisc.c | 11 --- lpfc_hw4.h |8 +++- 2 files changed, 15 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/l

[PATCH 11/16] lpfc 8.3.35: Fixed messages for misconfigured port errors

2012-09-29 Thread James Smart
Fixed messages for misconfigured port errors to be consistent for all OS platforms (108240) Signed-off-by: James Smart --- lpfc_init.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --- a/driver

[PATCH 10/16] lpfc 8.3.35: Fixed kernel warning on spinlock usage on some distributions

2012-09-29 Thread James Smart
Fixed kernel warning on spinlock usage on some distributions Signed-off-by: James Smart --- lpfc_scsi.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c --- a/drivers/scsi/lpfc/lpfc_sc

[PATCH 09/16] lpfc 8.3.35: Fixed PRLI not being retried if a LS_RJT with a reason

2012-09-29 Thread James Smart
Fixed PRLI not being retried if a LS_RJT with a reason Signed-off-by: James Smart --- lpfc_els.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c --- a/drivers/scsi/lpfc/lpfc_els.c 2012-09-26 20:19:4

[PATCH 08/16] lpfc 8.3.35: Correct request_firmware use that was increasing boot times

2012-09-29 Thread James Smart
Correct request_firmware use that was increasing boot times Signed-off-by: James Smart --- lpfc_init.c | 57 +++-- 1 file changed, 31 insertions(+), 26 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_ini

[PATCH 07/16] lpfc 8.3.35: Fix FCP2 Retries for non-r/w commands.

2012-09-29 Thread James Smart
Fix FCP2 Retries for non-r/w commands. Signed-off-by: James Smart --- lpfc_sli.c |2 ++ 1 file changed, 2 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c 2012-09-26 21:11:34.543153866 -0400 +++ b/drivers/scs

[PATCH 06/16] lpfc 8.3.35: Fixed Linux generic firmware download on SLI4 devices with longer module names

2012-09-29 Thread James Smart
Fixed Linux generic firmware download on SLI4 devices with longer module names Signed-off-by: James Smart --- lpfc.h |2 ++ lpfc_init.c |5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h --- a/drivers/scs

[PATCH 05/16] lpfc 8.3.35: Expand I/O channel support for large systems

2012-09-29 Thread James Smart
Expand I/O channel support for large systems Signed-off-by: James Smart --- lpfc_init.c | 40 +--- lpfc_sli4.h |4 +--- 2 files changed, 22 insertions(+), 22 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c --

[PATCH 04/16] lpfc 8.3.35: Correct missing queue destroy on function reset

2012-09-29 Thread James Smart
Correct missing queue destroy on function reset Signed-off-by: James Smart --- lpfc_sli.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c 2012-09-26 21:11:28.318153

[PATCH 03/16] lpfc 8.3.35: Fix incorrect comment in T10 DIF attributes

2012-09-29 Thread James Smart
Fix incorrect comment in T10 DIF attributes Signed-off-by: James Smart --- lpfc_attr.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c --- a/drivers/scsi/lpfc/lpfc_attr.c 2012-09-26 20:19:47.

[PATCH 02/16] lpfc 8.3.35: Added checking BMBX register for RDY bit before writing the first address in

2012-09-29 Thread James Smart
Added checking BMBX register for RDY bit before writing the first address in Signed-off-by: James Smart --- lpfc_sli.c | 75 ++--- 1 file changed, 47 insertions(+), 28 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers

[PATCH 01/16] lpfc 8.3.35: Fix interrupt delay multipler conversion for eq_create

2012-09-29 Thread James Smart
Fix interrupt delay multipler conversion for eq_create Signed-off-by: James Smart --- lpfc_sli.c | 15 +++ lpfc_sli4.h |2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h --- a/drivers/scsi/l

[PATCH 00/16] lpfc 8.3.35: Update lpfc to revision 8.3.35

2012-09-29 Thread James Smart
This patch set updates the lpfc driver to revision 8.3.35 The patches for 8.3.35 contain: - Fix interrupt delay multipler conversion for eq_create - Added checking BMBX register for RDY bit before writing the first address in - Fix incorrect comment in T10 DIF attributes - Correct missing queue d

Re: [PATCH v7 2/6] scsi: sr: support runtime pm

2012-09-29 Thread Aaron Lu
On 09/29/2012 10:29 PM, Alan Stern wrote: > On Sat, 29 Sep 2012, Aaron Lu wrote: > >>> I don't think this is a good idea, quite frankly. sr seems to be a too >>> generic place for that. >> >> Does this mean sr can only have code that is useful to all devices it >> manages? i.e. If a piece of code

Re: [PATCH v7 2/6] scsi: sr: support runtime pm

2012-09-29 Thread Alan Stern
On Sat, 29 Sep 2012, Aaron Lu wrote: > > I don't think this is a good idea, quite frankly. sr seems to be a too > > generic place for that. > > Does this mean sr can only have code that is useful to all devices it > manages? i.e. If a piece of code enables a feature for a special kind of > ODD(l

[patch] [SCSI] mvumi: use GFP_ATOMIC under spin lock

2012-09-29 Thread Dan Carpenter
This is called from the interrupt handler and with spin_locks held. Use GFP_ATOMIC. The call tree looks like: mvumi_isr_handler() <- takes a spin lock -> mvumi_handshake() -> mvumi_init_data() -> mvumi_alloc_mem_resource() <- GFP_KERNEL Signed-off-by: Dan Carpenter diff --git