[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

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(like the

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 enables a

[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

[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 james.sm...@emulex.com --- lpfc_sli.c | 15 +++ lpfc_sli4.h |2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli4.h

[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 james.sm...@emulex.com --- lpfc_sli.c | 75 ++--- 1 file changed, 47 insertions(+), 28 deletions(-) diff -upNr

[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 james.sm...@emulex.com --- 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

[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 james.sm...@emulex.com --- 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

[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 james.sm...@emulex.com --- lpfc_init.c | 40 +--- lpfc_sli4.h |4 +--- 2 files changed, 22 insertions(+), 22 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c

[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 james.sm...@emulex.com --- lpfc.h |2 ++ lpfc_init.c |5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc.h

[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 james.sm...@emulex.com --- 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

[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 james.sm...@emulex.com --- lpfc_init.c | 57 +++-- 1 file changed, 31 insertions(+), 26 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_init.c

[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 james.sm...@emulex.com --- 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

[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 james.sm...@emulex.com --- 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 ---

[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 james.sm...@emulex.com --- lpfc_init.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff -upNr 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 james.sm...@emulex.com --- lpfc_hbadisc.c | 11 --- lpfc_hw4.h |8 +++- 2 files changed, 15 insertions(+), 4 deletions(-) diff -upNr

[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 james.sm...@emulex.com --- 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 ---

[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 james.sm...@emulex.com --- 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

[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 james.sm...@emulex.com --- lpfc_crtn.h |1 lpfc_hw4.h | 12 + lpfc_init.c | 134 +++- lpfc_scsi.c | 18 +---

[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 james.sm...@emulex.com --- 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 ---

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 sony.joh...@emulex.com wrote: From: Jayamohan Kallickal jayamohan.kallic...@emulex.com 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

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

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 (

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- Here is

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c new

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0549d211..9c9ba04 100644 --- a/include/linux/miscdevice.h

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- Here is

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h b/drivers/scsi/mpt3sas/mpi/mpi2.h new file mode

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_raid.h b/drivers/scsi/mpt3sas/mpi/mpi2_raid.h new

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_debug.h

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c

[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 sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git

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

2012-09-29 Thread Bjørn Mork
sreekanth.re...@lsi.com writes: This patch contains MPI API headers This patch is part 1 of MPI API headers. Signed-off-by: Sreekanth Reddy sreekanth.re...@lsi.com Reviewed-by: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com --- diff --git a/drivers/scsi/mpt3sas/mpi/mpi2.h

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 ! .. I got

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 comes

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

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

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 wrote: On

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. If a piece of

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 is useful to all

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: sreekanth.re...@lsi.com 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