[PATCH 19/37] smartpqi: update copyright

2017-04-25 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 +- drivers/scsi/smartpqi/smartpqi_init.c |2 +- drivers/scsi/smartpqi/smartpqi_sas_transport.c |2 +- drivers/scsi

[PATCH 21/37] smartpqi: change return value for LUN reset operations

2017-04-25 Thread Don Brace
From: Kevin Barnett change return value for controller offline to be consistent with the rest of the driver. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 20/37] smartpqi: add ptraid support

2017-04-25 Thread Don Brace
From: Kevin Barnett add support for PTRAID devices Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |8 +++--- drivers/scsi/smartpqi/smartpqi_init.c | 48 - 2 files changed, 46

[PATCH 22/37] smartpqi: enhance kdump

2017-04-25 Thread Don Brace
From: Kevin Barnett constrain resource usage during kdump to avoid kdump failures Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |6 +++- drivers/scsi/smartpqi/smartpqi_init.c | 45

[PATCH 24/37] smartpqi: add lockup action

2017-04-25 Thread Don Brace
From: Kevin Barnett add support for actions to take when controller goes offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 121 + 1 file changed, 121 insertions(+) diff --git

[PATCH 23/37] smartpqi: remove qdepth calculations for logical volumes

2017-04-25 Thread Don Brace
From: Kevin Barnett make the queue depth for LVs the same as the maximum I/Os supported by the controller Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |6 - drivers/scsi/smartpqi/smartpqi_init.c | 140

[PATCH 25/37] smartpqi: correct aio error path

2017-04-25 Thread Don Brace
From: Kevin Barnett set the internal flag that causes I/O to be sent down the RAID path when the AIO path is disabled Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |8 + drivers/scsi/smartpqi/smartpqi_init.c

[PATCH 26/37] smartpqi: update device offline

2017-04-25 Thread Don Brace
From: Kevin Barnett - Improve handling of offline devices. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers

[PATCH 27/37] smartpqi: controller offline improvements

2017-04-25 Thread Don Brace
From: Kevin Barnett improve support for taking controller offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 drivers/scsi/smartpqi/smartpqi_init.c | 141 ++--- 2 files

[PATCH 29/37] smartpqi: map more raid errors to SCSI errors

2017-04-25 Thread Don Brace
From: Kevin Barnett enhance mapping of RAID path errors to Linux SCSI host error codes. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 32 +++- 1 file changed, 31 insertions(+), 1

[PATCH 28/37] smartpqi: cleanup controller branding

2017-04-25 Thread Don Brace
From: Kevin Barnett - Improve controller branding support. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/scsi

[PATCH 33/37] smartpqi: add raid level show

2017-04-25 Thread Don Brace
From: Kevin Barnett Display the RAID level via sysfs Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/scsi

[PATCH 30/37] smartpqi: update timeout on admin commands

2017-04-25 Thread Don Brace
From: Kevin Barnett Increase the timeout on admin commands from 3 seconds to 60 seconds and added a check for controller crash in the loop where the driver polls for admin command completion. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi

[PATCH 32/37] smartpqi: make raid bypass references consistent

2017-04-25 Thread Don Brace
From: Kevin Barnett - make all references to RAID bypass consistent throughout driver. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 13 drivers/scsi/smartpqi/smartpqi_init.c | 56

[PATCH 35/37] smartpqi: add module parameters

2017-04-25 Thread Don Brace
From: Kevin Barnett Add module parameters to disable heartbeat support and to disable shutting down the controller when a controller is taken offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 29

[PATCH 31/37] smartpqi: enhance device add and remove messages

2017-04-25 Thread Don Brace
From: Kevin Barnett Improved formatting of information displayed when devices are added/removed from the system. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 90 + 1 file changed

[PATCH 34/37] smartpqi: cleanup list initialization

2017-04-25 Thread Don Brace
From: Kevin Barnett Better initialization of linked list heads. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/smartpqi

[PATCH 36/37] smartpqi: remove writeq/readq function definitions

2017-04-25 Thread Don Brace
From: Corentin Labbe Instead of rewriting write/readq, use existing functions Reviewed-by: Scott Benesh Signed-off-by: Corentin Labbe Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 29 - 1 file changed, 29

