[PATCH] MAINTAINERS: Change hpsa and cciss maintainer

2014-10-15 Thread Don Brace
Change ownership of the hpsa driver from Stephen M. Cameron (Hewlett-Packard) to Don Brace (PMC-Sierra). Change ownership of the cciss driver from Mike Miller (Hewlett-Packard) to Don Brace (PMC-Sierra). Reviewed-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

Re: [PATCH 1/1 linux-next] hpsa: remove set but unused variable rc

2014-10-30 Thread Don Brace
of patches for 3.19 or ack this now, What would you prefer? --- Don Brace don.br...@pmcs.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 02/13] hpsa: remove dev_warn prints from RAID-1ADM

2014-11-14 Thread Don Brace
From: Robert Elliott elli...@hp.com RAID-1ADM is unusable with dev_warn called on every command. Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Stephen M. Cameron stephenmcame...@gmail.com Reviewed-by: Webb Scales web...@hp.com --- drivers

[PATCH 01/13] hpsa: Clean up warnings from sparse.

2014-11-14 Thread Don Brace
Clean up issues reported when running sparse. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Webb Scales webb.sca...@hp.com --- drivers/scsi/hpsa.c | 29 - drivers/scsi/hpsa.h |6 +++--- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git

[PATCH 00/13] hpsa update

2014-11-14 Thread Don Brace
This patch set is based on Linus's tree. The changes are: - correct warnings from sparse - updates for some error handling issues - general code cleanup - performance enhancements based on removing spin_locks --- Don Brace (1): hpsa: Clean up warnings from sparse. Nicholas Bellinger

[PATCH 08/13] hpsa: get rid of type/attribute/direction bit field where possible

2014-11-14 Thread Don Brace
of the userland ABI. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Webb Scales webb.sca...@hp.com --- drivers/scsi/hpsa.c | 58 --- drivers/scsi/hpsa_cmd.h | 18 +++ 2 files changed, 42 insertions(+), 34 deletions(-) diff

[PATCH 11/13] hpsa: Convert SCSI LLD -queuecommand() for host_lock less operation

2014-11-14 Thread Don Brace
From: Nicholas Bellinger n...@linux-iscsi.org There isn't anything in hpsa that requires the host lock to be held during queuecommand. Signed-off-by: Don Brace don.br...@pmcs.com Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org Reviewed-by: Stephen M. Cameron stephenmcame...@gmail.com

[PATCH 07/13] hpsa: fix endianness issue with scatter gather elements

2014-11-14 Thread Don Brace
). Signed-off-by: Don Brace don.br...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Reviewed-by: Webb Scales web...@hp.com --- drivers/scsi/hpsa.c | 223 +-- drivers/scsi/hpsa_cmd.h | 14 +-- 2 files changed, 107 insertions(+), 130 deletions

[PATCH 04/13] hpsa: correct off-by-one sizing of chained SG block

2014-11-14 Thread Don Brace
From: Webb Scales web...@hp.com Correct the size calculation of the chained SG block Signed-off-by: Don Brace don.br...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Reviewed-by: Stephen M. Cameron stephenmcame...@gmail.com Reviewed-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c

[PATCH 06/13] hpsa: fix allocation sizes for CISS_REPORT_LUNs commands

2014-11-14 Thread Don Brace
and physical sizes separately. Allocate the memory based on the specific data structure sizes. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Webb Scales webb.sca...@hp.com --- drivers/scsi/hpsa.c | 14 +++--- drivers/scsi/hpsa_cmd.h |2 +- 2 files changed, 8 insertions(+), 8

[PATCH 10/13] hpsa: do not be so noisy about check conditions

2014-11-14 Thread Don Brace
From: Stephen M. Cameron stephenmcame...@gmail.com We were printing a lot of useless information before ultimately just passing things up to the SCSI mid layer. Just let the midlayer handle it without LLD chatter. Signed-off-by: Don Brace don.br...@pmcs.com Signed-off-by: Stephen M. Cameron

[PATCH 12/13] hpsa: always call pci_set_master after pci_enable_device

2014-11-14 Thread Don Brace
that after pci_request_regions both in the kdump code and the normal pci_init code. Remove the comment summarizing what pci_set_master does, with the incomplete commentary on the impact of pci_disable_device. Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH 09/13] hpsa: use atomics for commands_outstanding

