Re: [PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Jarkko Sakkinen
On Thu, Jan 12, 2017 at 07:12:06PM +0100, Maciej S. Szmigiero wrote: > probe_itpm() function is supposed to send command without an itpm flag set > and if this fails to repeat it, this time with the itpm flag set. > > However, commit 41a5e1cf1fe15 ("tpm/tpm_tis: Split tpm_tis driver into a > core

Re: [PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Maciej S. Szmigiero
On 12.01.2017 19:50, Jason Gunthorpe wrote: > On Thu, Jan 12, 2017 at 07:12:06PM +0100, Maciej S. Szmigiero wrote: >> probe_itpm() function is supposed to send command without an itpm flag set >> and if this fails to repeat it, this time with the itpm flag set. >> >> However, commit 41a5e1cf1fe15 (

Re: [PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Jason Gunthorpe
On Thu, Jan 12, 2017 at 07:12:06PM +0100, Maciej S. Szmigiero wrote: > probe_itpm() function is supposed to send command without an itpm flag set > and if this fails to repeat it, this time with the itpm flag set. > > However, commit 41a5e1cf1fe15 ("tpm/tpm_tis: Split tpm_tis driver into a > core

[PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Maciej S. Szmigiero
probe_itpm() function is supposed to send command without an itpm flag set and if this fails to repeat it, this time with the itpm flag set. However, commit 41a5e1cf1fe15 ("tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant phy") moved the itpm flag from an "itpm" variable to a TP