+AD4- -----Original Message----- +AD4- From: Bart Van Assche +AD4- Sent: Wednesday, August 08, 2018 7:21 PM +AD4- To: hch+AEA-lst.de+ADs- Avri Altman +ADs- linux-scsi+AEA-vger.kernel.org+ADs- +AD4- jthumshirn+AEA-suse.de+ADs- hare+AEA-suse.com+ADs- martin.petersen+AEA-oracle.com+ADs- +AD4- jejb+AEA-linux.vnet.ibm.com +AD4- Cc: Vinayak Holikatti +ADs- Avi Shchislowski +ADs- Alex Lemberg +ADs- Stanislav Nijnikov +ADs- +AD4- subhashj+AEA-codeaurora.org +AD4- Subject: Re: +AFs-PATCH v2 1/8+AF0- scsi: Add ufs transport class +AD4- +AD4- On Sun, 2018-08-05 at 14:39 +-0300, Avri Altman wrote: +AD4- +AD4- +-config SCSI+AF8-UFS+AF8-ATTRS +AD4- +AD4- +- tristate +ACI-UFS Transport Attributes+ACI- +AD4- +AD4- +- depends on SCSI +AD4- +AD4- +- select BLK+AF8-DEV+AF8-BSGLIB +AD4- +AD4- +- help +AD4- +AD4- +- Scsi transport is a framework that allow to send scsi commands to +AD4- +AD4- +- a non-scsi devices. Still, it is flexible enough to allow sending +AD4- +AD4- +- non-scsi commands as well. We will use this framework to manage +AD4- +AD4- +- ufs devices by sending UPIU transactions. +AD4- +AD4- +- +AD4- +AD4- +- If you wish to export transport-specific information about +AD4- +AD4- +- each attached UFS device to sysfs, say Y. +AD4- +AD4- +- +AD4- +AD4- The above text is misleading because it suggests that the primary purpose of +AD4- SCSI transport drivers is to send SCSI commands to non-SCSI devices. That is +AD4- not correct. Please improve that text, e.g. by changing it into something +AD4- like the following: +AD4- +AD4- +ACI-Universal Flash Storage (UFS) is SCSI transport specification for accessing +AD4- flash +AD4- storage on digital cameras, mobile phones and consumer electronic devices. +AD4- An UFS +AD4- controller communicates with an UFS device by exchanging UFS Protocol +AD4- Information +AD4- Units (UPIUs). UPIUs can not only be used as a transport layer for the SCSI +AD4- protocol +AD4- but are also used by the UFS native command set. This transport driver +AD4- supports +AD4- exchanging UFS protocol information units with an UFS device. See also the +AD4- ufshcd +AD4- driver, which is a SCSI driver that supports UFS devices. +AD4- +AD4- If you wish to exchange UPIU packets that are not SCSI packets with UFS +AD4- devices, +AD4- say Y.+ACI- Done. +AD4- +AD4- Thanks, +AD4- +AD4- Bart.