[PATCH 01/21] hpsa: correct calls to dev_printk

2015-10-24 Thread Don Brace
was seeing issues passing level into hpsa_show_dev_msg and then using the level as an arguement to dev_printk. For now, switch to dev_warn. Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 41 - 1 file changed, 24 insertions(

[PATCH 05/21] hpsa: fix hpsa_adjust_hpsa_scsi_table

2015-10-24 Thread Don Brace
Fix a NULL pointer issue in the driver when devices are removed during a reset. Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/block/cciss.h |1 + drivers/scsi/hpsa.c | 16 drivers/scsi/hpsa.h |1 + 3 files changed, 18 insertions(+) diff --git a/d

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

2015-10-24 Thread Don Brace
com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drive

[PATCH 09/21] hpsa: simplify check for device exposure

2015-10-24 Thread Don Brace
From: Kevin Barnett <kevin.barn...@pmcs.com> remove macros and cleanup device exposure checking Reviewed-by: Scott Teel <scott.t...@pmcs.com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don B

[PATCH 10/21] hpsa: simplify update scsi devices

2015-10-24 Thread Don Brace
From: Kevin Barnett <kevin.barn...@pmcs.com> remove repeated calculation that checks for physical or logical devices. Reviewed-by: Scott Teel <scott.t...@pmcs.com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com>

[PATCH 08/21] hpsa: correct ioaccel2 sg chain len

2015-10-24 Thread Don Brace
Reviewed-by: Scott Teel <scott.t...@pmcs.com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c |5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 07/21] hpsa: correct check for non-disk devices

2015-10-24 Thread Don Brace
arnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 28 +++- drivers/scsi/hpsa_cmd.h |2 -- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH 00/21] hpsa updates

2015-10-24 Thread Don Brace
scsi_add_device scsi_remove_device calls - add in SAS transport class for HBA devices - add in physical target resets - eliminate fake lun0 enclosures - add polling for PT RAID devices - disable report lun data caching - bumped driver version to match in-box driver --- Don Brace (10): hpsa

[PATCH 06/21] hpsa: fix physical target reset

2015-10-24 Thread Don Brace
s.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 33 +++-- drivers/scsi/hpsa.h |1 + 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/hpsa.c b/dri

[PATCH 04/21] hpsa: correct transfer length for 6 byte read/write commands

2015-10-24 Thread Don Brace
handle block counts of 0. Cleanup block and block count calculations. Reviewed-by: Scott Teel <scott.t...@pmcs.com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com>

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

2015-10-24 Thread Don Brace
Reviewed-by: Scott Teel <scott.t...@pmcs.com> Reviewed-by: Justin Lindley <justin.lind...@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barn...@pmcs.com> Signed-off-by: Don Brace <don.br...@pmcs.com> --- drivers/scsi/hpsa.c | 16 ++-- drivers/scsi/hpsa.h |

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: > > From

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=144284810906949=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

[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

[PATCH] hpsa: add in sas transport

2015-09-29 Thread Don Brace
From: Kevin Barnett <kevin.barn...@pmcs.com> 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 <don.br...@pmcs.com> --- drivers/scsi/hpsa.

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:

Re: [BUG] hpsa: Controller lockup detected: 0x00150028

2015-08-24 Thread Don Brace
On 08/24/2015 05:02 AM, Wouter Depuydt wrote: Wouter Depuydt wouter.depuydt at gmail.com writes: -Original Message- From: Peter Zijlstra [mailto:peterz at infradead.org] Sent: Friday, May 22, 2015 11:40 AM To: Tomas Henzl Cc: Oelke, Mark; don.brace at pmcs.com; ISS StorageDev;

[PATCH 00/11] hpsa updates

2015-07-18 Thread Don Brace
. - Correct rmmod issue - Add in new path_info to show box and bay info - Driver supports mixed mode, RAID and HBA - New offline mode - Bug fix for multi lun devices from Shane Seymour --- Don Brace (7): hpsa: Correct double unlock of mutex hpsa: correct decode sense data hpsa

[PATCH 02/11] hpsa: correct decode sense data

2015-07-18 Thread Don Brace
Reported-by: Dan Carpenter dan.carpen...@oracle.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com 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

[PATCH 04/11] hpsa: add PMC to copyright

2015-07-18 Thread Don Brace
need to add PMC to copyright notice and update the Hewlett-Packard copyright notification. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Justin Lindley justin.lind...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers

[PATCH 01/11] hpsa: Correct double unlock of mutex

2015-07-18 Thread Don Brace
Reported-by: Dan Carpenter dan.carpen...@oracle.com Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 11/11] hpsa: fix rmmod issues

