Re: [tpmdd-devel] [PATCH 1/2] tpm: Clean up reading of timeout and duration capabilities

2016-09-19 Thread Jason Gunthorpe
On Mon, Sep 19, 2016 at 11:22:08PM +0300, Jarkko Sakkinen wrote: > From: Ed Swierk > > Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant > code. Return all errors to the caller rather than swallowing them > (e.g. when tpm_transmit_cmd() returns

[tpmdd-devel] [PATCH 2/2] tpm: fix bad constant expressions

2016-09-19 Thread Jarkko Sakkinen
Sparse reports "bad constant expression" for the use of cpu_to_be32 inside enums tpm_capabilities and tpm_sub_capabilities. Even though it is probably expanded to a constant expression, it is probably cleaner not to use it there. Signed-off-by: Jarkko Sakkinen

[tpmdd-devel] [PATCH 1/2] tpm: Clean up reading of timeout and duration capabilities

2016-09-19 Thread Jarkko Sakkinen
From: Ed Swierk Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant code. Return all errors to the caller rather than swallowing them (e.g. when tpm_transmit_cmd() returns nonzero). Signed-off-by: Ed Swierk Reviewed-by:

[tpmdd-devel] [PATCH 0/2] fix bad constant expressions in tpm.h

2016-09-19 Thread Jarkko Sakkinen
Even though the cpu_to_be32() is open coded it is not a good convention to call it in the enum definitions. This will also sparse errors about invalid constant expressions. Ed Swierk (1): tpm: Clean up reading of timeout and duration capabilities Jarkko Sakkinen (1): tpm: fix bad constant

[tpmdd-devel] TPM microconference at LPC

2016-09-19 Thread Matthew Garrett
Hi, As previously mentioned, there'll be a TPM microconference at the Linux Plumbers Conference in Santa Fe this November. The aim of these microconferences is to discuss infrastructural and integration issues around Linux, giving domain experts and distribution developers an opportunity to

Re: [tpmdd-devel] [PATCH v3 0/7] tpm: TPM2.0 eventlog securityfs support

2016-09-19 Thread Stefan Berger
Jarkko Sakkinen wrote on 08/30/2016 06:16:11 AM: > > On Tue, Aug 30, 2016 at 12:50:12AM -0400, Nayna Jain wrote: > > Existing TPM2.0 support lacks the support for eventlog securityfs file. > > This patch adds the binary_bios_measurements to TPM2.0 eventlog > >

Re: [tpmdd-devel] ST33TPM12SPI & drivers/char/tpm/st33zp24/st33zp24.c

2016-09-19 Thread Micka
Also what about the ST33TPHF2ESPI, is it compatible with the st33zp24 driver ? Michael Musset, Le lun. 19 sept. 2016 à 10:18, Micka a écrit : > Hi I would like to know if the driver is compatible with the ST33TPM12SPI ? > > I'm planning to use the spi interface, I saw

[tpmdd-devel] ST33TPM12SPI & drivers/char/tpm/st33zp24/st33zp24.c

2016-09-19 Thread Micka
Hi I would like to know if the driver is compatible with the ST33TPM12SPI ? I'm planning to use the spi interface, I saw that it's supported. But I'm not sure if the ST33TPM12SPI is compatible with the driver st33zp24 ... Michael Musset, -- Forwarded message - From: Peter Huewe