Re: [PATCH] tpm_tis: Use timeouts returned from TPM

From: Guillaume Chazarain
Date: Thu Jan 27 2011 - 17:45:03 EST


On Tue, Jan 11, 2011 at 8:37 PM, Stefan Berger
<stefanb@xxxxxxxxxxxxxxxxxx> wrote:
> The current TPM TIS driver in git discards the timeout values returned
> from the TPM.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c4ff4b829ef9e6353c0b133b7adb564a68054979
broke the TPM for me on a thinkpad T410. When using the TPM, dmesg
complains:

[ 65.728310] tpm_tis 00:0b: Operation Timed out
[ 67.651450] tpm_tis 00:0b: Operation Timed out
[ 69.669421] tpm_tis 00:0b: Operation Timed out

This patch fixes it, so consider it:

Tested-by: Guillaume Chazarain <guichaz@xxxxxxxxx>

Thanks!

--
Guillaume
--
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/