Message ID | 1536313783-13025-1-git-send-email-avri.altman@wdc.com (mailing list archive) |
---|---|
Headers | show |
Series | scsi: ufs bsg endpoint | expand |
On Fri, 2018-09-07 at 12:49 +0300, Avri Altman wrote: > drivers/scsi/ufs/Kconfig | 19 +++ > drivers/scsi/ufs/Makefile | 3 + > drivers/scsi/ufs/ufs.h | 30 ---- > drivers/scsi/ufs/ufs_bsg.c | 327 ++++++++++++++++++++++++++++++++++++++++ > drivers/scsi/ufs/ufs_bsg.h | 67 +++++++++ > drivers/scsi/ufs/ufshcd.c | 362 ++++++++++++++++++++++++++++++----------- > ---- > drivers/scsi/ufs/ufshcd.h | 8 + > drivers/scsi/ufs/ufshci.h | 25 ++-- Since this patch series does not touch any include/uapi header and since no uapi UFS header files already exist, how is user space software expected to know which message format it should use for communicating over the UFS BSG endpoint? I don't think that "read the source" is an acceptable answer. Thanks, Bart.
Hi Bart, > Since this patch series does not touch any include/uapi header and since no > uapi UFS header files already exist, how is user space software expected to > know which message format it should use for communicating over the UFS BSG > endpoint? I don't think that "read the source" is an acceptable answer. I was thinking in V5 to move some of the notations from include/uapi to ufs_bsg.h. Or, I can add a "bsg support" paragraph to Documentation/scsi/ufs.txt, Or even a new entry to Documentation/ABI/testing/ - whatever you think is best? Thanks, Avri > > Thanks, > > Bart.
On 09/15/18 23:41, Avri Altman wrote: >> Since this patch series does not touch any include/uapi header and since no >> uapi UFS header files already exist, how is user space software expected to >> know which message format it should use for communicating over the UFS BSG >> endpoint? I don't think that "read the source" is an acceptable answer. > > I was thinking in V5 to move some of the notations from include/uapi to ufs_bsg.h. > Or, I can add a "bsg support" paragraph to Documentation/scsi/ufs.txt, > Or even a new entry to Documentation/ABI/testing/ - whatever you think is best? Adding a paragraph to Documentation/scsi/ufs.txt sounds like a good idea to me. Thanks, Bart.
> > On 09/15/18 23:41, Avri Altman wrote: > >> Since this patch series does not touch any include/uapi header and since no > >> uapi UFS header files already exist, how is user space software expected to > >> know which message format it should use for communicating over the UFS > BSG > >> endpoint? I don't think that "read the source" is an acceptable answer. > > > > I was thinking in V5 to move some of the notations from include/uapi to > ufs_bsg.h. > > Or, I can add a "bsg support" paragraph to Documentation/scsi/ufs.txt, > > Or even a new entry to Documentation/ABI/testing/ - whatever you think is > best? > > Adding a paragraph to Documentation/scsi/ufs.txt sounds like a good idea > to me. Done. Thanks, Avri > > Thanks, > > Bart.