Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-11 Thread Jarkko Sakkinen
On Wed, Feb 11, 2015 at 01:47:01PM -0500, Stefan Berger wrote: > On 02/10/2015 07:50 AM, Jarkko Sakkinen wrote: > >On Tue, Feb 10, 2015 at 07:16:32AM -0500, Stefan Berger wrote: > >>On 02/09/2015 03:39 AM, Jarkko Sakkinen wrote: > >>>On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: > >>>

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-11 Thread Stefan Berger
On 02/10/2015 07:50 AM, Jarkko Sakkinen wrote: On Tue, Feb 10, 2015 at 07:16:32AM -0500, Stefan Berger wrote: On 02/09/2015 03:39 AM, Jarkko Sakkinen wrote: On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: If during tr

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-10 Thread Jarkko Sakkinen
On Tue, Feb 10, 2015 at 07:16:32AM -0500, Stefan Berger wrote: > On 02/09/2015 03:39 AM, Jarkko Sakkinen wrote: > >On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: > >>Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: > >>>If during transmission system error was returned, t

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-10 Thread Stefan Berger
On 02/09/2015 03:39 AM, Jarkko Sakkinen wrote: On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: If during transmission system error was returned, the logic was to incorrectly deduce that chip is a TPM 1.x chip. This patc

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-09 Thread Jarkko Sakkinen
On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: > Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: > > If during transmission system error was returned, the logic was to > > incorrectly deduce that chip is a TPM 1.x chip. This patch fixes this > > issue. Also, this patch

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-08 Thread Peter Hüwe
Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: > If during transmission system error was returned, the logic was to > incorrectly deduce that chip is a TPM 1.x chip. This patch fixes this > issue. Also, this patch changes probing so that message tag is used as the > measure for TPM

[PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-04 Thread Jarkko Sakkinen
If during transmission system error was returned, the logic was to incorrectly deduce that chip is a TPM 1.x chip. This patch fixes this issue. Also, this patch changes probing so that message tag is used as the measure for TPM 2.x, which should be much more stable. A separate function called tpm2_