OpenCloudOS-Kernel/drivers/scsi/hisi_sas
John Garry 3f2e252ef7 scsi: libsas: Add sas_execute_ata_cmd()
Add a function to execute an ATA command using the TMF code, and use in the
hisi_sas driver. That driver needs to be able to issue the command on a
specific phy, so add an interface for that.

With that, hisi_sas_exec_internal_tmf_task() may be deleted.

Link: https://lore.kernel.org/r/1645534259-27068-19-git-send-email-john.garry@huawei.com
Tested-by: Yihang Li <liyihang6@hisilicon.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-22 21:11:02 -05:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: libsas: Add struct sas_tmf_task 2022-02-19 15:59:35 -05:00
hisi_sas_main.c scsi: libsas: Add sas_execute_ata_cmd() 2022-02-22 21:11:02 -05:00
hisi_sas_v1_hw.c scsi: libsas: Add struct sas_tmf_task 2022-02-19 15:59:35 -05:00
hisi_sas_v2_hw.c scsi: libsas: Add sas_execute_ata_cmd() 2022-02-22 21:11:02 -05:00
hisi_sas_v3_hw.c scsi: libsas: Add struct sas_tmf_task 2022-02-19 15:59:35 -05:00