]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs-bsg: Add support for raw upiu in ufs_bsg_request()
authorAvri Altman <avri.altman@wdc.com>
Sun, 7 Oct 2018 14:30:38 +0000 (17:30 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Oct 2018 03:09:47 +0000 (23:09 -0400)
commit60cca9fba78af6e3dff0b42758d7473f5fe53c68
tree864f111d2890079f4ae80c020bf67859901346bd
parent3b4696b4e41e72690a50dcbd3a52ff8735e8b68c
scsi: ufs-bsg: Add support for raw upiu in ufs_bsg_request()

Do that for the currently supported UPIUs: query, nop out, and task
management.

We do not support UPIU of type scsi command yet, while we are using the
job's request and reply pointers to hold the payload.  We will look into
it in later patches. We might need to elaborate the raw upiu api for
that.

We also still not supporting uic commands: For first phase, we plan to
use the existing api, and send only uic commands that are already
supported. Anyway, all that will come in the next patch.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs_bsg.c