OSDN Git Service

scsi: ufs-bsg: Change the calling convention for write descriptor
authorAvri Altman <avri.altman@wdc.com>
Wed, 20 Feb 2019 07:11:12 +0000 (09:11 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Feb 2019 13:56:32 +0000 (08:56 -0500)
commit4eaa329e331343dd64996297583f2eee7d215e2a
tree7e6a2cffd23c310a9077ba89b295f90928688eb6
parente9cb9655f84137c020496572ac6e43beafe0b4a7
scsi: ufs-bsg: Change the calling convention for write descriptor

When we had a write descriptor query upiu, we appended the descriptor right
after the bsg request.  This was fine as the bsg driver allows to allocate
whatever buffer we needed in its job request.

Still, the proper way to deliver payload, however small (we only write
config descriptors of 144 bytes), is by using the job request payload data
buffer.

So change this ABI now, while ufs-bsg is still new, and nobody is actually
using it.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/scsi/ufs.txt
drivers/scsi/ufs/ufs_bsg.c