Avri, > Here is a proposal to use a bsg endpoint to manage ufs devices. > > We will do that by adding a bsg device node to the ufs driver, and use > it to send UPIU transactions to the ufs device. It will serve as a > ufs device management infrastructure, for device configuration, > provisioning, testing and validation, etc. > > We added a new ufs-bsg module, and some new API to the ufs driver. > > For the time being, we will not use it for data transfer, but just for > device management per-se. This has nothing to do with the recent > removal of bsg read/write support, we might add this capability in the > future, but it is not our current focus. > > We tested it on a Hikey-960 platform with a V4.14 kernel, "modernized" > by recent bsg and ufs patches. We also used a htc11 with a V4.4 > kernel, but needed much more transport/bsg/ufs patches to make it > relevant. Applied to 4.20/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering