Skip to content

Add support of the HBA mode on HP Smart Array P410i controllers

Ivan Mironov linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6scsi: hpsa: Add function to check if device is a disk or a zoned devicedrivers/scsi/hpsa.c+11 -101 reply
2/6scsi: hpsa: Support HBA mode on HP Smart Array P410i controllersdrivers/scsi/hpsa.c drivers/scsi/hpsa.h+97 -40 replies
3/6scsi: hpsa: Add/mask existing devices on rescan if visibility changesdrivers/scsi/hpsa.c+10 -00 replies
4/6scsi: hpsa: Ignore HBA flag from NVRAM if logical devices existdrivers/scsi/hpsa.c+9 -50 replies
5/6scsi: hpsa: Name more fields in "struct bmic_identify_controller"drivers/scsi/hpsa_cmd.h+106 -30 replies
6/6scsi: hpsa: Do not use HBA flag from NVRAM if HBA is not supporteddrivers/scsi/hpsa.c drivers/scsi/hpsa_cmd.h+18 -20 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Add support of the HBA mode on HP Smart Array P410i controllers

This series of patches adds support of the HBA mode on HP Smart Array P410i RAID controllers.

This is not guaranteed to be correct as I do not have any access to documentation on these controllers. However, this works fine for me on hardware that I have. Also, these changes successfully passes blktests[1] and xfstests[2].

To make sure that this new functionality does not break anything, it is disabled by default and may be enabled only manually using new module parameter.

[1] https://github.com/osandov/blktests
[2] https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git

Ivan Mironov (6):
scsi: hpsa: Add function to check if device is a disk or a zoned
device
scsi: hpsa: Support HBA mode on HP Smart Array P410i controllers
scsi: hpsa: Add/mask existing devices on rescan if visibility changes
scsi: hpsa: Ignore HBA flag from NVRAM if logical devices exist
scsi: hpsa: Name more fields in "struct bmic_identify_controller"
scsi: hpsa: Do not use HBA flag from NVRAM if HBA is not supported

 drivers/scsi/hpsa.c     | 145 ++++++++++++++++++++++++++++++++++++----
 drivers/scsi/hpsa.h     |   3 +
 drivers/scsi/hpsa_cmd.h | 113 ++++++++++++++++++++++++++++++-
 3 files changed, 244 insertions(+), 17 deletions(-)
Signature · 1 line
2.19.2