RE: [PATCH 0/5 V2] tpm: timeouts revamp
From: Winkler, Tomas
Date: Tue Mar 06 2018 - 10:01:31 EST
> On 03/06/2018 01:17 PM, Jarkko Sakkinen wrote:
> > On Tue, 2018-03-06 at 11:24 +0200, Tomas Winkler wrote:
> >> This series cleans up tpm timeouts setting and handling.
> >>
> >> First motivation was to fix failures coming from too short timeouts
> >> for commands that creates keys.
> >> Key generation may take significant time depending on the underlying
> >> hardware. Rather than increasing default timeout a new constant is
> >> added, to not stall too long on regular commands failures.
> >>
> >> Second is to define timeouts for new tpm2 commands defined in TCG
> >> 1.36 spec.
> >
>
> Probably a typo, since the latest TCG spec version is the 1.38 [0].
I have 1.36 as this is what we implement in the HW, but there might be a new one.
> > Where can we get that specification? I don't have that new version and
> > couldn't find it from the public internet.
>
> [0]: https://trustedcomputinggroup.org/tpm-library-specification/
>
Yes this is the place.
Thanks
Tomas