Skip to content

hpsa driver updates

Don Brace linux-scsi 2 versions – In review

Get series with b4
b4 am 20150123224020.14919.29458.stgit@brunhilda

Versions newest first · linked by author and title

  1. v2 Latest48 patches 2 repliesIn review
  2. v148 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/48hpsa: correct endian sparse warningsdrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+198 -2490 replies
2/48hpsa: fix memory leak in kdump hard resetdrivers/scsi/hpsa.c+1 -10 replies
3/48hpsa: turn off interrupts when kdump startsdrivers/scsi/hpsa.c+9 -00 replies
4/48hpsa: change how SA controllers are resetdrivers/scsi/hpsa.c+10 -180 replies
5/48hpsa: correct change_queue_depthdrivers/scsi/hpsa.c+15 -10 replies
6/48hpsa: adjust RAID-1, RAID-1ADM, and RAID-6 namesdrivers/scsi/hpsa.c+2 -20 replies
7/48hpsa: rename free_irqs to hpsa_free_irqsdrivers/scsi/hpsa.c+22 -210 replies
8/48hpsa: Fix -Wunused-but-set-variable warningdrivers/scsi/hpsa.c+2 -20 replies
9/48hpsa: notice all request_irq errorsdrivers/scsi/hpsa.c+18 -10 replies
10/48hpsa: remove 0x from queue depth print which is in decimaldrivers/scsi/hpsa.c+1 -10 replies
11/48hpsa: propagate hard_reset failures in reset_devices modedrivers/scsi/hpsa.c+1 -40 replies
12/48hpsa: propagate return value from board ID lookupdrivers/scsi/hpsa.c+7 -30 replies
13/48hpsa: downgrade the Waiting for no-op print to dev_infodrivers/scsi/hpsa.c+1 -10 replies
14/48hpsa: refactor hpsa_find_board_params() to encapsulate legacy testdrivers/scsi/hpsa.c+21 -90 replies
15/48hpsa: trivial message and comment clean upsdrivers/scsi/hpsa.c+10 -110 replies
16/48hpsa: report failure to ioremap config tabledrivers/scsi/hpsa.c+3 -10 replies
17/48hpsa: rename hpsa_request_irq to hpsa_request_irqsdrivers/scsi/hpsa.c+6 -50 replies
18/48hpsa: pass error from pci_set_consistent_dma_mask from hpsa_messagedrivers/scsi/hpsa.c+1 -10 replies
19/48hpsa: report allocation failures while allocating SG chain blocksdrivers/scsi/hpsa.c+6 -20 replies
20/48hpsa: fix memory leak in hpsa_alloc_cmd_pooldrivers/scsi/hpsa.c+5 -10 replies
21/48hpsa: avoid unneccesary calls to resource freeing functionsdrivers/scsi/hpsa.c+4 -20 replies
22/48hpsa: reserve some commands for use by driverdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+7 -20 replies
23/48hpsa: get rid of cmd_special_alloc and cmd_special_freedrivers/scsi/hpsa.c drivers/scsi/hpsa.h+31 -770 replies
24/48hpsa: do not queue commands internally in driverdrivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+38 -2950 replies
25/48hpsa: do not request device rescan on every ioaccel path errordrivers/scsi/hpsa.c drivers/scsi/hpsa.h+2 -130 replies
26/48hpsa: factor out hpsa_ciss_submit functiondrivers/scsi/hpsa.c+67 -590 replies
27/48hpsa: use workqueue to resubmit failed ioaccel commandsdrivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+54 -200 replies
28/48hpsa: honor queue depth of physical devicesdrivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+412 -680 replies
29/48hpsa: fix race between abort handler and main i/o pathdrivers/scsi/hpsa.c drivers/scsi/hpsa.h drivers/scsi/hpsa_cmd.h+65 -470 replies
30/48hpsa: optimize cmd_alloc function by remembering last allocationdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+6 -20 replies
31/48hpsa: count passthru cmds with atomics, not a spin locked intdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+6 -360 replies
32/48hpsa: slightly optimize SA5_performant_completeddrivers/scsi/hpsa.h+4 -40 replies
33/48hpsa: do not check for msi(x) in interrupt_pendingdrivers/scsi/hpsa.h+0 -30 replies
34/48hpsa: remove incorrect BUG_ONs checking for raid offload enabledrivers/scsi/hpsa.c+0 -40 replies
35/48hpsa: do not ack controller events on controllers that do not support itdrivers/scsi/hpsa.c+3 -00 replies
36/48hpsa: guard against overflowing raid map arraydrivers/scsi/hpsa.c+3 -00 replies
37/48hpsa: check for ctlr lockup after command allocation in main io pathdrivers/scsi/hpsa.c+8 -10 replies
38/48hpsa: return failed from device reset/abort handlersdrivers/scsi/hpsa.c+7 -00 replies
39/48hpsa: do not use a void pointer for scsi_cmd field of struct CommandListdrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+4 -40 replies
40/48hpsa: print CDBs instead of kernel virtual addresses for uncommon errorsdrivers/scsi/hpsa.c+16 -130 replies
41/48hpsa: do not use function pointers in fast path command submissiondrivers/scsi/hpsa.c drivers/scsi/hpsa.h+6 -70 replies
42/48hpsa: move SG descriptor set-up out of hpsa_scatter_gather()drivers/scsi/hpsa.c+14 -70 replies
43/48hpsa: refactor duplicated scan completion code into a new routinedrivers/scsi/hpsa.c+16 -240 replies
44/48hpsa: shorten the wait for the CISS doorbell mode change ackdrivers/scsi/hpsa.c+9 -60 replies
45/48hpsa: detect and report failures changing controller transport modesdrivers/scsi/hpsa.c+29 -110 replies
46/48hpsa: add in gen9 controller model namesdrivers/scsi/hpsa.c+13 -130 replies
47/48hpsa: add in P840ar controller model namedrivers/scsi/hpsa.c+1 -10 replies
48/48hpsa: Use local workqueues instead of system workqueuesdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+56 -142 replies