2014-11-14 Thread Don Brace
From: Stephen M. Cameron stephenmcame...@gmail.com Use atomics for commands_outstanding instead of protecting with spin locks. Signed-off-by: Don Brace don.br...@pmcs.com Signed-off-by: Stephen M. Cameron stephenmcame...@gmail.com Reviewed-by: Joe Handzik joseph.t.hand...@hp.com --- drivers

[PATCH 05/13] hpsa: remove 'action required' phrasing

2014-11-14 Thread Don Brace
From: Stephen M. Cameron stephenmcame...@gmail.com In the case of LUN data changing, the driver will auto rescan and so it's not even true that action is required. Remove action required phrases from warning messages and replace with description phrases. Signed-off-by: Don Brace don.br

[PATCH 13/13] hpsa: remove spin lock around command allocation

2014-11-14 Thread Don Brace
From: Stephen M. Cameron stephenmcame...@gmail.com It is already using atomic test_and_set_bit to do the allocation. There is some microscopic chance of starvation, but it is so microscopic that it should never happen in reality. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Webb

[PATCH 03/13] hpsa: fix a couple pci id table mistakes

2014-11-14 Thread Don Brace
From: Stephen M. Cameron scame...@beardog.cce.hp.com Fix a couple of pci id table mistakes: Subdevice ID 0x3323 missing from product[] table (another name for HP Smart Storage 1210m) Bogus 0x1925 subdevice id removed from hpsa_pci_device_id[] (no such thing.) Signed-off-by: Don Brace

[PATCH v2 31/48] hpsa: count passthru cmds with atomics, not a spin locked int

2015-01-23 Thread Don Brace
Performance enhancement. Remove spin_locks from the driver. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 39 +-- drivers/scsi/hpsa.h |3 +-- 2 files changed, 6 insertions(+), 36

[PATCH v2 33/48] hpsa: do not check for msi(x) in interrupt_pending

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com No need to check whether interrupt pending for MSI(X) and conversely, no need to check whether MSI(X) interrupts are being used when checking if interrupts are pending. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br

[PATCH v2 28/48] hpsa: honor queue depth of physical devices

2015-01-23 Thread Don Brace
to parity drives. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 318 +-- drivers/scsi/hpsa.h | 14 ++ drivers/scsi/hpsa_cmd.h | 148

[PATCH v2 32/48] hpsa: slightly optimize SA5_performant_completed

2015-01-23 Thread Don Brace
Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 1856445..aa6cb0b 100644 --- a/drivers/scsi/hpsa.h +++ b

[PATCH v2 27/48] hpsa: use workqueue to resubmit failed ioaccel commands

2015-01-23 Thread Don Brace
, and prevent excessive rescanning of devices. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 72 ++- drivers/scsi/hpsa.h |1 + drivers/scsi/hpsa_cmd.h |1 + 3 files

[PATCH v2 22/48] hpsa: reserve some commands for use by driver

2015-01-23 Thread Don Brace
commands internally in the driver so that we can remove the locks thta protect the queue that we will no longer have. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |7 +-- drivers/scsi/hpsa.h |2 ++ 2 files changed, 7

[PATCH v2 14/48] hpsa: refactor hpsa_find_board_params() to encapsulate legacy test

2015-01-23 Thread Don Brace
From: Webb Scales web...@hp.com Encapsulate the conditional predicate which tests for legacy controllers in a separate function and rework the code comments. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH v2 17/48] hpsa: rename hpsa_request_irq to hpsa_request_irqs

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Make the function name more descriptive. We use more than one interrupt. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 11 ++- 1 file

[PATCH v2 20/48] hpsa: fix memory leak in hpsa_alloc_cmd_pool

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Partial allocation failure wasn't handled correctly Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |6 +- 1 file changed, 5 insertions(+), 1

[PATCH v2 15/48] hpsa: trivial message and comment clean ups

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Cleanup comments to be more specific. Make messages more informational. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 21

[PATCH v2 18/48] hpsa: pass error from pci_set_consistent_dma_mask from hpsa_message

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Return the actual error code instead of a generic error code. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion

[PATCH v2 16/48] hpsa: report failure to ioremap config table

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Enhance error reporting. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 25/48] hpsa: do not request device rescan on every ioaccel path error

2015-01-23 Thread Don Brace
...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 14 ++ drivers/scsi/hpsa.h |1 - 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 70f07af..94a82e3 100644 --- a/drivers/scsi/hpsa.c

