Re: [tpmdd-devel] [PATCH] Refuse activation of tpm_tis driver ifTPM is not working correctly

From: Rajiv Andrade
Date: Mon Oct 10 2011 - 11:07:53 EST


On 10/10/11 10:04, Rajiv Andrade wrote:
On 10/10/11 09:16, Stefan Berger wrote:
Refuse activation of tpm_tis driver if the TPM is found not to be
working correctly. This prevents suspend/resume problems for me on
Lenovo W500 and T61p.

Signed-off-by: Stefan Berger<stefanb@xxxxxxxxxxxxxxxxxx>
Testing and trying to reproduce it here.
Yes, for some yet unknown reason the TPM doesn't respond after a suspend/resume in case
it wasn't loaded before that. With this change/check, suspends work fine in this scenario
for me as well. Applied to:

github.com/srajiv/tpm.git next-tpm-fixes

Thanks for the fix Stefan.
Rajiv
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/