2015-07-18 Thread Don Brace
-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a3077e9..0f8acfb 100644

RE: [PATCH 3/3] hpsa: Convert DEVICE_ATTR macro usage to DEVICE_ATTR_RO|WR|WO

2015-07-18 Thread Don Brace
-by: 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 08/11] Change how controllers in mixed mode are handled.

2015-07-18 Thread Don Brace
From: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 97 ++- drivers/scsi/hpsa.h |2 - 2

[PATCH 07/11] hpsa: add in new controllers

2015-07-18 Thread Don Brace
Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index f34978d..20c29e5

[PATCH 10/11] hpsa: fix issues with multilun devices

2015-07-18 Thread Don Brace
identified as LUN 1 of bus 2 target 0. Before the change the changer device is not seen. Suggested-by: shane.seymour shane.seym...@hp.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c

[PATCH 06/11] hpsa: cleanup update scsi devices

2015-07-18 Thread Don Brace
showing that tables have been updated unnecessarily. Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 03/11] hpsa: correct static checker warnings on driver init cleanup

2015-07-18 Thread Don Brace
Reported-by: Dan Carpenter dan.carpen...@oracle.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Scott Teel scott.t...@pmcs.com 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

RE: [patch] hpsa: fix an sprintf() overflow in the reset handler

2015-06-18 Thread Don Brace
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Thursday, June 04, 2015 9:48 AM To: Don Brace Cc: James E.J. Bottomley; iss_storage...@hp.com; dl Team ESD Storage Dev Support; linux-scsi@vger.kernel.org; kernel-janit...@vger.kernel.org Subject: [patch

RE: [patch] hpsa: fix an sprintf() overflow in the reset handler

2015-06-18 Thread Don Brace
-Original Message- From: walter harms [mailto:wha...@bfs.de] Sent: Thursday, June 04, 2015 10:23 AM To: Dan Carpenter Cc: Don Brace; James E.J. Bottomley; iss_storage...@hp.com; dl Team ESD Storage Dev Support; linux-scsi@vger.kernel.org; kernel- janit...@vger.kernel.org Subject

hpsa static checker issues

2015-06-18 Thread Don Brace
Dan, You had noted three concerns covering: mutex_unlock, decode sense data, and a goto label issue, that were detected during your static checker run. I have patches that address these issues. I am thinking that I need to post these three patches linux-scsi. Is that correct? Thanks, Don

RE: [PATCH 2/2] cciss: correct the non-resettable board list

2015-05-19 Thread Don Brace
-Original Message- From: Don Brace Sent: Tuesday, May 19, 2015 1:56 PM To: 'Tomas Henzl'; linux-scsi@vger.kernel.org Cc: linux-ker...@vger.kernel.org; ax...@kernel.dk Subject: RE: [PATCH 2/2] cciss: correct the non-resettable board list -Original Message- From: Tomas

RE: [PATCH] hpsa: dont meddle with hw which isn't ours (cciss)

2015-05-19 Thread Don Brace
-Original Message- From: Tomas Henzl [mailto:the...@redhat.com] Sent: Thursday, April 02, 2015 8:26 AM To: linux-scsi@vger.kernel.org Cc: Don Brace; Scott Teel; Justin Lindley; Kevin Barnett Subject: [PATCH] hpsa: dont meddle with hw which isn't ours (cciss) The hpsa driver

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

2015-04-23 Thread Don Brace
From: Joe Handzik joseph.t.hand...@hp.com improve ioaccel2 error handling, including better handling of underrun statuses Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace

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

2015-04-23 Thread Don Brace
...@hp.com igned-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index c8ee240..4418ffd 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -2655,9 +2655,9

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

2015-04-23 Thread Don Brace
-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 12 1 file changed, 8 insertions(+), 4 deletions

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

2015-04-23 Thread Don Brace
h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 77 --- drivers/scsi/hpsa_cmd.h |2 + 2 files changed, 53 insertions(+), 26 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 427dbd5

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

2015-04-23 Thread Don Brace
Reinecke h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 6f88756..b6eafe4 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1820,8

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

2015-04-23 Thread Don Brace
() to return the result, to remove the need for a separate check. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 334

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

2015-04-23 Thread Don Brace
Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 253 +-- drivers/scsi/hpsa.h |6 + drivers/scsi/hpsa_cmd.h |3 + 3 files changed, 141 insertions(+), 121

[PATCH v5 00/42] hpsa updates

2015-04-23 Thread Don Brace
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 from

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

2015-04-23 Thread Don Brace
to the number of reserved commands. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 176

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

2015-04-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com make tracking of outstanding commands more robust Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don

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

2015-04-23 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com expose a detected lockup via sysfs Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don Brace don.br

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

2015-04-23 Thread Don Brace
...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index df2c825..224fc48 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

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

2015-04-23 Thread Don Brace
hpsa_alloc_ioaccel1_cmd_and_bft, which does not call another hpsa_allocate function and only has -ENOMEM to return from some kmalloc calls. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

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

2015-04-23 Thread Don Brace
-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 78 --- 1 file changed, 31 insertions(+), 47 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 608d64c..0b5d011 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

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

2015-04-23 Thread Don Brace
the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 243 +-- 1 file changed, 157 insertions(+), 86 deletions(-) diff --git a/drivers/scsi

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

2015-04-23 Thread Don Brace
joseph.t.hand...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 136 +-- drivers/scsi/hpsa.h |1 drivers/scsi/hpsa_cmd.h |6 +- 3 files changed, 135 insertions(+), 8 deletions(-) diff --git a/drivers/scsi

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

2015-04-23 Thread Don Brace
elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 26e5988..427dbd5 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

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

2015-04-23 Thread Don Brace
, for example. The ScsiStatus field of the errinfo field will contain the TMF function status value. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi

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

2015-04-23 Thread Don Brace
Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 2e4ef06..6f88756 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -7407,7 +7407,9

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

2015-04-23 Thread Don Brace
Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 236dfc9

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

2015-04-23 Thread Don Brace
-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 15f8bb6..236dfc9 100644 --- a/drivers

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

2015-04-23 Thread Don Brace
Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 104 +++ 1 file changed, 56 insertions(+), 48 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a2c7b43..e7500d0 100644 --- a/drivers

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

2015-04-23 Thread Don Brace
the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 92 --- 1 file changed, 58 insertions(+), 34 deletions(-) diff --git a/drivers

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

2015-04-23 Thread Don Brace
-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 10 +- drivers/scsi/hpsa.h |1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 1aa36e6..15f8bb6 100644

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

2015-04-23 Thread Don Brace
-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 91 +-- 1 file changed, 66 insertions(+), 25 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index b6eafe4..350a76a 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

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

2015-04-23 Thread Don Brace
Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 117

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

2015-04-23 Thread Don Brace
driver to print anything. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

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

2015-04-23 Thread Don Brace
scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |7 ++- 1 file changed, 6

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

2015-04-23 Thread Don Brace
on every iteration inside the loop. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

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

2015-04-23 Thread Don Brace
Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/scsi

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

2015-04-23 Thread Don Brace
...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 24 1 file changed

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

2015-04-23 Thread Don Brace
-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 60 ++- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index e685b86..48c05a8 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers

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

2015-04-23 Thread Don Brace
...@suse.de Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 120 +++ drivers/scsi/hpsa.h |1 drivers/scsi/hpsa_cmd.h |2 + 3 files changed, 93 insertions(+), 30 deletions(-) diff

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

2015-04-23 Thread Don Brace
...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de 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, 10 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers

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

2015-04-23 Thread Don Brace
Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 134 --- 1 file changed

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

2015-04-23 Thread Don Brace
update driver version Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 +- 1 file changed

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

2015-04-23 Thread Don Brace
are also not attached. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com eviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi

[PATCH v5 40/42] hpsa: cleanup reset

2015-04-23 Thread Don Brace
-by: Hannes Reinecke h...@suse.de Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 204 +-- drivers/scsi/hpsa.h |5 + drivers/scsi/hpsa_cmd.h |1 3 files changed, 181 insertions

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

2015-04-23 Thread Don Brace
Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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

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

2015-04-23 Thread Don Brace
the parallel PCI bus went from 32 to 64 bits wide. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don

[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 scott.t...@pmcs.com Reviewed-by: Tomas Henzl the...@redhat.com Reviewed-by: Hannes Reinecke h...@suse.de Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 00/43] hpsa update

2015-04-16 Thread Don Brace
- clean up resets - update copyright - add in new controller id --- Don Brace (3): hpsa: change driver version hpsa: add PMC to copyright hpsa: add in new controller id Joe Handzik (3): hpsa: use ioaccel2 path to submit IOs to physical drives in HBA mode. hpsa: Get

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

2015-04-16 Thread Don Brace
...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 24 1 file changed, 24 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 15c5b81

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

2015-04-16 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com add support for tmf when in ioaccel2 mode Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi

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

2015-04-16 Thread Don Brace
the parallel PCI bus went from 32 to 64 bits wide. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 20 ++-- drivers

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

2015-04-16 Thread Don Brace
Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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 99fd4d3..c6e950e 100644 --- a/drivers/scsi/hpsa.c

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

2015-04-16 Thread Don Brace
in the right order in hpsa_undo_allocations_after_kdump_soft_reset too. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 60

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

2015-04-16 Thread Don Brace
Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 117 ++- 1 file changed, 87 insertions(+), 30 deletions(-) diff --git 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
Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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 f65333d..f36ab70 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

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

2015-04-16 Thread Don Brace
driver to print anything. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 17 + 1 file changed, 13 insertions(+), 4

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

2015-04-16 Thread Don Brace
From: Webb Scales web...@hp.com cleanup command completions Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 78

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

2015-04-16 Thread Don Brace
Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 134 --- 1 file changed, 74 insertions(+), 60 deletions(-) diff --git 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 scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@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

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

2015-04-16 Thread Don Brace
on every iteration inside the loop. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 39 --- 1 file

[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 don.br...@pmcs.com --- 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

[PATCH v4 40/43] hpsa: cleanup reset

2015-04-16 Thread Don Brace
-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 204 +-- drivers/scsi/hpsa.h |5 + drivers/scsi/hpsa_cmd.h |1 3 files changed, 182 insertions(+), 28 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index f36ab70

[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 scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Reviewed-by: Justin Lindley justin.lind...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers

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

2015-04-16 Thread Don Brace
the 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 scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br

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

2015-04-16 Thread Don Brace
are also not attached. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Webb Scales web...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 154 ++- drivers/scsi

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

2015-04-16 Thread Don Brace
...@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, 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

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

2015-04-16 Thread Don Brace
scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH v4 07/43] hpsa: allow lockup detected to be viewed via sysfs

2015-04-16 Thread Don Brace
From: Stephen Cameron stephenmcame...@gmail.com expose a detected lockup via sysfs Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 17 + 1 file changed, 17

[PATCH v4 04/43] hpsa: clean up aborts

2015-04-16 Thread Don Brace
to the number of reserved commands. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/scsi/hpsa.c | 176 +-- drivers/scsi/hpsa.h |4 + 2 files

[PATCH v4 19/43] hpsa: add ioaccel sg chaining for the ioaccel2 path

2015-04-16 Thread Don Brace
hpsa_alloc_ioaccel1_cmd_and_bft, which does not call another hpsa_allocate function and only has -ENOMEM to return from some kmalloc calls. Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com

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

2015-04-16 Thread Don Brace
From: Joe Handzik joseph.t.hand...@hp.com improve ioaccel2 error handling, including better handling of underrun statuses Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Don Brace

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

2015-04-16 Thread Don Brace
From: Robert Elliott elli...@hp.com cmd_alloc can no longer return NULL, so don't check for NULL any more (which is unreachable code). Reviewed-by: Scott Teel scott.t...@pmcs.com Reviewed-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don

[PATCH v4 13/43] hpsa: print accurate SSD Smart Path Enabled status

2015-04-16 Thread Don Brace
-by: Kevin Barnett kevin.barn...@pmcs.com Signed-off-by: Robert Elliott elli...@hp.com Signed-off-by: Don Brace don.br...@pmcs.com --- 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 b342788..9ab6af8

<    1   2   3   4   5   6   7   8   9   >