By optimizing host lock usage on TR send/compl paths and utilizing UTRLCNR, we can get considerable gain in both random read and random write performance. Can Guo (3): scsi: ufs: Remove a redundant command completion logic in error handler scsi: ufs: Optimize host lock on transfer requests send/compl paths scsi: ufs: Utilize Transfer Request List Completion Notification Register drivers/scsi/ufs/ufshcd.c | 309 +++++++++++++++++++++++----------------------- drivers/scsi/ufs/ufshcd.h | 7 +- drivers/scsi/ufs/ufshci.h | 1 + 3 files changed, 162 insertions(+), 155 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.