[PATCH 37/37] smartpqi: bump driver version

2017-04-25 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Reviewed-by: Gerry Morong Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c

RE: [PATCH 07/12] hpsa: cleanup reset handler

2017-04-26 Thread Don Brace
> -Original Message- > From: Martin Wilck [mailto:mwi...@suse.com] > Sent: Tuesday, April 11, 2017 7:36 AM > To: Don Brace ; joseph.szczy...@hpe.com; > Gerry Morong ; John Hall > ; j...@linux.vnet.ibm.com; Kevin Barnett > ; Mahesh Rajashekhara > ; Bader Ali - Sale

RE: [PATCH 09/12] hpsa: separate monitor events from heartbeat worker

2017-04-27 Thread Don Brace
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Martin Wilck > Sent: Tuesday, April 11, 2017 7:19 AM > To: Don Brace ; joseph.szczy...@hpe.com; > Gerry Morong ; John Hall > ; j...@linux.vnet.i

[PATCH V2 00/12] hpsa updates

2017-04-28 Thread Don Brace
m-rescan-worker to more correctly convey the patches intent. - split out some commonality between the rescan worker and the event monitor worker. - updated the patch description. --- Don Brace (11): hpsa: update identify physical device structure hpsa: do

[PATCH V2 02/12] hpsa: do not get enclosure info for external devices

2017-04-28 Thread Don Brace
external shelves do not support BMICs. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 73daace..8e22aed

[PATCH V2 01/12] hpsa: update identify physical device structure

2017-04-28 Thread Don Brace
- align with latest spec. - added __attribute((aligned(512))) Reviewed-by: Scott Teel Reviewed-by: Scott Benesh Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa_cmd.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a

[PATCH V2 03/12] hpsa: update reset handler

2017-04-28 Thread Don Brace
Use the return from TUR as a check for the device state. Reviewed-by: Scott Benesh 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

[PATCH V2 04/12] hpsa: do not reset enclosures

2017-04-28 Thread Don Brace
Prevent enclosure resets. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 9fb30c4..2990897 100644 --- a

[PATCH V2 05/12] hpsa: rescan later if reset in progress

2017-04-28 Thread Don Brace
- schedule another scan. - mark current scan as completed Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH V2 06/12] hpsa: correct resets on retried commands

2017-04-28 Thread Don Brace
- call scsi_done when the command completes. Reviewed-by: Scott Benesh 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

[PATCH V2 08/12] hpsa: correct queue depth for externals

2017-04-28 Thread Don Brace
- queue depth assignment not in correct place, had no effect. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 22 ++ drivers/scsi/hpsa.h |1 + 2 files changed, 11 insertions(+), 12

[PATCH V2 09/12] hpsa: separate monitor events from rescan worker

2017-04-28 Thread Don Brace
. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 76 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 59 insertions(+), 18 deletions(-) diff --git a/drivers/scsi

[PATCH V2 07/12] hpsa: cleanup reset handler

2017-04-28 Thread Don Brace
- mark device state sooner. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 59 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 46 insertions(+), 14 deletions

[PATCH V2 10/12] hpsa: send ioaccel requests with 0 length down raid path

2017-04-28 Thread Don Brace
: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 62 ++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 49f5ccf..9e18ab1 100644 --- a/drivers/scsi

[PATCH V2 12/12] hpsa: bump driver version

2017-04-28 Thread Don Brace
Reviewed-by: Scott Benesh 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 f1d7d1e..3d337bf 100644 --- a/drivers/scsi

[PATCH V2 11/12] hpsa: remove abort handler

2017-04-28 Thread Don Brace
-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 621 +-- drivers/scsi/hpsa.h |1 2 files changed, 8 insertions(+), 614 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

RE: [PATCH 02/37] smartpqi: cleanup interrupt management

2017-05-03 Thread Don Brace
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Tuesday, April 25, 2017 2:55 PM > To: h...@infradead.org; Viswas G ; Gerry > Morong ; Mahesh Rajashekhara > ; posw...@suse.com; Scott > Benesh ; Don Brace > ; Bader Ali -

RE: [PATCH 05/37] smartpqi: ensure controller is in SIS mode at init

