Re: [PATCH] tpm: Add major_version sysfs file

From: Jason Gunthorpe
Date: Sun Oct 27 2019 - 19:01:23 EST


On Fri, Oct 25, 2019 at 03:42:42PM -0400, Mimi Zohar wrote:
> On Fri, 2019-10-25 at 16:32 -0300, Jason Gunthorpe wrote:
> > On Fri, Oct 25, 2019 at 11:45:22AM -0700, Jerry Snitselaar wrote:
> > > On Fri Oct 25 19, Mimi Zohar wrote:
> > > Yes, there should be an entry added to
> > > Documentation/ABI/stable/sysfs-class-tpm.
> > > I will fix that up and the TCG not being uppercase in a v2.
> > >
> > > Should Documentation/ABI/stable/sysfs-class-tpm updated in
> > > some way to reflect that those are all links under device
> > > now and not actually there.
> >
> > Applications should not use the link version, that path was a
> > mistake. The link is for compatability with old userspace.
>
> Are you suggesting that userspace has to search for the device info?
> That makes no sense.

Why would it have to search?

Jason