Skip to content

scsi: arcmsr: add some driver options and support new adapter ARC-1884

Ching Huang linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 of 17 patches 1 replyIn review

9 of 17 patches are in this archive. The cover letter announces 17.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17scsi: arcmsr: redefine ACB_ADAPTER_TYPE_A, _B, _C, _D and subsequent changes.drivers/scsi/arcmsr/arcmsr.h drivers/scsi/arcmsr/arcmsr_hba.c+6 -60 replies
3/17scsi: arcmsr: add codes for ACB_ADAPTER_TYPE_E to support new adapter ARC-1884drivers/scsi/arcmsr/arcmsr.h drivers/scsi/arcmsr/arcmsr_hba.c+649 -30 replies
9/17scsi: arcmsr: add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for get device mapdrivers/scsi/arcmsr/arcmsr.h drivers/scsi/arcmsr/arcmsr_hba.c+17 -50 replies
10/17scsi: arcmsr: add a function arcmsr_set_iop_datetime and driver option set_date_time to set date and time to firmwaredrivers/scsi/arcmsr/arcmsr.h drivers/scsi/arcmsr/arcmsr_hba.c+131 -00 replies
12/17scsi: arcmsr: spin off duplicate code of timer init for message isr BH in arcmsr_probe and arcmsr_resume as a functiondrivers/scsi/arcmsr/arcmsr_hba.c+13 -140 replies
13/17scsi: arcmsr: adjust some tab or white-space to make text alignmentdrivers/scsi/arcmsr/arcmsr.h drivers/scsi/arcmsr/arcmsr_hba.c+222 -2220 replies
14/17scsi: arcmsr: fix grammar errordrivers/scsi/arcmsr/arcmsr_hba.c+1 -10 replies
15/17scsi: arcmsr: Add driver module parameter msi_enabledrivers/scsi/arcmsr/arcmsr_hba.c+13 -30 replies
16/17scsi: arcmsr: Add driver module parameter msix_enabledrivers/scsi/arcmsr/arcmsr_hba.c+7 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/17] scsi: arcmsr: add some driver options and support new adapter ARC-1884

From: Ching Huang <[email protected]>

Hi Martin,

Due to 4.16/scsi-queue conflict with 4.15-rc1, so I resubmit these patches again. The following patches apply to Linus' 4.15-rc1 tree.

Patch 1: redefine ACB_ADAPTER_TYPE_A, _B, _C, _D and subsequent changes.

Patch 2: simplify arcmsr_iop_init function.

Patch 3: add codes for ACB_ADAPTER_TYPE_E to support new adapter ARC-1884

Patch 4. update ARCMSR_MAX_OUTSTANDING_CMD and ARCMSR_MAX_FREECCB_NUM to 1024

Patch 5: replace constant ARCMSR_MAX_FREECCB_NUM by variable acb->maxFreeCCB that was got from firmware.

Patch 6: add driver option host_can_queue to set host->can_queue value by user. It's value expands

         up to 1024.

Patch 7: replace constant ARCMSR_MAX_OUTSTANDING_CMD by variable acb->maxOutstanding that was determined by user.

Patch 8: add driver option cmd_per_lun to set host->cmd_per_lun value by user.

Patch 9: add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for
get device map.

Patch 10: add a function arcmsr_set_iop_datetime and driver option set_date_time to set date and time to firmware.

Patch 11: fix clear doorbell queue on ACB_ADAPTER_TYPE_B controller.

Patch 12: spin off duplicate code of timer init for message isr BH in arcmsr_probe and arcmsr_resume as a function
arcmsr_init_get_devmap_timer

Patch 13: adjust some tab or white-space to make text alignment.

Patch 14: fix grammar error.

Patch 15: Add module parameter msi_enable to has a chance to disable msi interrupt if it does not work properly.

Patch 16: Add module parameter msix_enable to has a chance to disable msix interrupt if it does not work properly.

Patch 17: update driver version to v1.40.00.04-20171130
---