Re: [PATCH] tpm: Add major_version sysfs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> >> Cc: Peter Huewe <peterhuewe@xxxxxx>
> >> Cc: Jason Gunthorpe <jgg@xxxxxxxx>
> >> Cc: linux-integrity@xxxxxxxxxxxxxxx
> >> Signed-off-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
> >
> >thanks!
> >
> >Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
> >
> >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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux