Re: [PATCH] tpm: Revert "tpm: fix invalid locking in NONBLOCKING mode"
From: Tadeusz Struk
Date: Tue May 26 2020 - 17:33:18 EST
On 5/26/20 1:00 PM, James Bottomley wrote:
> I don't think there is a root cause other than a TIS TPM is getting
> annoyed by us cycling localities too rapidly because we don't do an
> actual TPM operation between request and relinquish. Since the first
> request/relinquish seems unnecessary for the async case, moving the ops
> get eliminates the problem.
Could be, so maybe we could try both patches.
More debug info on the error path won't hurt.
Thanks,
Tadeusz