[Regression] Commit "tpm: Introduce function to poll for result of self test" breaks suspend

From: Rafael J. Wysocki
Date: Sun Jan 15 2012 - 18:19:05 EST


Hi Stefan,

Unfortunately, the following commit from you:

commit 68d6e6713fcb2ea6278661aaaf5f1c9c821b3751
Author: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
Date: Fri Nov 11 12:57:04 2011 -0500

tpm: Introduce function to poll for result of self test

This patch introduces a function that runs the TPM_ContinueSelfTest()
function and then polls the TPM to check whether it finished the selftest
and can receive new commands.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>

broke suspend on my Toshiba Portege R500. It causes the tpm driver to
return an error code from .suspend() on every attempt to suspend the system.

Revertig this commit on top of the current Linus' tree fixes the problem for me.

If necessary, I'll collect more information about this problem tomorrow.

Thanks,
Rafael
--
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/