[PATCH v2 24/48] hpsa: do not queue commands internally in driver

2015-01-23 Thread Don Brace
-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 306 +-- drivers/scsi/hpsa.h | 17 --- drivers/scsi/hpsa_cmd.h | 10 -- 3 files changed, 38 insertions(+), 295 deletions(-) diff --git

[PATCH v2 26/48] hpsa: factor out hpsa_ciss_submit function

2015-01-23 Thread Don Brace
of the ioaccellerated paths but which have some sort of error condition are retried down the normal path. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 126 +++ 1 file changed, 67

[PATCH v2 29/48] hpsa: fix race between abort handler and main i/o path

2015-01-23 Thread Don Brace
hpsa_drain_accel_commands to use the reference count as the authoritative indicator of whether a command is allocated instead of the h-cmd_pool_bits bitmap. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 109

[PATCH v2 23/48] hpsa: get rid of cmd_special_alloc and cmd_special_free

2015-01-23 Thread Don Brace
-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 106 ++- drivers/scsi/hpsa.h |2 - 2 files changed, 31 insertions(+), 77 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 99c32a0..26e3e5b 100644 --- a/drivers

[PATCH v2 21/48] hpsa: avoid unneccesary calls to resource freeing functions

2015-01-23 Thread Don Brace
(relevant pointers would be NULL) but it is potentially confusing. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH v2 30/48] hpsa: optimize cmd_alloc function by remembering last allocation

2015-01-23 Thread Don Brace
-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |7 +-- drivers/scsi/hpsa.h |1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index c95a20c..72abcf3 100644

[PATCH v2 43/48] hpsa: refactor duplicated scan completion code into a new routine

2015-01-23 Thread Don Brace
it at the end of hpsa_scan_start() as well. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 40 1 file changed, 16 insertions(+), 24 deletions(-) diff

[PATCH v2 45/48] hpsa: detect and report failures changing controller transport modes

2015-01-23 Thread Don Brace
hpsa_wait_for_mode_change_ack and all their callers check/propagate the result. More consistency in printing errors and whether dev_err is used. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 40

[PATCH v2 40/48] hpsa: print CDBs instead of kernel virtual addresses for uncommon errors

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Printing the address of the command pointer is of little value, change to print the CDB. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 29 - 1 file

[PATCH v2 35/48] hpsa: do not ack controller events on controllers that do not support it

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Acking controller events on controllers that do not support it can cause such controllers to lock up. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH v2 34/48] hpsa: remove incorrect BUG_ONs checking for raid offload enable

2015-01-23 Thread Don Brace
accel commands could still be in flight, ie. perhaps having just been submitted into hpsa_scsi_ioaccel_raid_map concurrent with -offload_enabled having just been set to zero. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 1

[PATCH v2 41/48] hpsa: do not use function pointers in fast path command submission

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Performance tweak, avoid unnecessary function calls. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |8 +--- drivers/scsi/hpsa.h |5 + 2 files changed, 6 insertions

[PATCH v2 47/48] hpsa: add in P840ar controller model name

2015-01-23 Thread Don Brace
Add in P840ar model name for gen9 Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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 6568da5..15ef65c 100644

[PATCH v2 46/48] hpsa: add in gen9 controller model names

2015-01-23 Thread Don Brace
Add in gen9 controller model names Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH v2 39/48] hpsa: do not use a void pointer for scsi_cmd field of struct CommandList

2015-01-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com There's no reason for it to be a void *, it should be a struct scsi_cmnd * Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |6 +++--- drivers/scsi/hpsa_cmd.h |2 +- 2

[PATCH v2 42/48] hpsa: move SG descriptor set-up out of hpsa_scatter_gather()

2015-01-23 Thread Don Brace
a conditional operation from inside the loop. The case for which the conditional formerly tested is now executed (unconditionally) after the loop is exited. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi

[PATCH v2 36/48] hpsa: guard against overflowing raid map array

2015-01-23 Thread Don Brace
-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index afd192d..03fae8a 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -3921,6

[PATCH v2 37/48] hpsa: check for ctlr lockup after command allocation in main io path

2015-01-23 Thread Don Brace
...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 03fae8a..834ac78 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -4097,8 +4097,15

[PATCH v2 00/48] hpsa driver updates

