On Sun, 2018-07-29 at 16:33 +-0300, Avri Altman wrote: +AD4- Here is a proposal to use the scsi transport subsystem to manage +AD4- ufs devices. +AD4- +AD4- scsi transport is a framework that allow to send scsi commands to +AD4- a non-scsi devices. Still, it is flexible enough to allow +AD4- sending non-scsi commands as well. We will use this framework to +AD4- manage ufs devices by sending UPIU transactions. +AD4- +AD4- We added a new scsi transport module, a ufs-bsg LLD companion, +AD4- and some new API to the ufs driver. My understanding is that all upstream code uses the bsg interface for +ACo-SCSI+ACo- commands. Sending UPIU commands over a bsg interface seems like abuse of that interface to me. Aren't you opening a can of worms with such an approach? Bart.