[PATCH v4 27/43] hpsa: use helper routines for finishing commands

2015-04-16 Thread Don Brace
From: Webb Scales cleanup command completions Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 78 --- 1 file changed, 31 insertions(+), 47 deletions(-) diff

[PATCH v4 38/43] hpsa: use scsi host_no as hpsa controller number

2015-04-16 Thread Don Brace
Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 134 --- 1 file changed, 74 insertions(+), 60 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index f6dddc7..f65333d 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi

[PATCH v4 41/43] hpsa: change driver version

2015-04-16 Thread Don Brace
update driver version Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a596de5..4b4df66 100644 --- a/drivers/scsi/hpsa.c

[PATCH v4 30/43] hpsa: performance tweak for hpsa_scatter_gather()

2015-04-16 Thread Don Brace
iteration inside the loop. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 39 --- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi

[PATCH v4 43/43] hpsa: add in new controller id

2015-04-16 Thread Don Brace
add in support for latest PMC controller Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 5fc4118..910d748 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -132,6 +132,7

[PATCH v4 40/43] hpsa: cleanup reset

2015-04-16 Thread Don Brace
both types of waits. Also, don't complete commands which are terminated due to a reset operation. fix for controller lockup during reset Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c

[PATCH v4 33/43] hpsa: cleanup for init_one step 2 in kdump

2015-04-16 Thread Don Brace
off-by: Don Brace --- drivers/scsi/hpsa.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index dc8299c..99fd4d3 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -7395,6 +7395,16 @@ stati

[PATCH v4 32/43] hpsa: skip free_irq calls if irqs are not allocated

2015-04-16 Thread Don Brace
: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 8aeef06..dc8299c 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

[PATCH v4 42/43] hpsa: add PMC to copyright

2015-04-16 Thread Don Brace
need to add PMC to copyright notice and update the Hewlett-Packard copyright notification. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Justin Lindley Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |3 ++- drivers/scsi/hpsa.h |3 ++- drivers/scsi

[PATCH v4 28/43] hpsa: don't return abort request until target is complete

2015-04-16 Thread Don Brace
he abort handler check that the scsi_cmd pointer in the CommadList struct matches the scsi_cmnd that it has been asked to abort. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c

[PATCH v4 37/43] hpsa: use block layer tag for command allocation

2015-04-16 Thread Don Brace
attached. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 154 ++- drivers/scsi/hpsa.h |1 2 files changed, 126 insertions(+), 29 deletions(-) diff --git a/drivers

[PATCH v4 36/43] hpsa: add interrupt number to /proc/interrupts interrupt name

2015-04-16 Thread Don Brace
PCI bus went from 32 to 64 bits wide. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 20 ++-- drivers/scsi/hpsa.h |1 + 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a

[PATCH v4 34/43] hpsa: fix try_soft_reset error handling

2015-04-16 Thread Don Brace
From: Robert Elliott If registering the special interrupt handlers in hpsa_init_one before a soft reset fails, the error exit needs to deallocate everything that was allocated before. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace

[PATCH v4 35/43] hpsa: create workqueue after the driver is ready for use

2015-04-16 Thread Don Brace
right order in hpsa_undo_allocations_after_kdump_soft_reset too. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 60 ++- 1 file changed, 31 insertions(+), 29 dele

[PATCH v4 29/43] hpsa: refactor and rework support for sending TEST_UNIT_READY

2015-04-16 Thread Don Brace
-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 117 ++- 1 file changed, 87 insertions(+), 30 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index ef2d209..753026a 100644 --- a/drivers/scsi/hpsa.c +++ b

[PATCH v4 39/43] hpsa: propagate the error code in hpsa_kdump_soft_reset

2015-04-16 Thread Don Brace
From: Robert Elliott If hpsa_wait_for_board_state fails, hpsa_kdump_soft_reset should propagate its return value (e.g., -ENODEV) rather than just returning -1. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c

[PATCH v4 31/43] hpsa: call pci_release_regions after pci_disable_device

2015-04-16 Thread Don Brace
er to print anything. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace < don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/hpsa.c b/dr

[PATCH v5 03/42] hpsa: rework controller command submission

2015-04-23 Thread Don Brace
t_controller_lockup() to return the result, to remove the need for a separate check. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 334 +++ drivers/scsi/hpsa_c

