summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-12-09 10:13:09 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-12-19 22:08:52 -0500
commit69a6c269c097d780a2db320ecd47f7a62fafd92e (patch)
tree05d5f702c30ca8711b21e841eddf9d2dda952377 /scripts
parent7252a3603015f1fd04363956f4b72a537c9f9c42 (diff)
downloadlinux-69a6c269c097d780a2db320ecd47f7a62fafd92e.tar.bz2
scsi: ufs: Use blk_{get,put}_request() to allocate and free TMFs
Manage TMF tags with blk_{get,put}_request() instead of ufshcd_get_tm_free_slot() / ufshcd_put_tm_slot(). Store a per-request completion pointer in request.end_io_data instead of using a waitqueue to report TMF completion. Cc: Can Guo <cang@codeaurora.org> Cc: Stanley Chu <stanley.chu@mediatek.com> Cc: Avri Altman <avri.altman@wdc.com> Cc: Tomas Winkler <tomas.winkler@intel.com> Link: https://lore.kernel.org/r/20191209181309.196233-3-bvanassche@acm.org Tested-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions