Re: [PATCH] tpm: Revert "tpm: fix invalid locking in NONBLOCKING mode"

From: Jarkko Sakkinen
Date: Thu May 28 2020 - 02:55:39 EST


On Wed, May 27, 2020 at 09:40:25PM -0700, Tadeusz Struk wrote:
> On 5/27/20 5:30 PM, Jarkko Sakkinen wrote:
> >> This won't help if the message is read by an async tcti. If the problem lies
> >> in the chip get locality code, perhaps this could help to debug the root-cause
> >> instead of masking it out in the upper layer code:
> > What is TCTI and async TCTI? Not following.
>
> TPM Command Transmission Interface (TCTI) as defined by TCG in
> https://trustedcomputinggroup.org/resource/tss-tcti-specification/
>
> the reason we added the O_NONBLOCK mode was to satisfy the TCG spec for async TCTI.
>
> Thanks,
> Tadeusz

OK, thanks recalling.

/Jarkko