Messages in this thread | | | Date | Wed, 27 Nov 2019 18:08:26 -0700 | From | Jerry Snitselaar <> | Subject | Re: [PATCH v4] tpm: Add tpm_version_major sysfs file |
| |
On Wed Oct 30 19, 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 major version of a tpm device. > >Also add an entry to Documentation/ABI/stable/sysfs-class-tpm >describing the new file. > >Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> >Cc: Mimi Zohar <zohar@linux.ibm.com> >Cc: Peter Huewe <peterhuewe@gmx.de> >Cc: Jason Gunthorpe <jgg@ziepe.ca> >Cc: linux-integrity@vger.kernel.org >Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com> >--- >v4: - Change file name to tpm_version_major > - Actually display just the major version. > - change structs to tpm1_* & tpm2_* > instead of tpm12_* tpm20_*. >v3: - Change file name to version_major. >v2: - Fix TCG usage in commit message. > - Add entry to sysfs-class-tpm in Documentation/ABI/stable > > Documentation/ABI/stable/sysfs-class-tpm | 11 ++++++++ > drivers/char/tpm/tpm-sysfs.c | 34 +++++++++++++++++++----- > 2 files changed, 38 insertions(+), 7 deletions(-) >
Anyone else have feedback?
| |