Hi Martin, This patch series lets the SCSI core allocate per-command UFS data and hence simplifies and micro-optimizes the UFS driver. Please consider this patch series for the v5.6 kernel. Thanks, Bart. Changes compared to v1: - Restored an accidentally removed ufshcd_release() call in an error path in ufshcd_queuecommand(). - Check whether ufshcd_tag_to_lrb() returns a non-NULL pointer in ufshcd_eh_device_reset_handler(). Bart Van Assche (4): Introduce {init,exit}_cmd_priv() ufs: Introduce ufshcd_init_lrb() ufs: Simplify two tests ufs: Let the SCSI core allocate per-command UFS data drivers/scsi/scsi_lib.c | 29 ++++- drivers/scsi/ufs/ufshcd.c | 238 ++++++++++++++++++++++++-------------- drivers/scsi/ufs/ufshcd.h | 5 - include/scsi/scsi_host.h | 3 + 4 files changed, 177 insertions(+), 98 deletions(-)