[PATCH v5 01/42] hpsa: add masked physical devices into h->dev[] array

2015-04-23 Thread Don Brace
ical disk in hpsa_get_pdisk_of_ioaccel2(), just get it out of h->dev[] where we already have it cached. do not touch phys_disk[] for ioaccel enabled logical drives during rescan Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-of

[PATCH v5 00/42] hpsa updates

2015-04-23 Thread Don Brace
annes Reinecke) - moved driver version patch to the end of the patchset (Hannes Reinecke) --- Don Brace (2): hpsa: add in new controller id hpsa: change driver version Joe Handzik (3): hpsa: use ioaccel2 path to submit IOs to physical drives in HBA mode. hpsa: Get queue depth

[PATCH v5 04/42] hpsa: clean up aborts

2015-04-23 Thread Don Brace
commands. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 176 +-- drivers/scsi/hpsa.h |4 + 2 files changed, 147 insertions(+), 33

[PATCH v5 02/42] hpsa: clean up host, channel, target, lun prints

2015-04-23 Thread Don Brace
-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 70 ++- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 0ffbddb..c365cb6 100644

[PATCH v5 05/42] hpsa: decrement h->commands_outstanding in fail_all_outstanding_cmds

2015-04-23 Thread Don Brace
From: Stephen Cameron make tracking of outstanding commands more robust Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH v5 07/42] hpsa: allow lockup detected to be viewed via sysfs

2015-04-23 Thread Don Brace
From: Stephen Cameron expose a detected lockup via sysfs Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 17 + 1 file changed, 17 insertions(+) diff --git a

[PATCH v5 14/42] hpsa: use ioaccel2 path to submit IOs to physical drives in HBA mode.

2015-04-23 Thread Don Brace
From: Joe Handzik use ioaccel2 path to submit I/O to physical drives in HBA mode Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Joe Handzik Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 10 +- drivers

[PATCH v5 08/42] hpsa: make function names consistent

2015-04-23 Thread Don Brace
From: Robert Elliott make function names more consistent and meaningful Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 14 -- 1 file

[PATCH v5 06/42] hpsa: hpsa decode sense data for io and tmf

2015-04-23 Thread Don Brace
r example. The "ScsiStatus" field of the errinfo field will contain the TMF function status value. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 145 --- drive

[PATCH v5 15/42] hpsa: Get queue depth from identify physical bmic for physical disks.

2015-04-23 Thread Don Brace
From: Joe Handzik get drive queue depth to help avoid task set full conditions. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Joe Handzik Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 33

[PATCH v5 18/42] hpsa: refactor freeing of resources into more logical functions

2015-04-23 Thread Don Brace
From: Robert Elliott refactor freeing of resources into more logical functions Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 104

[PATCH v5 12/42] hpsa: factor out hpsa_ioaccel_submit function

2015-04-23 Thread Don Brace
From: Webb Scales clean up command submission Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 91 +-- 1

[PATCH v5 17/42] hpsa: clean up error handling

2015-04-23 Thread Don Brace
Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 92 --- 1 file changed, 58 insertions(+), 34 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a9b314d..a2c7b43 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

[PATCH v5 10/42] hpsa: do not ignore return value of hpsa_register_scsi

2015-04-23 Thread Don Brace
From: Stephen Cameron add error handling for failure when registering with SCSI subsystem. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |4 +++- 1 file changed, 3 insertions

[PATCH v5 16/42] hpsa: break hpsa_free_irqs_and_disable_msix into two functions

2015-04-23 Thread Don Brace
From: Robert Elliott replace calls to hpsa_free_irqs_and_disable_msix with hpsa_free_irqs and hpsa_disable_interrupt_mode Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace

[PATCH v5 13/42] hpsa: print accurate SSD Smart Path Enabled status

2015-04-23 Thread Don Brace
Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 350a76a..1aa36e6 100644 --- a/drivers/scsi/hpsa.c

[PATCH v5 09/42] hpsa: factor out hpsa_init_cmd function

2015-04-23 Thread Don Brace
submitting down the RAID stack path after ioaccel command completion. This saves time when submitting commands. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 77

[PATCH v5 11/42] hpsa: try resubmitting down raid path on task set full

2015-04-23 Thread Don Brace
From: Stephen Cameron allow the controller firmware to queue up commands when the ioaccel device queue is full. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |3 +-- 1 file

