]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Add sas_abort_task()
authorJohn Garry <john.garry@huawei.com>
Thu, 17 Feb 2022 15:42:45 +0000 (23:42 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 19 Feb 2022 20:59:36 +0000 (15:59 -0500)
commitfb16b2e733b64b29867dc6a3be1cec0d4e515e07
tree155e846a4f6f17a903e86927997a63adb02a1cd3
parenta626c84c575d4e1174aab85d64d652e80be90be8
scsi: libsas: Add sas_abort_task()

Add a generic implementation of abort task TMF handler, and use in LLDDs.

With that, some LLDDs custom TMF functions can now be deleted.

Link: https://lore.kernel.org/r/1645112566-115804-18-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>
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/mvsas/mv_sas.c
drivers/scsi/pm8001/pm8001_sas.c
include/scsi/libsas.h