]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot
authorXiaofei Tan <tanxiaofei@huawei.com>
Mon, 21 May 2018 10:09:21 +0000 (18:09 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 19:13:31 +0000 (15:13 -0400)
commit9a98d728b09d4592c42a558ae6387ce98f94aec6
tree0aaa836eb6dcd93307d44ffdf3d2c0d1f1aa2f1e
parent1a7068b31f3e0f07aa42a237010aebba1c5eff05
scsi: hisi_sas: Include TMF elements in struct hisi_sas_slot

BugLink: https://bugs.launchpad.net/bugs/1774466
In future scenarios we will want to use the TMF struct for more task types
than SSP.

As such, we can add struct hisi_sas_tmf_task directly into struct
hisi_sas_slot, and this will mean we can remove the TMF parameters from the
task prep functions.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 78bd2b4f6e7c0522cc8bc8ad651f20813ae06f6c linux-next)
[dannf: Included only as a dependency for the next patch]
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c