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
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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
...@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
-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
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
, 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
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
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
-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
(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
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
-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
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
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
...@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
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
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
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
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
-by: Don Brace don.br...@pmcs.com
---
drivers/scsi/hpsa.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 834ac78..a02ea7f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -4343,6 +4343,10 @@ static int
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
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
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
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
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
).
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
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
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
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
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
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
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
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
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
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
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
801 - 855 of 855 matches
Mail list logo