]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Add TMF handler exec complete callback
authorJohn Garry <john.garry@huawei.com>
Thu, 17 Feb 2022 15:42:39 +0000 (23:42 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 19 Feb 2022 20:59:35 +0000 (15:59 -0500)
commit310042b7f80857e18c82b0648fd780f43d95121c
tree892071b00d48de5a431aeadeacf4650d874fbe29
parent2192df040621a23d54343e1db9e2d983ea8d719b
scsi: libsas: Add TMF handler exec complete callback

The pm8001 TMF handler has some special processing when the TMF completes,
so add a callback and fill it in for the pm8001 driver.

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