mbox series

[v3,00/18] scsi: libsas and users: Factor out LLDD TMF code

Message ID 1645534259-27068-1-git-send-email-john.garry@huawei.com
Headers show
Series scsi: libsas and users: Factor out LLDD TMF code | expand

Message

John Garry Feb. 22, 2022, 12:50 p.m. UTC
This is just an update of the series to fix a build error, as reported
here:
https://lore.kernel.org/lkml/59b538b7-b4c5-8111-d2bf-7fb353ecb19b@huawei.com/

Original cover letter is here:
https://lore.kernel.org/linux-scsi/0d4f988d-881c-3717-f9d8-38739cf17e91@opensource.wdc.com/T/#mcae9d344f2795bdbb8845da29a140b58dbafb6f8

I also included Damien's Tested-by tags.

Baseline is mkp-scsi 5.18/scsi-staging at ac2beb4e3bd7

Damien's following series is based on this series:
https://lore.kernel.org/linux-scsi/20220220031810.738362-1-damien.lemoal@opensource.wdc.com/T/#t

John Garry (18):
  scsi: libsas: Handle non-TMF codes in sas_scsi_find_task()
  scsi: libsas: Use enum for response frame DATAPRES field
  scsi: libsas: Delete lldd_clear_aca callback
  scsi: libsas: Delete SAS_SG_ERR
  scsi: hisi_sas: Delete unused I_T_NEXUS_RESET_PHYUP_TIMEOUT
  scsi: libsas: Move SMP task handlers to core
  scsi: libsas: Add struct sas_tmf_task
  scsi: libsas: Add sas_task.tmf
  scsi: libsas: Add sas_execute_tmf()
  scsi: libsas: Add sas_execute_ssp_tmf()
  scsi: libsas: Add TMF handler exec complete callback
  scsi: libsas: Add TMF handler aborted callback
  scsi: libsas: Add sas_abort_task_set()
  scsi: libsas: Add sas_clear_task_set()
  scsi: libsas: Add sas_lu_reset()
  scsi: libsas: Add sas_query_task()
  scsi: libsas: Add sas_abort_task()
  scsi: libsas: Add sas_execute_ata_cmd()

 Documentation/scsi/libsas.rst          |   2 -
 drivers/scsi/aic94xx/aic94xx.h         |   1 -
 drivers/scsi/aic94xx/aic94xx_init.c    |   1 -
 drivers/scsi/aic94xx/aic94xx_tmf.c     |  11 +-
 drivers/scsi/hisi_sas/hisi_sas.h       |   9 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c  | 227 ++++--------------------
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |   2 +-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |   9 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c |   2 +-
 drivers/scsi/isci/init.c               |   1 -
 drivers/scsi/isci/request.c            |   7 +-
 drivers/scsi/isci/task.c               |  18 --
 drivers/scsi/isci/task.h               |   4 -
 drivers/scsi/libsas/sas_ata.c          |  10 +-
 drivers/scsi/libsas/sas_expander.c     |  24 +--
 drivers/scsi/libsas/sas_internal.h     |   6 +
 drivers/scsi/libsas/sas_scsi_host.c    | 229 ++++++++++++++++++++++++-
 drivers/scsi/libsas/sas_task.c         |  14 +-
 drivers/scsi/mvsas/mv_defs.h           |   5 -
 drivers/scsi/mvsas/mv_init.c           |   5 +-
 drivers/scsi/mvsas/mv_sas.c            | 179 +------------------
 drivers/scsi/mvsas/mv_sas.h            |   3 -
 drivers/scsi/pm8001/pm8001_hwi.c       |   4 +-
 drivers/scsi/pm8001/pm8001_init.c      |   5 +-
 drivers/scsi/pm8001/pm8001_sas.c       | 194 ++++-----------------
 drivers/scsi/pm8001/pm8001_sas.h       |  14 +-
 include/scsi/libsas.h                  |  21 ++-
 include/scsi/sas.h                     |   7 +
 include/scsi/sas_ata.h                 |   8 +
 29 files changed, 382 insertions(+), 640 deletions(-)

Comments

Martin K. Petersen Feb. 28, 2022, 3:43 a.m. UTC | #1
On Tue, 22 Feb 2022 20:50:41 +0800, John Garry wrote:

> This is just an update of the series to fix a build error, as reported
> here:
> https://lore.kernel.org/lkml/59b538b7-b4c5-8111-d2bf-7fb353ecb19b@huawei.com/
> 
> Original cover letter is here:
> https://lore.kernel.org/linux-scsi/0d4f988d-881c-3717-f9d8-38739cf17e91@opensource.wdc.com/T/#mcae9d344f2795bdbb8845da29a140b58dbafb6f8
> 
> [...]

Applied to 5.18/scsi-queue, thanks!

[01/18] scsi: libsas: Handle non-TMF codes in sas_scsi_find_task()
        https://git.kernel.org/mkp/scsi/c/9aacf6fe9059
[02/18] scsi: libsas: Use enum for response frame DATAPRES field
        https://git.kernel.org/mkp/scsi/c/1d6049a3b14f
[03/18] scsi: libsas: Delete lldd_clear_aca callback
        https://git.kernel.org/mkp/scsi/c/25882c82f850
[04/18] scsi: libsas: Delete SAS_SG_ERR
        https://git.kernel.org/mkp/scsi/c/2dd6801a671c
[05/18] scsi: hisi_sas: Delete unused I_T_NEXUS_RESET_PHYUP_TIMEOUT
        https://git.kernel.org/mkp/scsi/c/da19eaba6e75
[06/18] scsi: libsas: Move SMP task handlers to core
        https://git.kernel.org/mkp/scsi/c/4aef43b25df2
[07/18] scsi: libsas: Add struct sas_tmf_task
        https://git.kernel.org/mkp/scsi/c/bbfe82cdbaf8
[08/18] scsi: libsas: Add sas_task.tmf
        https://git.kernel.org/mkp/scsi/c/96e54376a8b2
[09/18] scsi: libsas: Add sas_execute_tmf()
        https://git.kernel.org/mkp/scsi/c/001ec7f89bea
[10/18] scsi: libsas: Add sas_execute_ssp_tmf()
        https://git.kernel.org/mkp/scsi/c/350d85ba5bad
[11/18] scsi: libsas: Add TMF handler exec complete callback
        https://git.kernel.org/mkp/scsi/c/2037a340314f
[12/18] scsi: libsas: Add TMF handler aborted callback
        https://git.kernel.org/mkp/scsi/c/693e66a0a6ac
[13/18] scsi: libsas: Add sas_abort_task_set()
        https://git.kernel.org/mkp/scsi/c/69b80a0ed0b5
[14/18] scsi: libsas: Add sas_clear_task_set()
        https://git.kernel.org/mkp/scsi/c/e8585452953a
[15/18] scsi: libsas: Add sas_lu_reset()
        https://git.kernel.org/mkp/scsi/c/29d7769055a2
[16/18] scsi: libsas: Add sas_query_task()
        https://git.kernel.org/mkp/scsi/c/72f8810e1fdc
[17/18] scsi: libsas: Add sas_abort_task()
        https://git.kernel.org/mkp/scsi/c/4fea759edfa7
[18/18] scsi: libsas: Add sas_execute_ata_cmd()
        https://git.kernel.org/mkp/scsi/c/3f2e252ef727