2015-01-23 Thread Don Brace
- performance enhancements. - removal of command queueing in driver - elimination of race conditions around aborts - change to internal driver workqueues --- Don Brace (12): hpsa: correct endian sparse warnings hpsa: change how SA controllers are reset hpsa: correct

[PATCH v2 01/48] hpsa: correct endian sparse warnings

2015-01-23 Thread Don Brace
Correct endiness issues reported by sparse. SA controllers are little endian. This patch ensures endiness correctness. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Webb Scales web...@hp.com --- drivers/scsi/hpsa.c | 275

[PATCH v2 02/48] hpsa: fix memory leak in kdump hard reset

2015-01-23 Thread Don Brace
From: Tomas Henzl the...@redhat.com There is a potential memory leak in hpsa_kdump_hard_reset_controller. Reviewed-by: Don Brace don.br...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Tomas Henzl the...@redhat.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers

[PATCH v2 12/48] hpsa: propagate return value from board ID lookup

2015-01-23 Thread Don Brace
scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 92ac76a..85b3d73 100644 --- a/drivers

[PATCH v2 09/48] hpsa: notice all request_irq errors

2015-01-23 Thread Don Brace
irq 35 for hpsa1 [ 10.711623] scsi host1: Error handler scsi_eh_1 exiting [ 10.739170] hpsa: probe of :02:00.0 failed with error -38 Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c

[PATCH v2 07/48] hpsa: rename free_irqs to hpsa_free_irqs

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Change the function names to have hpsa prefix. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 43 ++- 1

[PATCH v2 03/48] hpsa: turn off interrupts when kdump starts

2015-01-23 Thread Don Brace
the hpsa_kdump_hard_reset_controller fixes it. At this point we can't know in which state the card is, so using SA5_INTR_OFF + SA5_REPLY_INTR_MASK_OFFSET defines directly, instead of the function the drivers provides, seems to be apropriate. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br

[PATCH v2 04/48] hpsa: change how SA controllers are reset

2015-01-23 Thread Don Brace
Change how SA controllers are reset by changing PCI power levels. The hpsa driver was finding the PCI_PM_CTRL_STATE_MASK offset then reading/writing a bitmask to change the power state. There are kernel functions that do the same operations. Better to use the kernel functions. Signed-off-by: Don

[PATCH v2 19/48] hpsa: report allocation failures while allocating SG chain blocks

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b

[PATCH v2 06/48] hpsa: adjust RAID-1, RAID-1ADM, and RAID-6 names

2015-01-23 Thread Don Brace
raid_label[] Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH v2 05/48] hpsa: correct change_queue_depth

2015-01-23 Thread Don Brace
We change drive queue depths to match drive reported queue depths. The name of the SML function was changed from scsi_adjust_queue_depth changed to scsi_change_queue_depth. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 16

[PATCH v2 13/48] hpsa: downgrade the Waiting for no-op print to dev_info

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com There is nothing worrisome about the Waiting for controller to respond to no-op print, so use dev_info rather than dev_warn. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH v2 08/48] hpsa: Fix -Wunused-but-set-variable warning

2015-01-23 Thread Don Brace
From: Fabian Frederick f...@skynet.be Remove unused variable in hpsa_free_cmd_pool. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Fabian Frederick f...@skynet.be Acked-by: Don Brace don.br...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4

[PATCH v2 11/48] hpsa: propagate hard_reset failures in reset_devices mode

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com Return the real reason for kdump_hard_reset failure rather than change them all to -ENODEV. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |5

[PATCH v2 10/48] hpsa: remove 0x from queue depth print which is in decimal

2015-01-23 Thread Don Brace
From: Robert Elliott elli...@hp.com The queue depth printed at startup is in decimal, so shouldn't have a 0x prefix. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 +- 1 file

[PATCH] hpsa: correct compiler warnings introduced by hpsa-add-local-workqueue patch

2015-02-06 Thread Don Brace
Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 95d581c..a1cfbd3 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -6831,10 +6831,8 @@ static

Re: [PATCH for v3.19, v2] Avoid that sd_shutdown() triggers a kernel warning

2015-01-15 Thread Don Brace
kernel module: Tested-by: Don Brace don.br...@pmcs.com This patch fixed module removal crashes I was seeing with the hpsa driver running on 3.19-rc4 kernel. Ran ~200 insmod/rmmod tests with no issues. -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body

