mbox series

[V3,0/3] megaraid_sas: Add support for FW device list DCMD

Message ID 1548754694-5280-1-git-send-email-shivasharan.srikanteshwara@broadcom.com (mailing list archive)
Headers show
Series megaraid_sas: Add support for FW device list DCMD | expand

Message

Shivasharan Srikanteshwara Jan. 29, 2019, 9:38 a.m. UTC
This patchset adds support for new HOST_DEVICE_LIST DCMD
in driver. This DCMD provides a combined list of target IDs
of devices which are exposed to host.
Driver will check for FW support for this new DCMD and based
on the support will either send the new DCMD or will fall back
to earlier GET_PD_LIST/GET_LD_LIST_QUERY DCMDs.

Changes in V2:
- Fixed smatch warnings in Patch 2 as reported by Dan Carpenter
- Fixed few checkpatch warnings about unaligned paranthesis in Patches 1 and 3.
- Removed one left over debug print in Patch 3

Changes in V3:
- Fixed kerneldoc formatting for the new functions added.

Shivasharan S (3):
  megaraid_sas: Rework code to get PD and LD list
  megaraid_sas: Rework device add code in AEN path
  megaraid_sas: Add support for DEVICE_LIST DCMD in driver

 drivers/scsi/megaraid/megaraid_sas.h        |  49 +++-
 drivers/scsi/megaraid/megaraid_sas_base.c   | 403 ++++++++++++++++++++++------
 drivers/scsi/megaraid/megaraid_sas_fusion.c |   1 +
 drivers/scsi/megaraid/megaraid_sas_fusion.h |   1 +
 4 files changed, 370 insertions(+), 84 deletions(-)

Comments

Martin K. Petersen Feb. 5, 2019, 3:44 a.m. UTC | #1
Shivasharan,

> This patchset adds support for new HOST_DEVICE_LIST DCMD in
> driver. This DCMD provides a combined list of target IDs of devices
> which are exposed to host.  Driver will check for FW support for this
> new DCMD and based on the support will either send the new DCMD or
> will fall back to earlier GET_PD_LIST/GET_LD_LIST_QUERY DCMDs.

Applied to 5.1/scsi-queue, thanks!