[PATCH v5 21/42] hpsa: do not check cmd_alloc return value - it cannnot return NULL

2015-04-23 Thread Don Brace
From: Robert Elliott cmd_alloc can no longer return NULL, so don't check for NULL any more (which is unreachable code). Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don

[PATCH v5 20/42] hpsa: add more ioaccel2 error handling, including underrun statuses.

2015-04-23 Thread Don Brace
From: Joe Handzik improve ioaccel2 error handling, including better handling of underrun statuses Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Joe Handzik Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 31 ++- drivers/scsi

[PATCH v5 22/42] hpsa: correct return values from driver functions.

2015-04-23 Thread Don Brace
From: Robert Elliott correct return codes for error conditions Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott igned-off-by: Don Brace --- drivers/scsi/hpsa.c | 10 +- 1 file changed, 5

[PATCH v5 24/42] hpsa: clean up some error reporting output in abort handler

2015-04-23 Thread Don Brace
From: Robert Elliott report more useful information on aborts Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 24 +++- 1 file

[PATCH v5 19/42] hpsa: add ioaccel sg chaining for the ioaccel2 path

2015-04-23 Thread Don Brace
, which does not call another hpsa_allocate function and only has -ENOMEM to return from some kmalloc calls. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 125

[PATCH v5 27/42] hpsa: use helper routines for finishing commands

2015-04-23 Thread Don Brace
From: Webb Scales cleanup command completions Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 78 --- 1

[PATCH v5 23/42] hpsa: clean up driver init

2015-04-23 Thread Don Brace
-off-by: Don Brace --- drivers/scsi/hpsa.c | 243 +-- 1 file changed, 157 insertions(+), 86 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 4418ffd..df2c825 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

[PATCH v5 26/42] hpsa: add support sending aborts to physical devices via the ioaccel2 path

2015-04-23 Thread Don Brace
From: Stephen Cameron add support for tmf when in ioaccel2 mode Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Joe Handzik Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 136

[PATCH v5 29/42] hpsa: refactor and rework support for sending TEST_UNIT_READY

2015-04-23 Thread Don Brace
-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 117 ++- 1 file changed, 87 insertions(+), 30 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH v5 31/42] hpsa: call pci_release_regions after pci_disable_device

2015-04-23 Thread Don Brace
er to print anything. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace < don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 17 + 1 file changed, 13 insertion

[PATCH v5 32/42] hpsa: skip free_irq calls if irqs are not allocated

2015-04-23 Thread Don Brace
: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 83f91c5..c5fbee7 100644

[PATCH v5 30/42] hpsa: performance tweak for hpsa_scatter_gather()

2015-04-23 Thread Don Brace
iteration inside the loop. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 39 --- 1 file changed, 28 insertions(+), 11

[PATCH v5 34/42] hpsa: fix try_soft_reset error handling

2015-04-23 Thread Don Brace
Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index d2d3a43..e685b86 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

[PATCH v5 25/42] hpsa: do not print ioaccel2 warning messages about unusual completions.

2015-04-23 Thread Don Brace
Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 24 1 file changed, 24 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 224fc48..870cf57 100644 --- a/drivers

[PATCH v5 35/42] hpsa: create workqueue after the driver is ready for use

2015-04-23 Thread Don Brace
right order in hpsa_undo_allocations_after_kdump_soft_reset too. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |

[PATCH v5 28/42] hpsa: don't return abort request until target is complete

2015-04-23 Thread Don Brace
he abort handler check that the scsi_cmd pointer in the CommadList struct matches the scsi_cmnd that it has been asked to abort. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- driv

[PATCH v5 33/42] hpsa: cleanup for init_one step 2 in kdump

2015-04-23 Thread Don Brace
Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index c5fbee7..d2d3a43 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -7382,6 +7

[PATCH v5 38/42] hpsa: use scsi host_no as hpsa controller number

2015-04-23 Thread Don Brace
Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 134 --- 1 file changed, 74 insertions(+), 60 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 674d55a..7b82c67

[PATCH v5 42/42] hpsa: change driver version

2015-04-23 Thread Don Brace
update driver version Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH v5 37/42] hpsa: use block layer tag for command allocation

2015-04-23 Thread Don Brace
attached. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett eviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 159 +-- drivers/scsi/hpsa.h |1 2 files changed