2017-05-03 Thread Don Brace
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Tuesday, April 25, 2017 2:58 PM > To: h...@infradead.org; Viswas G ; Gerry > Morong ; Mahesh Rajashekhara > ; posw...@suse.com; Scott > Benesh ; Don Brace > ; Bader Ali -

RE: [PATCH 07/37] smartpqi: enhance resets

2017-05-03 Thread Don Brace
> -Original Message- > On Tue, 2017-04-25 at 14:46 -0500, Don Brace wrote: > > @@ -4655,23 +4860,46 @@ static int pqi_device_reset(struct pqi_ctrl_info > *ctrl_info, > > static int pqi_eh_device_reset_handler(struct scsi_cmnd *scmd) > > { > > i

RE: [PATCH 08/37] smartpqi: add suspend and resume support

2017-05-03 Thread Don Brace
> -Original Message- > On Tue, 2017-04-25 at 14:46 -0500, Don Brace wrote: > > +static int pqi_device_wait_for_pending_io(struct pqi_ctrl_info *ctrl_info, > > + struct pqi_scsi_dev *device) > > +{ > > + while (atomic_read(

RE: [PATCH 12/37] smartpqi: change functions to inline

2017-05-03 Thread Don Brace
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Tuesday, April 25, 2017 3:08 PM > To: h...@infradead.org; Viswas G ; Gerry > Morong ; Mahesh Rajashekhara > ; posw...@suse.com; Scott > Benesh ; Don Brace > ; Bader Ali -

RE: [PATCH 16/37] smartpqi: minor driver cleanup

2017-05-03 Thread Don Brace
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Tuesday, April 25, 2017 3:10 PM > To: h...@infradead.org; Viswas G ; Gerry > Morong ; Mahesh Rajashekhara > ; posw...@suse.com; Scott > Benesh ; Don Brace > ; Bader Ali -

RE: [PATCH 18/37] smartpqi: cleanup messages

2017-05-03 Thread Don Brace
e.com; Scott > Benesh ; Don Brace > ; Bader Ali - Saleh > ; Kevin Barnett > ; joseph.szczy...@hpe.com; Scott Teel > ; j...@linux.vnet.ibm.com; Justin Lindley > ; John Hall > Cc: linux-scsi@vger.kernel.org > Subject: Re: [PATCH 18/37] smartpqi: cleanup messages > > EXTER

RE: [PATCH 20/37] smartpqi: add ptraid support

2017-05-03 Thread Don Brace
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Tuesday, April 25, 2017 3:13 PM > To: h...@infradead.org; Viswas G ; Gerry > Morong ; Mahesh Rajashekhara > ; posw...@suse.com; Scott > Benesh ; Don Brace > ; Bader Ali -

[PATCH V2 02/36] smartpqi: cleanup interrupt management

2017-05-03 Thread Don Brace
From: Kevin Barnett minor cleanup of interrupt initialization and tear-down. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 43 ++--- 1 file changed, 29

[PATCH V2 01/36] smartpqi: correct remove scsi devices

2017-05-03 Thread Don Brace
From: Kevin Barnett correct a problem caused by holding a spinlock during device deletion. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 20 +--- 1 file changed, 13

[PATCH V2 00/36] smartpqi updates

2017-05-03 Thread Don Brace
These patches are based on Linus's tree The changes are: - correct remove SCSI devices - Remove spin-lock - cleanup interrupt management - minor cleanup to align with in-house driver - set PCI completion timeout - add in controller checkpoint for controller lockups. - helps debug ra

[PATCH V2 03/36] smartpqi: set pci completion timeout

2017-05-03 Thread Don Brace
From: Kevin Barnett add support for setting PCIe completion timeout. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a

[PATCH V2 05/36] smartpqi: ensure controller is in SIS mode at init

2017-05-03 Thread Don Brace
From: Kevin Barnett put in SIS mode during initialization. support kexec/kdump Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 + drivers/scsi/smartpqi/smartpqi_init.c | 60

[PATCH V2 09/36] smartpqi: add heartbeat check

2017-05-03 Thread Don Brace
From: Kevin Barnett check for controller lockups Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 60 ++-- drivers/scsi/smartpqi/smartpqi_init.c | 126 ++--- drivers/scsi

[PATCH V2 06/36] smartpqi: add supporting events

2017-05-03 Thread Don Brace
From: Kevin Barnett Only register for controller events that driver supports cleanup event handling. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 11 +-- drivers/scsi/smartpqi/smartpqi_init.c | 110

[PATCH V2 10/36] smartpqi: correct bdma hw bug

2017-05-03 Thread Don Brace
From: Kevin Barnett add workaround for BDMA hardware bug that can cause hw to read up to 12 SGL elements (192 bytes) beyond the last element in the list. This fix avoids IOMMU violations Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi

[PATCH V2 08/36] smartpqi: add suspend and resume support

2017-05-03 Thread Don Brace
From: Kevin Barnett add support for ACPI S3 (suspend) and S4 (hibernate) system power states. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 12 + drivers/scsi/smartpqi/smartpqi_init.c | 425

[PATCH V2 04/36] smartpqi: add in controller checkpoint for controller lockups.

2017-05-03 Thread Don Brace
From: Kevin Barnett tell smartpqi controller to generate a checkpoint for rare lockup conditions. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 +- drivers/scsi/smartpqi

[PATCH V2 07/36] smartpqi: enhance resets

2017-05-03 Thread Don Brace
results of LUN reset request. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 13 +- drivers/scsi/smartpqi/smartpqi_init.c | 279 ++--- 2 files changed, 265 insertions(+), 27 deletions(-) diff

[PATCH V2 12/36] smartpqi: make pdev pointer names consistent

2017-05-03 Thread Don Brace
From: Kevin Barnett make all variable names for pointers to struct pci_dev consistent throughout the driver. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 41 + 1 file changed, 21

[PATCH V2 11/36] smartpqi: add pqi_wait_for_completion_io

2017-05-03 Thread Don Brace
From: Kevin Barnett Add check for controller lockup during waits for synchronous controller commands. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 33 - 1 file changed, 32

[PATCH V2 13/36] smartpqi: eliminate redundant error messages

2017-05-03 Thread Don Brace
From: Kevin Barnett eliminate redundant error message during initialization if the controller has crashed. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |5 + drivers/scsi/smartpqi/smartpqi_sis.c |5

[PATCH V2 15/36] smartpqi: minor driver cleanup

2017-05-03 Thread Don Brace
Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 +- drivers/scsi/smartpqi/smartpqi_init.c | 38 - 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi.h b/drivers

[PATCH V2 14/36] smartpqi: correct BMIC identify physical drive

2017-05-03 Thread Don Brace
From: Kevin Barnett correct the BMIC Identify Physical Device structure - missing 2 fields Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 20 drivers/scsi/smartpqi/smartpqi_init.c | 16

[PATCH V2 19/36] smartpqi: add ptraid support

2017-05-03 Thread Don Brace
From: Kevin Barnett add support for PTRAID devices Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |8 -- drivers/scsi/smartpqi/smartpqi_init.c | 43 - 2 files changed, 41

[PATCH V2 17/36] smartpqi: cleanup messages

2017-05-03 Thread Don Brace
From: Kevin Barnett - improve some error messages. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 41 ++--- drivers/scsi/smartpqi/smartpqi_sis.c |3 ++ 2 files changed, 20

[PATCH V2 22/36] smartpqi: remove qdepth calculations for logical volumes

2017-05-03 Thread Don Brace
From: Kevin Barnett make the queue depth for LVs the same as the maximum I/Os supported by the controller Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |6 - drivers/scsi/smartpqi/smartpqi_init.c | 140

[PATCH V2 20/36] smartpqi: change return value for LUN reset operations

2017-05-03 Thread Don Brace
From: Kevin Barnett change return value for controller offline to be consistent with the rest of the driver. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH V2 21/36] smartpqi: enhance kdump

2017-05-03 Thread Don Brace
From: Kevin Barnett constrain resource usage during kdump to avoid kdump failures Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |6 +++- drivers/scsi/smartpqi/smartpqi_init.c | 45

[PATCH V2 18/36] smartpqi: update copyright

2017-05-03 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 +- drivers/scsi/smartpqi/smartpqi_init.c |2 +- drivers/scsi/smartpqi/smartpqi_sas_transport.c |2 +- drivers/scsi

[PATCH V2 16/36] smartpqi: add new PCI device IDs

2017-05-03 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 134 +++-- 1 file changed, 109 insertions(+), 25 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b

[PATCH V2 23/36] smartpqi: add lockup action

2017-05-03 Thread Don Brace
From: Kevin Barnett add support for actions to take when controller goes offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 121 + 1 file changed, 121 insertions(+) diff --git

[PATCH V2 27/36] smartpqi: cleanup controller branding

2017-05-03 Thread Don Brace
From: Kevin Barnett - Improve controller branding support. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/scsi

[PATCH V2 26/36] smartpqi: update rescan worker

2017-05-03 Thread Don Brace
From: Kevin Barnett improve support for taking controller offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 drivers/scsi/smartpqi/smartpqi_init.c | 141 ++--- 2 files

[PATCH V2 24/36] smartpqi: correct aio error path

2017-05-03 Thread Don Brace
From: Kevin Barnett set the internal flag that causes I/O to be sent down the RAID path when the AIO path is disabled Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |8 + drivers/scsi/smartpqi/smartpqi_init.c

[PATCH V2 25/36] smartpqi: update device offline

2017-05-03 Thread Don Brace
From: Kevin Barnett - Improve handling of offline devices. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers

[PATCH V2 28/36] smartpqi: map more raid errors to SCSI errors

2017-05-03 Thread Don Brace
From: Kevin Barnett enhance mapping of RAID path errors to Linux SCSI host error codes. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 32 +++- 1 file changed, 31 insertions(+), 1

[PATCH V2 29/36] smartpqi: update timeout on admin commands

2017-05-03 Thread Don Brace
From: Kevin Barnett Increase the timeout on admin commands from 3 seconds to 60 seconds and added a check for controller crash in the loop where the driver polls for admin command completion. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi

[PATCH V2 30/36] smartpqi: enhance device add and remove messages

2017-05-03 Thread Don Brace
From: Kevin Barnett Improved formatting of information displayed when devices are added/removed from the system. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 90 + 1 file changed

[PATCH V2 34/36] smartpqi: add module parameters

2017-05-03 Thread Don Brace
From: Kevin Barnett Add module parameters to disable heartbeat support and to disable shutting down the controller when a controller is taken offline. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 29

[PATCH V2 33/36] smartpqi: cleanup list initialization

2017-05-03 Thread Don Brace
From: Kevin Barnett Better initialization of linked list heads. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/smartpqi

[PATCH V2 36/36] smartpqi: bump driver version

2017-05-03 Thread Don Brace
From: Kevin Barnett Reviewed-by: Scott Benesh Reviewed-by: Gerry Morong Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c

[PATCH V2 35/36] smartpqi: remove writeq/readq function definitions

2017-05-03 Thread Don Brace
From: Corentin Labbe Instead of rewriting write/readq, use existing functions Reviewed-by: Scott Benesh Signed-off-by: Corentin Labbe Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 31 ++- 1 file changed, 2

[PATCH V2 32/36] smartpqi: add raid level show

2017-05-03 Thread Don Brace
From: Kevin Barnett Display the RAID level via sysfs Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/scsi

[PATCH V2 31/36] smartpqi: make ioaccel references consistent

2017-05-03 Thread Don Brace
From: Kevin Barnett - make all references to RAID bypass consistent throughout driver. Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h | 13 drivers/scsi/smartpqi/smartpqi_init.c | 56

RE: [PATCH V2 07/12] hpsa: cleanup reset handler

2017-05-04 Thread Don Brace
> -Original Message- > From: Tomas Henzl [mailto:the...@redhat.com] > Sent: Thursday, May 04, 2017 10:47 AM > To: Don Brace ; joseph.szczy...@hpe.com; > Gerry Morong ; John Hall > ; j...@linux.vnet.ibm.com; Kevin Barnett > ; Mahesh Rajashekhara > ; Bader Ali - Sale

[PATCH V3 01/14] hpsa: update pci ids

2017-05-04 Thread Don Brace
Reviewed-by: Gerry Morong Reviewed-by: Scott Teel Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 9d659aa..eabb826 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -108,10

[PATCH V3 00/14] hpsa updates

2017-05-04 Thread Don Brace
lacement of spin_unlock_irqrestore in patch hpsa-clean-up-reset-handler - Thanks for your attention to hpsa Tomas --- Don Brace (13): hpsa: update pci ids hpsa: change driver version hpsa: update identify physical device structure hpsa: do not get enclosure

[PATCH V3 03/14] hpsa: update identify physical device structure

2017-05-04 Thread Don Brace
- align with latest spec. - added __attribute((aligned(512))) Reviewed-by: Scott Teel Reviewed-by: Scott Benesh Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa_cmd.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a

[PATCH V3 02/14] hpsa: change driver version

2017-05-04 Thread Don Brace
Reviewed-by: Gerry Morong Reviewed-by: Scott Teel 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 eabb826..73daace 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c

[PATCH V3 05/14] hpsa: update reset handler

2017-05-04 Thread Don Brace
Use the return from TUR as a check for the device state. Reviewed-by: Scott Benesh 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

[PATCH V3 04/14] hpsa: do not get enclosure info for external devices

2017-05-04 Thread Don Brace
external shelves do not support BMICs. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 73daace..8e22aed

[PATCH V3 06/14] hpsa: do not reset enclosures

2017-05-04 Thread Don Brace
Prevent enclosure resets. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 9fb30c4..2990897 100644 --- a

[PATCH V3 07/14] hpsa: rescan later if reset in progress

2017-05-04 Thread Don Brace
- schedule another scan. - mark current scan as completed Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH V3 09/14] hpsa: cleanup reset handler

2017-05-04 Thread Don Brace
- mark device state sooner. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 59 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 46 insertions(+), 14 deletions

[PATCH V3 08/14] hpsa: correct resets on retried commands

2017-05-04 Thread Don Brace
- call scsi_done when the command completes. Reviewed-by: Scott Benesh 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

[PATCH V3 11/14] hpsa: separate monitor events from rescan worker

2017-05-04 Thread Don Brace
. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 76 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 59 insertions(+), 18 deletions(-) diff --git a/drivers/scsi

[PATCH V3 12/14] hpsa: send ioaccel requests with 0 length down raid path

2017-05-04 Thread Don Brace
: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 62 ++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 2ec9079..ea778cc 100644 --- a/drivers/scsi

[PATCH V3 10/14] hpsa: correct queue depth for externals

2017-05-04 Thread Don Brace
- queue depth assignment not in correct place, had no effect. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 22 ++ drivers/scsi/hpsa.h |1 + 2 files changed, 11 insertions(+), 12

[PATCH V3 13/14] hpsa: remove abort handler

2017-05-04 Thread Don Brace
-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 621 +-- drivers/scsi/hpsa.h |1 2 files changed, 8 insertions(+), 614 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH V3 14/14] hpsa: bump driver version

2017-05-04 Thread Don Brace
Reviewed-by: Scott Benesh 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 9a631e3..9934947 100644 --- a/drivers/scsi

[PATCH V4 00/12] hpsa updates

2017-05-04 Thread Don Brace
lacement of spin_unlock_irqrestore in patch hpsa-clean-up-reset-handler - Thanks for your attention to hpsa Tomas Changes since V3: - Removed patches hpsa-update-pci-ids and hpsa-change-driver-version because they are already in. Sorry about that. --- Don Brace (11): hpsa

[PATCH V4 01/12] hpsa: update identify physical device structure

2017-05-04 Thread Don Brace
- align with latest spec. - added __attribute((aligned(512))) Reviewed-by: Scott Teel Reviewed-by: Scott Benesh Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa_cmd.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a

[PATCH V4 02/12] hpsa: do not get enclosure info for external devices

2017-05-04 Thread Don Brace
external shelves do not support BMICs. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 73daace..8e22aed

[PATCH V4 03/12] hpsa: update reset handler

2017-05-04 Thread Don Brace
Use the return from TUR as a check for the device state. Reviewed-by: Scott Benesh 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

[PATCH V4 07/12] hpsa: cleanup reset handler

2017-05-04 Thread Don Brace
- mark device state sooner. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/hpsa.c | 59 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 46 insertions(+), 14 deletions

<    4   5   6   7   8   9   10   >