[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1572030928.4532.57.camel@linux.ibm.com>
Date: Fri, 25 Oct 2019 15:15:28 -0400
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Jerry Snitselaar <jsnitsel@...hat.com>
Cc: linux-kernel@...r.kernel.org,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Peter Huewe <peterhuewe@....de>,
Jason Gunthorpe <jgg@...pe.ca>, linux-integrity@...r.kernel.org
Subject: Re: [PATCH] tpm: Add major_version sysfs file
On Fri, 2019-10-25 at 11:45 -0700, Jerry Snitselaar wrote:
> On Fri Oct 25 19, Mimi Zohar wrote:
> >On Fri, 2019-10-25 at 07:28 -0700, Jerry Snitselaar wrote:
> >> Easily determining what TCG version a tpm device implements
> >> has been a pain point for userspace for a long time, so
> >> add a sysfs file to report the tcg version of a tpm device.
> >
> >Use "TCG" uppercase consistently.
And "TPM"
> >
> >>
> >> Cc: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
> >> Cc: Peter Huewe <peterhuewe@....de>
> >> Cc: Jason Gunthorpe <jgg@...pe.ca>
> >> Cc: linux-integrity@...r.kernel.org
> >> Signed-off-by: Jerry Snitselaar <jsnitsel@...hat.com>
> >
> >thanks!
> >
> >Reviewed-by: Mimi Zohar <zohar@...ux.ibm.com>
> >
> >FYI, on my system(s) the new file is accessible as
> >/sys/class/tpm/tpm0/version_major. Does this need to be documented
> >anywhere?
> >
> >
>
> 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.
The importance is that there is a common file that can be used by
userspace applications, instead of having to search for it, not that
it is a link per-se.
Mimi
Powered by blists - more mailing lists