[PATCH v5 40/42] hpsa: cleanup reset

2015-04-23 Thread Don Brace
both types of waits. Also, don't complete commands which are terminated due to a reset operation. fix for controller lockup during reset Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Webb Scales Signed-off-by:

[PATCH v5 39/42] hpsa: propagate the error code in hpsa_kdump_soft_reset

2015-04-23 Thread Don Brace
Brace --- drivers/scsi/hpsa.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 7b82c67..bb0bdf7 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -7444,19 +7444,22 @@ static int hpsa_request_irqs(struct

[PATCH v5 36/42] hpsa: add interrupt number to /proc/interrupts interrupt name

2015-04-23 Thread Don Brace
PCI bus went from 32 to 64 bits wide. Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Robert Elliott Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 20 ++-- drivers/scsi/hpsa.h |1 + 2 files

[PATCH v5 41/42] hpsa: add in new controller id

2015-04-23 Thread Don Brace
add in support for latest PMC controller Reviewed-by: Scott Teel Reviewed-by: Tomas Henzl Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 9de7173..1aebcfe

[PATCH 3/3] hpsa: add box and bay information for enclosure devices

2015-12-09 Thread Don Brace
Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 108 --- drivers/scsi/hpsa_cmd.h | 13 ++ 2 files changed, 114 insertions(+), 7 deletions(-) diff --git a

[PATCH 1/3] hpsa: fix path_info_show

2015-12-09 Thread Don Brace
left off some changes from Rasmus Villemoes where he changed snprintf to scnprintf Suggested-by: Rasmus Villemoes Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 12 ++-- 1 file changed, 6 insertions

[PATCH 0/3] hpsa update

2015-12-09 Thread Don Brace
These patches are based on Linus's tree The changes are: - correct missing changes from snprintf to scnprintf in path_info_show by Rasmus Villemoes - fix reported bus for SAS transport devices - add in enclosure information --- Don Brace (3): hpsa: fix path_info_show

[PATCH 2/3] hpsa: change SAS transport devices to bus 0.

2015-12-09 Thread Don Brace
sas transport places devices on bus 0 but driver was setting the bus to 3. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi

Re: [PATCH 2/3] hpsa: change SAS transport devices to bus 0.

2015-12-15 Thread Don Brace
On 12/09/2015 05:21 PM, Matthew R. Ochs wrote: On Dec 9, 2015, at 3:18 PM, Don Brace wrote: sas transport places devices on bus 0 but driver was setting the bus to 3. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi

[PATCH v1 0/3] hpsa update

2015-12-15 Thread Don Brace
n for patch hpsa-add-enclosure-connection-box-bay-information - kept hpsa-change-hba-controller-to-bus-0 the same to minimize changes. --- Don Brace (3): hpsa: fix path_info_show hpsa: change SAS transport devices to bus 0. hpsa: add box and bay information for enclosure de

[PATCH v1 2/3] hpsa: change SAS transport devices to bus 0.

2015-12-15 Thread Don Brace
sas transport places devices on bus 0 but driver was setting the bus to 3. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi

[PATCH v1 3/3] hpsa: add box and bay information for enclosure devices

2015-12-15 Thread Don Brace
Adding a new method to display enclosure device information. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 108 --- drivers/scsi/hpsa_cmd.h | 13 ++ 2

[PATCH v1 1/3] hpsa: fix path_info_show

2015-12-15 Thread Don Brace
left off some changes from Rasmus Villemoes where he changed snprintf to scnprintf Suggested-by: Rasmus Villemoes Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Rasmus Villemoes Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 12

Re: [PATCH 3/3] hpsa: add box and bay information for enclosure devices

2015-12-21 Thread Don Brace
On 12/18/2015 02:19 PM, Matthew R. Ochs wrote: Hi Don, Did you see these comments I had from my review of this patch? -matt On Dec 9, 2015, at 5:41 PM, Matthew R. Ochs wrote: On Dec 9, 2015, at 3:18 PM, Don Brace wrote: No commit message? You can disregard this one as I saw you

[PATCH v2 0/3] hpsa updates

2015-12-21 Thread Don Brace
ction hpsa_get_enclosure_info - removed memset on a kzalloc'ed buffer - do not fill out enclosure info on tape and medium changer devices. - changed hpsa_get_enclosure_info to type void. --- Don Brace (3): hpsa: fix path_info_show hpsa: change SAS transport device

[PATCH v2 1/3] hpsa: fix path_info_show

2015-12-21 Thread Don Brace
left off some changes from Rasmus Villemoes where he changed snprintf to scnprintf Suggested-by: Rasmus Villemoes Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Rasmus Villemoes Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers

[PATCH v2 2/3] hpsa: change SAS transport devices to bus 0.

2015-12-21 Thread Don Brace
sas transport places devices on bus 0 but driver was setting the bus to 3. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Matthew R. Ochs Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.h |2 +- 1 file changed, 1

[PATCH v2 3/3] hpsa: add box and bay information for enclosure devices

2015-12-21 Thread Don Brace
Adding a new method to display enclosure device information. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 107 --- drivers/scsi

[PATCH v3 0/3] hpsa update

2015-12-22 Thread Don Brace
sorry about that. --- Don Brace (3): hpsa: fix path_info_show hpsa: change SAS transport devices to bus 0. hpsa: add box and bay information for enclosure devices drivers/scsi/hpsa.c | 117 ++- drivers/scsi/hpsa.h |2 - dri

[PATCH v3 1/3] hpsa: fix path_info_show

2015-12-22 Thread Don Brace
left off some changes from Rasmus Villemoes where he changed snprintf to scnprintf Suggested-by: Rasmus Villemoes Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Rasmus Villemoes Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers

[PATCH v3 2/3] hpsa: change SAS transport devices to bus 0.

2015-12-22 Thread Don Brace
sas transport places devices on bus 0 but driver was setting the bus to 3. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Matthew R. Ochs Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.h |2 +- 1 file changed, 1

[PATCH v3 3/3] hpsa: add box and bay information for enclosure devices

2015-12-22 Thread Don Brace
Adding a new method to display enclosure device information. Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Reviewed-by: Scott Teel Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 107 --- drivers/scsi

[PATCH] scsi update

2016-01-20 Thread Don Brace
This patch is based on Linus tree The change is: - export sanitize_inquiry_string --- Don Brace (1): scsi: export function scsi_scan.c:sanitize_inquiry_string drivers/scsi/scsi_scan.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) -- Signature -- To unsubscribe