[PATCH 14/48] hpsa: refactor hpsa_find_board_params() to encapsulate legacy test

2015-01-14 Thread Don Brace
From: Webb Scales web...@hp.com Encapsulate the conditional predicate which tests for legacy controllers in a separate function and rework the code comments. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH 10/48] hpsa: remove 0x from queue depth print which is in decimal

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com The queue depth printed at startup is in decimal, so shouldn't have a 0x prefix. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 +- 1 file

[PATCH 11/48] hpsa: propagate hard_reset failures in reset_devices mode

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Return the real reason for kdump_hard_reset failure rather than change them all to -ENODEV. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |5

[PATCH 04/48] hpsa: change how SA controllers are reset

2015-01-14 Thread Don Brace
Change how SA controllers are reset by changing PCI power levels. The hpsa driver was finding the PCI_PM_CTRL_STATE_MASK offset then reading/writing a bitmask to change the power state. There are kernel functions that do the same operations. Better to use the kernel functions. Signed-off-by: Don

[PATCH 05/48] hpsa: correct change_queue_depth

2015-01-14 Thread Don Brace
scsi_adjust_queue_depth was changed to scsi_change_queue_depth Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi

[PATCH 06/48] hpsa: adjust RAID-1, RAID-1ADM, and RAID-6 names

2015-01-14 Thread Don Brace
raid_label[] Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 12/48] hpsa: propagate return value from board ID lookup

2015-01-14 Thread Don Brace
scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 92ac76a..85b3d73 100644 --- a/drivers

[PATCH 13/48] hpsa: downgrade the Waiting for no-op print to dev_info

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com There is nothing worrisome about the Waiting for controller to respond to no-op print, so use dev_info rather than dev_warn. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

[PATCH 09/48] hpsa: notice all request_irq errors

2015-01-14 Thread Don Brace
irq 35 for hpsa1 [ 10.711623] scsi host1: Error handler scsi_eh_1 exiting [ 10.739170] hpsa: probe of :02:00.0 failed with error -38 Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c

[PATCH 01/48] hpsa: correct endian sparse warnings

2015-01-14 Thread Don Brace
Correct endiness issues reported by sparse. SA controllers are little endian. This patch ensures endiness correctness. Signed-off-by: Don Brace don.br...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Webb Scales web...@hp.com --- drivers/scsi/hpsa.c | 275

[PATCH 02/48] hpsa: fix memory leak in kdump hard reset

2015-01-14 Thread Don Brace
From: Tomas Henzl the...@redhat.com There is a potential memory leak in hpsa_kdump_hard_reset_controller. Reviewed-by: Don Brace don.br...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Tomas Henzl the...@redhat.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers

[PATCH 00/48] hpsa driver updates

2015-01-14 Thread Don Brace
- performance enhancements. - removal of command queueing in driver - elimination of race conditions around aborts - change to internal driver workqueues --- Don Brace (11): hpsa: correct endian sparse warnings hpsa: change how SA controllers are reset hpsa: correct

[PATCH 03/48] hpsa: turn off interrupts when kdump starts

2015-01-14 Thread Don Brace
the hpsa_kdump_hard_reset_controller fixes it. At this point we can't know in which state the card is, so using SA5_INTR_OFF + SA5_REPLY_INTR_MASK_OFFSET defines directly, instead of the function the drivers provides, seems to be apropriate. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br

[PATCH 07/48] hpsa: rename free_irqs to hpsa_free_irqs

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Change the function names to have hpsa prefix. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 43 ++- 1

[PATCH 15/48] hpsa: trivial message and comment clean ups

2015-01-14 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Cleanup comments to be more specific. Make messages more informational. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 21

[PATCH 17/48] hpsa: rename hpsa_request_irq to hpsa_request_irqs

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Make the function name more descriptive. We use more than one interrupt. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 11 ++- 1 file

[PATCH 08/48] hpsa: Fix -Wunused-but-set-variable warning

2015-01-14 Thread Don Brace
From: Fabian Frederick f...@skynet.be Remove unused variable in hpsa_free_cmd_pool. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Fabian Frederick f...@skynet.be Acked-by: Don Brace don.br...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4

[PATCH 20/48] hpsa: fix memory leak in hpsa_alloc_cmd_pool

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Partial allocation failure wasn't handled correctly Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |6 +- 1 file changed, 5 insertions(+), 1

