Re: [tpmdd-devel] [PATCH v2 6/7] tpm: TPM 2.0 CRB Interface

2014-10-07 Thread Jason Gunthorpe
On Tue, Oct 07, 2014 at 08:01:16PM +0300, Jarkko Sakkinen wrote: > + rc = tpm_chip_register(chip); > + if (rc) > + return -ENODEV; Again, wrong order, this needs to be last in the probe function Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH v2 6/7] tpm: TPM 2.0 CRB Interface

2014-10-07 Thread Jarkko Sakkinen
tpm_crb is a driver for TPM 2.0 Command Response Buffer (CRB) Interface as defined in PC Client Platform TPM Profile (PTP) Specification. Only polling and single locality is supported as these are the limitations of the available hardware, Platform Trust Techonlogy (PTT) in Haswell CPUs. The driv