[PATCH] scsi: export function scsi_scan.c:sanitize_inquiry_string

2016-01-20 Thread Don Brace
review: https://www.marc.info/?l=linux-scsi&m=144619249003064&w=2 that using the existing function in scsi_scan would be preferrable. Suggested-by: Hannes Reinecke Reviewed-by: Kevin Barnett Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Hannes Reinecke Signed-off-by: D

Re: [PATCH] scsi: export function scsi_scan.c:sanitize_inquiry_string

2016-01-22 Thread Don Brace
On 01/20/2016 01:41 PM, Don Brace wrote: The hpsa driver uses this function to cleanup inquiry data. Our new pqi driver will also use this function. This function was copied into both drivers. This patch exports sanitize_inquiry_string so the hpsa and the pqi drivers can use this function

[PATCH V1] scsi: export function scsi_scan.c:sanitize_inquiry_string

2016-01-27 Thread Don Brace
ed prototype for sanitize_inquiry_string to scsi_device.h Suggested-by: Hannes Reinecke Suggested-by: Matthew R. Ochs mro...@linux.vnet.ibm.com Reviewed-by: Kevin Barnett Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Hannes Reinecke Signed-off-by: Don Brace --- drivers/

[PATCH V1] scsi update

2016-01-27 Thread Don Brace
This patch is based on Linus's tree The change is: - export sanitize_inquiry_string Changes from initial upload: - Added prototype to scsi_device.h --- Don Brace (1): scsi: export function scsi_scan.c:sanitize_inquiry_string drivers/scsi/scsi_scan.c | 12 +++- in

[PATCH 2/7] hpsa: add SMR drive support

2016-02-23 Thread Don Brace
Reviewed-by: Mahesh Rajashekhara Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 1/7] hpsa: do not get enclosure info for external devices

2016-02-23 Thread Don Brace
Stop annoying "Error, could not get enclosure information" messages. Reviewed-by: Mahesh Rajashekhara Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |7 +-- 1 file changed, 5 insertions(+), 2

[PATCH 7/7] hpsa: update copyright information

