On 02/21/2011 10:29 PM, Stefan Berger wrote:It's more reliable to base the workaround on the values themselves, instead of the TPM's ID, sinceOn 02/21/2011 03:39 PM, Jiri Slaby wrote:Yes, the patch is correct per se. But as it breaks bunch of machines itOn 02/21/2011 06:12 PM, Rajiv Andrade wrote:Following the specs, the timeouts are supposed to be in microseconds andOn 02/21/2011 01:34 PM, Jiri Slaby wrote:1000000 2000 150000There has to be another problem which caused my regression. AndYes, it's highly due inconsistent timeout values reported by the TPM as
since it
reports "Operation Timed out", the former default timeout values worked
for me, the ones read from TPM do not.
I mentioned, my working timeouts are:
3020000 4510000 181000000
Actually the first one from HW is 1. This is one is HZ after correction
in get_timeout. So perhaps it is in ms, yes.
ascending order for short, medium and long duration. Of course, if the
device returns wrong timeouts, the command isn't going to succeed,
failing the suspend in this case. Nevertheless, I think we need the
patch I put in but at the same time we'll need a work-around for devices
like this.
cannot go in now. The rule is no regressions.
After you have the workaround it should go into the next rc1 after that.
Do you plan to add a dmi-based quirk? Or, IOW do you want me to attach
dmidecode output? Or are you going to base it solely on TPM
manufacturer/version