Skip to content

hpsa: Feb 2010 driver updates

Stephen M. Cameron linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest30 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30hpsa: fix typo in commentsdrivers/scsi/hpsa_cmd.h+1 -10 replies
2/30hpsa: Use kernel integer types, not userland onesdrivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+120 -1200 replies
3/30hpsa: avoid unwanted promotion from unsigned to signed for raid level indexdrivers/scsi/hpsa.c+2 -20 replies
4/30hpsa: Use BUG_ON instead of an if statement.drivers/scsi/hpsa.c+1 -20 replies
5/30hpsa: make adjust_hpsa_scsi_table return void.drivers/scsi/hpsa.c+1 -20 replies
6/30hpsa: remove superfluous returns from void functions.drivers/scsi/hpsa.c+1 -40 replies
7/30hpsa: return proper error codes not minus one.drivers/scsi/hpsa.c+22 -150 replies
8/30hpsa: use sizeof() not an inline constant in memset.drivers/scsi/hpsa.c+2 -30 replies
9/30hpsa: use kzalloc not kmalloc plus memsetdrivers/scsi/hpsa.c+2 -30 replies
10/30hpsa: remove unwanted debug codedrivers/scsi/hpsa.c+0 -60 replies
11/30hpsa: eliminate unnecessary memcpysdrivers/scsi/hpsa.c+3 -80 replies
12/30hpsa: make tag macros into functionsdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+22 -70 replies
13/30hpsa: fix some debug printks to use dev_dbg insteaddrivers/scsi/hpsa.h+4 -90 replies
14/30hpsa: interrupt pending function should return bool not unsigned longdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+4 -60 replies
15/30hpsa: Allow multiple command completions per interrupt.drivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+404 -660 replies
16/30hpsa: add pci ids for storageworks 1210m, remove p400, p800, p700mdrivers/scsi/hpsa.c+5 -60 replies
17/30hpsa: Fix p1210m LUN assignment.drivers/scsi/hpsa.c drivers/scsi/hpsa.h+98 -200 replies
18/30hpsa: Return DID_RESET for commands which complete with status of UNSOLICITED ABORTdrivers/scsi/hpsa.c+1 -10 replies
19/30hpsa: Retry commands completing with a sense key of ABORTED_COMMANDdrivers/scsi/hpsa.c+9 -20 replies
20/30hpsa: Don't return DID_NO_CONNECT when a device is merely not readydrivers/scsi/hpsa.c+0 -10 replies
21/30hpsa: Add an shost_to_hba helper function.drivers/scsi/hpsa.c+7 -20 replies
22/30hpsa: use scan_start and scan_finished entry points for scanningdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+55 -30 replies
23/30hpsa: when resetting devices, print out which devicedrivers/scsi/hpsa.c+2 -20 replies
24/30hpsa: print all the bytes of the CDB, not just the first one.drivers/scsi/hpsa.c+5 -10 replies
25/30hpsa: clarify obscure comment in adjust_hpsa_scsi_tabledrivers/scsi/hpsa.c+5 -10 replies
26/30hpsa: Fix hpsa_find_scsi_entry so that it doesn't try to dereference NULL pointersdrivers/scsi/hpsa.c+2 -00 replies
27/30hpsa: fix bug in adjust_hpsa_scsi_tabledrivers/scsi/hpsa.c+20 -60 replies
28/30hpsa: eliminate lock_kernel in compat_ioctldrivers/scsi/hpsa.c+3 -130 replies
29/30hpsa: Reorder compat ioctl functions to eliminate some forward declarations.drivers/scsi/hpsa.c+30 -340 replies
30/30hpsa: `update driver version to 2.0.1-3drivers/scsi/hpsa.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/30] hpsa: Feb 2010 driver updates

The biggest changes are:

1) Adding support for Storageworks 1210m. This RAID controller, unlike previous Smart Arrays, responds to SCSI_REPORT_LUNs and consequently the code for device discovery and mapping devices to bus/target/lun had to change significantly.

2) The 1210m requires the use of so-called "performant mode", which allow multiple commands to be completed with a single interrupt. All Smart Arrays support this mode.

3) Fixed bug in device updating code in which multiple changes at once caused bad things to happen.

The remaining changes are mostly just cleaning things up.

Don Brace (1):
hpsa: Allow multiple command completions per interrupt.

Matt Gates (3):
hpsa: Return DID_RESET for commands which complete with status of UNSOLICITED ABORT
hpsa: Retry commands completing with a sense key of ABORTED_COMMAND
hpsa: Don't return DID_NO_CONNECT when a device is merely not ready

Mike Miller (2):
hpsa: add pci ids for storageworks 1210m, remove p400, p800, p700m
hpsa: print all the bytes of the CDB, not just the first one.

Stephen M. Cameron (24):
hpsa: fix typo in comments
hpsa: Use kernel integer types, not userland ones
hpsa: avoid unwanted promotion from unsigned to signed for raid level index
hpsa: Use BUG_ON instead of an if statement.
hpsa: make adjust_hpsa_scsi_table return void.
hpsa: remove superfluous returns from void functions.
hpsa: return proper error codes not minus one.
hpsa: use sizeof() not an inline constant in memset.
hpsa: use kzalloc not kmalloc plus memset
hpsa: remove unwanted debug code
hpsa: eliminate unnecessary memcpys
hpsa: make tag macros into functions
hpsa: fix some debug printks to use dev_dbg instead
hpsa: interrupt pending function should return bool not unsigned long
hpsa: Fix p1210m LUN assignment.
hpsa: Add an shost_to_hba helper function.
hpsa: use scan_start and scan_finished entry points for scanning
hpsa: when resetting devices, print out which device
hpsa: clarify obscure comment in adjust_hpsa_scsi_table
hpsa: Fix hpsa_find_scsi_entry so that it doesn't try to dereference NULL pointers
hpsa: fix bug in adjust_hpsa_scsi_table
hpsa: eliminate lock_kernel in compat_ioctl
hpsa: Reorder compat ioctl functions to eliminate some forward declarations.
hpsa: `update driver version to 2.0.1-3

 drivers/scsi/hpsa.c     |  793 ++++++++++++++++++++++++++++++++++-------------
 drivers/scsi/hpsa.h     |  136 +++++++-
 drivers/scsi/hpsa_cmd.h |  204 +++++++-----
 3 files changed, 809 insertions(+), 324 deletions(-)
Signature · 1 line
  steve