2016-02-23 Thread Don Brace
Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |3 ++- drivers/scsi/hpsa.h |3 ++- drivers/scsi/hpsa_cmd.h |3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi

[PATCH 6/7] hpsa: remove function definition for sanitize_inquiry_string

2016-02-23 Thread Don Brace
eviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index edbecf8..725eb8d 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -3665,

[PATCH 3/7] hpsa: correct lun data caching bitmap definition

2016-02-23 Thread Don Brace
The bitmap was changed after this definition was added to the driver. Correcting the bitmap definition. Reviewed-by: Mahesh Rajashekhara Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa_cmd.h |2 +- 1 file

[PATCH 5/7] hpsa: check for a null phys_disk pointer in ioaccel2 path

2016-02-23 Thread Don Brace
Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 589b44e..edbecf8 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers

[PATCH 4/7] hpsa: correct abort tmf for hba devices

2016-02-23 Thread Don Brace
Aborts were not being sent down to HBA devices Reviewed-by: Mahesh Rajashekhara Reviewed-by: Justin Lindley Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a

[PATCH 0/7] hpsa updates

2016-02-23 Thread Don Brace
n for sanitize_inquiry_string This patch depends on - commit ac10a3e4ed64 ("Export function scsi_scan.c:sanitize_inquiry_string") - update copyright information --- Don Brace (7): hpsa: do not get enclosure info for external devices hpsa: add SMR drive support hpsa: c

[PATCH] hpsa update

2016-02-23 Thread Don Brace
These patch is based on Linus's tree The change is: - update MAINTAINERS file --- Don Brace (1): hpsa: update MAINTAINERS with new e-mail MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Signature -- To unsubscribe from this list: send the line "u

[PATCH] hpsa: update MAINTAINERS with new e-mail

2016-02-23 Thread Don Brace
Reviewed-by: Kevin Barnett Reviewed-by: Justin Lindley Signed-off-by: Don Brace --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4978dc1..b639c26 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4985,9 +4985,9 @@ F

RE: [PATCH] hpsa: move lockup_detected attribute to host attr

2015-09-08 Thread Don Brace
> -Original Message- > From: Tomas Henzl [mailto:the...@redhat.com] > Sent: Monday, September 07, 2015 11:15 AM > To: linux-scsi@vger.kernel.org > Cc: Don Brace; Justin Lindley; elli...@hp.com; Kevin Barnett; Scott Teel; > h...@infradead.org > Subject: [PATCH] hpsa:

[PATCH] hpsa update

2015-09-29 Thread Don Brace
This patch is based on Linus's tree I could use some help with this patch. We are adding in the sas transport layer for our HBA devices. I am having issues removing the sas transport entries during driver unload. The entries are removed in what appears to be the proper order but I am getting a b

[PATCH] hpsa: add in sas transport

2015-09-29 Thread Don Brace
From: Kevin Barnett customers want lsscsi -t to show sas addresses when enumerating sas devices. The sas addresses are used mainly to light drive LEDs for location. Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 704 ++- drivers/scsi/hpsa.h

Re: hpsa failure with 4.3.0-rc1

2015-09-30 Thread Don Brace
I reported this a little while ago: http://marc.info/?l=linux-kernel&m=144284810906949&w=2 It did clear up between rc1 and rc3. Not sure what changes were applied in-between. On 09/30/2015 02:40 AM, Hannes Reinecke wrote: Hi all, trying to boot 4.3.0-rc1 on a system with hpsa results in a sw

RE: [PATCH] hpsa: add in sas transport

2015-10-20 Thread Don Brace
> -Original Message- > From: Hannes Reinecke [mailto:h...@suse.de] > Sent: Wednesday, September 30, 2015 2:50 AM > To: Don Brace; linux-scsi@vger.kernel.org > Subject: Re: [PATCH] hpsa: add in sas transport > > On 09/30/2015 12:21 AM, Don Brace wrote: &g

[PATCH 02/21] hpsa: allow driver requested rescans

2015-10-24 Thread Don Brace
Reviewed-by: Scott Teel Reviewed-by: Justin Lindley Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 16 ++-- drivers/scsi/hpsa.h |1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH 03/21] hpsa: abandon rescans on memory alloaction failures.

2015-10-24 Thread Don Brace
Lindley Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 5dfb6cf..e1ee06d 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi

<    1   2   3   4   5   6   7   8   9   10   >