UFS Protocol Information Units (UPIU) are UFS packets that travel between the host and the device on the UniPro bus. Our previous series added the capability to send UPIUs to the ufs driver. It does not cover all the possible UPIU types - we are mainly focused on device management, provisioning, testing and validation, so it covers UPIUs that falls in that box. Our intension is to publish ufs-utils soon - an open source user space utility that relies on that infrastructure to perform those tasks. This short series is adding one last functionality needed by ufs-utils that was somehow left behind - allowing reading descriptors as well. Avri Altman (3): bsg: Make job reply size different than SCSI_SENSE_BUFFERSIZE scsi: ufs: Allow reading descriptor via raw upiu scsi: ufs-bsg: Allow reading descriptors Documentation/scsi/ufs.txt | 8 ++++++++ block/bsg-lib.c | 4 ++-- drivers/scsi/ufs/ufs_bsg.c | 25 +++++++++++++++---------- drivers/scsi/ufs/ufshcd.c | 20 ++++++++++++++------ include/linux/bsg-lib.h | 2 ++ 5 files changed, 41 insertions(+), 18 deletions(-) -- 1.9.1