Re: [tpmdd-devel] [PATCH] char/tpm: Check return code of wait_for_tpm_stat

2016-10-12 Thread Jarkko Sakkinen
On Tue, Oct 11, 2016 at 08:01:09PM +0200, Peter Huewe wrote: > > > Hi > Am 11. Oktober 2016 19:13:13 MESZ, schrieb Jason Gunthorpe > : > >On Tue, Oct 11, 2016 at 03:01:01PM +0300, Jarkko Sakkinen wrote: > >> From: Peter Huewe > >> > >> In some weird cases it might be possible that the TPM does

Re: [tpmdd-devel] [PATCH v4 6/8] tpm: remove printk error messages

2016-10-12 Thread Nayna
On 10/10/2016 04:52 AM, Jason Gunthorpe wrote: > On Sun, Oct 09, 2016 at 07:25:30AM +0530, Nayna wrote: > >>> diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_of.c >>> index 22b8f81..1464cae 100644 >>> +++ b/drivers/char/tpm/tpm_of.c >>> @@ -31,40 +31,34 @@ int read_log_of(struct tpm

Re: [tpmdd-devel] [PATCH 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2016-10-12 Thread Nayna
On 10/09/2016 11:58 AM, Winkler, Tomas wrote: >> Like TPM 1.2, the current device driver for TPM 2.0 supports extending only >> to >> the SHA1 PCR bank. But the TPM 2.0 supports multiple PCR banks and the >> specification recommends extending to all active PCR banks, this patch >> enhances the e

Re: [tpmdd-devel] [PATCH 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2016-10-12 Thread Winkler, Tomas
> > > On 10/09/2016 11:58 AM, Winkler, Tomas wrote: > >> Like TPM 1.2, the current device driver for TPM 2.0 supports > >> extending only to the SHA1 PCR bank. But the TPM 2.0 supports > >> multiple PCR banks and the specification recommends extending to all > >> active PCR banks, this patch enha