[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180718174531.GA2008@kroah.com>
Date: Wed, 18 Jul 2018 19:45:31 +0200
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: Bart Van Assche <Bart.VanAssche@....com>
Cc: "vinholikatti@...il.com" <vinholikatti@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"asutoshd@...eaurora.org" <asutoshd@...eaurora.org>,
"sayalil@...eaurora.org" <sayalil@...eaurora.org>,
"riteshh@...eaurora.org" <riteshh@...eaurora.org>,
"evgreen@...omium.org" <evgreen@...omium.org>,
"cang@...eaurora.org" <cang@...eaurora.org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"subhashj@...eaurora.org" <subhashj@...eaurora.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"vivek.gautam@...eaurora.org" <vivek.gautam@...eaurora.org>,
"rnayak@...eaurora.org" <rnayak@...eaurora.org>,
"jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>
Subject: Re: [PATCH V5 2/2] scsi: ufs: Add configfs support for ufs
provisioning
On Wed, Jul 18, 2018 at 05:30:07PM +0000, Bart Van Assche wrote:
> On Wed, 2018-07-18 at 10:56 +0200, gregkh@...uxfoundation.org wrote:
> > On Tue, Jul 17, 2018 at 09:06:35PM +0000, Bart Van Assche wrote:
> > > On Tue, 2018-07-17 at 13:23 -0700, Evan Green wrote:
> > > > I'm not dead set on binary, since as above I could do it either way,
> > > > but it seemed worth at least talking through. Let me know what you
> > > > think.
> > >
> > > The configfs documentation (Documentation/filesystems/configfs/configfs.txt)
> > > is clear about this: "Preferably only one value per file should be used." So
> > > I would like to hear the opinion of someone who has more authority than I
> > > with regard to configfs.
> >
> > Don't we have "binary" files for configfs? We have them for sysfs, they
> > are for files that are not touched by the kernel and just "pass-through"
> > to the hardware. Would that work here as well?
>
> If a new version of the UFS spec would be introduced and that new version of the
> spec introduces a new layout for the binary descriptor, will it be possible for
> user space software to figure out which version of the binary descriptor format
> that has to be used?
If a new UFS spec was crazy enough to keep the same field name but
change the layout of the field, well, the UFS spec authors deserve all
of the pain and suffering that would cause to be heaped on them.
Seriously, it's not hard to do this right, go fix the spec before they
do something stupid.
And you are reporting the version of the UFS spec that your device
supports to userspace, right? So is this really a problem even if the
spec authors are that foolish?
thanks,
greg k-h
Powered by blists - more mailing lists