Re: [PATCH RFC] tpm, tpm_tis: detect TPM2 devices

2015-09-03 Thread Jethro Beekman
On 29-08-15 07:36, Jarkko Sakkinen wrote: > It turned out that the root cause in b371616b8 was not entirely correct > for https://bugzilla.kernel.org/show_bug.cgi?id=98181. > > All TPM 2.0 FIFO and CRB devices have the same HID. For FIFO devices > the start method is 6 as it is defined in > > h

Re: [PATCH RFC] tpm, tpm_tis: detect TPM2 devices

2015-08-29 Thread Jarkko Sakkinen
Did this already over two weeks ago but haven't been able to test this at all since I'm still waiting the delivery of NUC5i5MYHE. It's a NUC with a discrete TPM 2.0 chip (ST Electronics if I remember right). Very useful machine for TPM2 testing... /Jarkko On Sat, Aug 29, 2015 at 05:36:06PM +0300,

[PATCH RFC] tpm, tpm_tis: detect TPM2 devices

2015-08-29 Thread Jarkko Sakkinen
It turned out that the root cause in b371616b8 was not entirely correct for https://bugzilla.kernel.org/show_bug.cgi?id=98181. All TPM 2.0 FIFO and CRB devices have the same HID. For FIFO devices the start method is 6 as it is defined in http://www.trustedcomputinggroup.org/resources/tcg_acpi_spe