Reviews trailers per patch

All 48 patches have a Reviewed-by or Acked-by.

PatchScott TeelWebb ScalesDon BraceRobert ElliottJustin LindleyKevin Barnett
1/48R-b R-b
2/48R-b R-b
3/48R-b
4/48R-b R-b
5/48R-b
6/48R-b
7/48R-b
8/48R-b A-b
9/48R-b
10/48R-b
11/48R-b
12/48R-b
13/48R-b
14/48R-b
15/48R-b
16/48R-b
17/48R-b
18/48R-b
19/48R-b
20/48R-b
21/48R-b
22/48R-b
23/48R-b
24/48R-b R-b
25/48R-b
26/48R-b
27/48R-b
28/48R-b
29/48R-b
30/48R-b
31/48R-b
32/48R-b
33/48R-b
34/48R-b
35/48R-b
36/48R-b
37/48R-b
38/48R-b R-b
39/48R-b
40/48R-b
41/48R-b
42/48R-b
43/48R-b
44/48R-b
45/48R-b
46/48R-b
47/48R-b
48/48R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/48] hpsa driver updates

This patch set is based on Linus's tree.

The changes are:
- correct sparse warnings
- correct memory leaks
- correct kdump issues
- correct queue depth updates
- cleanup function return values
- cleanup and enhance messages
- cleanup and enhance error handling
- minor code refactoring
- performance enhancements.
- removal of command queueing in driver
- elimination of race conditions around aborts
- change to internal driver workqueues

---

Don Brace (12):
hpsa: correct endian sparse warnings
hpsa: change how SA controllers are reset
hpsa: correct change_queue_depth
hpsa: do not queue commands internally in driver
hpsa: use workqueue to resubmit failed ioaccel commands
hpsa: honor queue depth of physical devices
hpsa: count passthru cmds with atomics, not a spin locked int
hpsa: slightly optimize SA5_performant_completed
hpsa: return failed from device reset/abort handlers
hpsa: add in gen9 controller model names
hpsa: add in P840ar controller model name
hpsa: Use local workqueues instead of system workqueues

Fabian Frederick (1):
hpsa: Fix -Wunused-but-set-variable warning

Robert Elliott (16):
hpsa: adjust RAID-1, RAID-1ADM, and RAID-6 names
hpsa: rename free_irqs to hpsa_free_irqs
hpsa: notice all request_irq errors
hpsa: remove 0x from queue depth print which is in decimal
hpsa: propagate hard_reset failures in reset_devices mode
hpsa: propagate return value from board ID lookup
hpsa: downgrade the Waiting for no-op print to dev_info
hpsa: report failure to ioremap config table
hpsa: rename hpsa_request_irq to hpsa_request_irqs
hpsa: pass error from pci_set_consistent_dma_mask from hpsa_message
hpsa: report allocation failures while allocating SG chain blocks
hpsa: fix memory leak in hpsa_alloc_cmd_pool
hpsa: avoid unneccesary calls to resource freeing functions
hpsa: optimize cmd_alloc function by remembering last allocation
hpsa: shorten the wait for the CISS doorbell mode change ack
hpsa: detect and report failures changing controller transport modes

Stephen Cameron (13):
hpsa: trivial message and comment clean ups
hpsa: reserve some commands for use by driver
hpsa: get rid of cmd_special_alloc and cmd_special_free
hpsa: do not request device rescan on every ioaccel path error
hpsa: factor out hpsa_ciss_submit function
hpsa: do not check for msi(x) in interrupt_pending
hpsa: remove incorrect BUG_ONs checking for raid offload enable
hpsa: do not ack controller events on controllers that do not support it
hpsa: guard against overflowing raid map array
hpsa: check for ctlr lockup after command allocation in main io path
hpsa: do not use a void pointer for scsi_cmd field of struct CommandList
hpsa: print CDBs instead of kernel virtual addresses for uncommon errors
hpsa: do not use function pointers in fast path command submission

Tomas Henzl (2):
hpsa: fix memory leak in kdump hard reset
hpsa: turn off interrupts when kdump starts

Webb Scales (4):
hpsa: refactor hpsa_find_board_params() to encapsulate legacy test
hpsa: fix race between abort handler and main i/o path
hpsa: move SG descriptor set-up out of hpsa_scatter_gather()
hpsa: refactor duplicated scan completion code into a new routine

 drivers/scsi/hpsa.c     | 1858 ++++++++++++++++++++++++-----------------------
 drivers/scsi/hpsa.h     |   61 +-
 drivers/scsi/hpsa_cmd.h |  334 ++++++--
 3 files changed, 1203 insertions(+), 1050 deletions(-)

--
Signature