[PATCH 19/48] hpsa: report allocation failures while allocating SG chain blocks

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b

[PATCH 16/48] hpsa: report failure to ioremap config table

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Enhance error reporting. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 18/48] hpsa: pass error from pci_set_consistent_dma_mask from hpsa_message

2015-01-14 Thread Don Brace
From: Robert Elliott elli...@hp.com Return the actual error code instead of a generic error code. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion

[PATCH 46/48] hpsa: detect and report failures changing controller transport modes

2015-01-14 Thread Don Brace
hpsa_wait_for_mode_change_ack and all their callers check/propagate the result. More consistency in printing errors and whether dev_err is used. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 40

[PATCH 47/48] hpsa: add in gen9 controller model names

2015-01-14 Thread Don Brace
Add in gen9 controller model names Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 45/48] hpsa: shorten the wait for the CISS doorbell mode change ack

2015-01-14 Thread Don Brace
uninterruptible usleep_range(), which triggers rt_sched timeout errors if the wait is long. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 15 +-- 1 file changed, 9 insertions

[PATCH 43/48] hpsa: move SG descriptor set-up out of hpsa_scatter_gather()

2015-01-14 Thread Don Brace
a conditional operation from inside the loop. The case for which the conditional formerly tested is now executed (unconditionally) after the loop is exited. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi

[PATCH 48/48] hpsa: add in P840ar controller model name

2015-01-14 Thread Don Brace
Add in P840ar model name for gen9 Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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 6568da5..15ef65c 100644

[PATCH 42/48] hpsa: do not use function pointers in fast path command submission

2015-01-14 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com Performance tweak, avoid unnecessary function calls. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |8 +--- drivers/scsi/hpsa.h |5 + 2 files changed, 6 insertions

[PATCH 28/48] hpsa: use per-controller work queue

2015-01-14 Thread Don Brace
a driver specific, per-controller work queue avoids this. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 16 +--- drivers/scsi/hpsa.h |1 + 2 files changed, 14 insertions(+), 3

[PATCH 24/48] hpsa: do not queue commands internally in driver

2015-01-14 Thread Don Brace
-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 306 +-- drivers/scsi/hpsa.h | 17 --- drivers/scsi/hpsa_cmd.h | 10 -- 3 files changed, 38 insertions(+), 295 deletions(-) diff --git

[PATCH 29/48] hpsa: honor queue depth of physical devices

2015-01-14 Thread Don Brace
to parity drives. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 318 +-- drivers/scsi/hpsa.h | 14 ++ drivers/scsi/hpsa_cmd.h | 148

[PATCH 25/48] hpsa: do not request device rescan on every ioaccel path error

2015-01-14 Thread Don Brace
...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 14 ++ drivers/scsi/hpsa.h |1 - 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 70f07af..94a82e3 100644 --- a/drivers/scsi/hpsa.c

[PATCH 23/48] hpsa: get rid of cmd_special_alloc and cmd_special_free

2015-01-14 Thread Don Brace
-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 106 ++- drivers/scsi/hpsa.h |2 - 2 files changed, 31 insertions(+), 77 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 99c32a0..26e3e5b 100644 --- a/drivers

[PATCH 22/48] hpsa: reserve some commands for use by driver

2015-01-14 Thread Don Brace
commands internally in the driver so that we can remove the locks thta protect the queue that we will no longer have. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |7 +-- drivers/scsi/hpsa.h |2 ++ 2 files changed, 7

[PATCH 27/48] hpsa: use workqueue to resubmit failed ioaccel commands

2015-01-14 Thread Don Brace
, and prevent excessive rescanning of devices. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 60 --- drivers/scsi/hpsa_cmd.h |1 + 2 files changed, 42 insertions(+), 19 deletions

[PATCH 26/48] hpsa: factor out hpsa_ciss_submit function

2015-01-14 Thread Don Brace
of the ioaccellerated paths but which have some sort of error condition are retried down the normal path. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 126 +++ 1 file changed, 67

[PATCH 34/48] hpsa: do not check for msi(x) in interrupt_pending

2015-01-14 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com No need to check whether interrupt pending for MSI(X) and conversely, no need to check whether MSI(X) interrupts are being used when checking if interrupts are pending. Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br

  1   2   3   4   5   6   7   8   9   >