Skip to content

Resend of May 2014 patches for hpsa driver

Stephen M. Cameron linux-pci linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24hpsa: add new Smart Array PCI IDs (May 2014)drivers/scsi/hpsa.c+12 -00 replies
2/24hpsa: fix missing check of kzalloc return valuedrivers/scsi/hpsa.c+2 -00 replies
3/24hpsa: remove unused fields from struct ctlr_infodrivers/scsi/hpsa.c drivers/scsi/hpsa.h+0 -50 replies
4/24hpsa: allow passthru ioctls to work with bidirectional commandsdrivers/scsi/hpsa.c+4 -40 replies
5/24hpsa: change doorbell reset delay to ten secondsdrivers/scsi/hpsa.c+2 -20 replies
6/24hpsa: use gcc aligned attribute instead of manually padding structsdrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+6 -300 replies
7/24hpsa: remove dev_dbg() calls from hot pathsdrivers/scsi/hpsa.h+0 -50 replies
8/24hpsa: choose number of reply queues more intelligently.drivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+3 -13 replies
9/24hpsa: allocate reply queues individuallydrivers/scsi/hpsa.c drivers/scsi/hpsa.h+38 -280 replies
10/24hpsa: set irq affinity hints to route MSI-X vectors across CPUsdrivers/scsi/hpsa.c+16 -10 replies
11/24hpsa: use per-cpu variable for lockup_detecteddrivers/scsi/hpsa.c drivers/scsi/hpsa.h+54 -280 replies
12/24hpsa: avoid unnecessary readl on every command submissiondrivers/scsi/hpsa.c drivers/scsi/hpsa.h+21 -10 replies
13/24hpsa: Rearrange start_io to avoid one unlock/lock sequence in main io pathdrivers/scsi/hpsa.c+16 -80 replies
14/24hpsa: define extended_report_lun_entry data structuredrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+19 -140 replies
15/24hpsa: kill annoying messages about SSD Smart Path retriesdrivers/scsi/hpsa.c+0 -100 replies
16/24hpsa: fix event filtering to prevent excessive rescans with old firmwaredrivers/scsi/hpsa.h+1 -30 replies
17/24hpsa: remove bad unlikely annotation from device list updating codedrivers/scsi/hpsa.c+1 -10 replies
18/24hpsa: report check condition even if no sense data present for ioaccel2 modedrivers/scsi/hpsa.c+5 -20 replies
19/24hpsa: fix memory leak in hpsa_hba_mode_enableddrivers/scsi/hpsa.c drivers/scsi/hpsa.h+7 -10 replies
20/24hpsa: do not ignore failure of sense controller parameters commanddrivers/scsi/hpsa.c+5 -30 replies
21/24hpsa: remove messages about volume status VPD inquiry page not supporteddrivers/scsi/hpsa.c+3 -90 replies
22/24hpsa: fix bad comparison of signed with unsigned in hpsa_update_scsi_devicesdrivers/scsi/hpsa.c+1 -10 replies
23/24hpsa: return -ENOMEM not -1 on kzalloc failure in hpsa_get_device_iddrivers/scsi/hpsa.c+1 -10 replies
24/24hpsa: fix handling of hpsa_volume_offline return valuedrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+9 -50 replies

Reviews trailers per patch

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

PatchStephen M. CameronMike MillerScott TeelJoe HandzikWebb ScalesJustin Lindley
1/24R-b
2/24R-b
3/24R-b R-b
4/24R-b R-b
5/24R-b
6/24R-b
7/24R-b R-b
8/24R-b R-b
9/24R-b R-b
10/24R-b R-b
11/24R-b
12/24R-b R-b
13/24R-b
14/24R-b
15/24R-b R-b
16/24R-b
17/24R-b R-b
18/24R-b R-b
19/24R-b
20/24R-b
21/24R-b R-b
22/24R-b
23/24R-b
24/24R-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 v1 thread

Cover letter [PATCH 2 00/24] Resend of May 2014 patches for hpsa driver

Not a lot of extensive changes in this set, some new PCI IDs, some small bug fixes, quieting some noisy messages, allowing more reply queues, setting irq affinity hints, and some minor locking improvments.

Two patches are slightly changed since they were first sent due to reviewer comments and some new or previously unnoticed checkpatch complaints.

"hpsa: fix handling of hpsa_volume_offline return value" was changed slightly to avoid some type casting, and
"hpsa: use gcc aligned attribute instead of manually padding structs" was changed to use "__align(x)" instead of "__attribute((aligned(x)))"

 drivers/scsi/hpsa.c     |  297 +++++++++++++++++++++++++++++------------------
 drivers/scsi/hpsa.h     |   43 ++++---
 drivers/scsi/hpsa_cmd.h |   49 +++-----
 3 files changed, 226 insertions(+), 163 deletions(-)
Signature · 1 line
-- steve