Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1599685
| From | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tpm: Add sysfs interface to show TPM family version |
| Date | 2017-03-13 19:40 +0100 |
| Message-ID | <tkD2W-4vZ-27@gated-at.bofh.it> (permalink) |
| References | <tkusH-6Sd-39@gated-at.bofh.it> <tkwNQ-8qX-1@gated-at.bofh.it> <tkxJV-Fd-43@gated-at.bofh.it> <tkzLJ-2ig-37@gated-at.bofh.it> <tkBua-3kO-21@gated-at.bofh.it> |
| Organization | Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo |
On Mon, Mar 13, 2017 at 10:55:47AM -0600, Jason Gunthorpe wrote: > On Mon, Mar 13, 2017 at 04:59:58PM +0200, Jarkko Sakkinen wrote: > > if (chip->flags & TPM_CHIP_FLAG_TPM2) > > ret = sprintf(buf, "TPM 2.0"); > > else > > ret = sprintf(buf, "TPM 1.x"); > > And 1.x should be 1.2 or 1.1 > > Jason Or maybe just create a patch that adds "family_major", which prints 1 or 2. That is sufficient to pick the right daemon in the user space for example. /Jarkko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] tpm: Add sysfs interface to show TPM family version <Meng.Li@windriver.com> - 2017-03-13 10:30 +0100
Re: [PATCH] tpm: Add sysfs interface to show TPM family version Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-13 13:00 +0100
RE: [PATCH] tpm: Add sysfs interface to show TPM family version "Li, Meng" <Meng.Li@windriver.com> - 2017-03-13 14:00 +0100
Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM family version Andrew Lunn <andrew@lunn.ch> - 2017-03-13 15:40 +0100
Re: [PATCH] tpm: Add sysfs interface to show TPM family version Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-13 16:10 +0100
Re: [PATCH] tpm: Add sysfs interface to show TPM family version Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-03-13 18:00 +0100
Re: [PATCH] tpm: Add sysfs interface to show TPM family version Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-13 19:40 +0100
Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM family version James Bottomley <James.Bottomley@HansenPartnership.com> - 2017-03-13 19:50 +0100
csiph-web