Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600787

Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version

From Ken Goldman <kgold@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version
Date 2017-03-14 19:20 +0100
Message-ID <tkZd7-43W-3@gated-at.bofh.it> (permalink)
References <tkqIq-46N-3@gated-at.bofh.it> <tksqR-5qK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3/13/2017 3:10 AM, Peter Huewe wrote:

> And yes you are right there is currently no way, except for trial and
> error, for the userspace to determine this. So an interface to get
> this information makes sense to me.

In practice, I suspect that a single user space application won't
support both TPMs.  It will send the first command, get an error
response code that says it's the wrong TPM, and exit.

Note that, although there is no overlap in the command API, the packet
format is compatible enough that a meaningful response can be returned.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM  hardware version Ken Goldman <kgold@linux.vnet.ibm.com> - 2017-03-14 19:20 +0100
  Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version Peter Huewe <peterhuewe@gmx.de> - 2017-03-14 20:00 +0100
    Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM  hardware version Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-03-14 22:30 +0100
      Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM  hardware version James Bottomley <James.Bottomley@HansenPartnership.com> - 2017-03-14 22:50 +0100
        Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM  hardware version Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-03-15 18:30 +0100

csiph-web