aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/stable/sysfs-class-tpm
diff options
context:
space:
mode:
authorJerry Snitselaar <jsnitsel@redhat.com>2019-10-30 15:58:43 -0700
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2020-01-22 10:46:51 +0200
commit7084eddf6be94e73f8298c1a28078b91536f2975 (patch)
tree3ea3270b56387af2fdcb63dc4bafe0ca06f3731c /Documentation/ABI/stable/sysfs-class-tpm
parenttpm: Update mailing list contact information in sysfs-class-tpm (diff)
downloadlinux-dev-7084eddf6be94e73f8298c1a28078b91536f2975.tar.xz
linux-dev-7084eddf6be94e73f8298c1a28078b91536f2975.zip
tpm: Add tpm_version_major sysfs file
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> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'Documentation/ABI/stable/sysfs-class-tpm')
-rw-r--r--Documentation/ABI/stable/sysfs-class-tpm11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-class-tpm b/Documentation/ABI/stable/sysfs-class-tpm
index 2881626fefa3..58e94e7d55be 100644
--- a/Documentation/ABI/stable/sysfs-class-tpm
+++ b/Documentation/ABI/stable/sysfs-class-tpm
@@ -183,3 +183,14 @@ Description: The "timeouts" property shows the 4 vendor-specific values
The four timeout values are shown in usecs, with a trailing
"[original]" or "[adjusted]" depending on whether the values
were scaled by the driver to be reported in usec from msecs.
+
+What: /sys/class/tpm/tpmX/tpm_version_major
+Date: October 2019
+KernelVersion: 5.5
+Contact: linux-integrity@vger.kernel.org
+Description: The "tpm_version_major" property shows the TCG spec major version
+ implemented by the TPM device.
+
+ Example output:
+
+ 2