Re: TPM selftest failure in 4.15

Jarkko Sakkinen
2018-02-08T13:03:36Z

On Thu, Feb 01, 2018 at 12:42:50PM +0000, James Bottomley wrote:
> OK, I'll try to find a fix. It's clearly a marginal problem since I've
> booted most -rc kernels without issue, so there's some slight timing
> change in 4.15 that triggered it. It could also be a shutdown issue.
> Any NV ram stuff deferred to start up would take a variable amount of
> time.
>
> You'd almost think it's some sort of TPM self protest: the more stuff I
> use it for the more problems it seems to create. I'm definitely
> motivated to fix it because without a TPM I can't actually do much with
> my laptop.

I checked what was landed to 4.15:

* 125a22105410 ("tpm: React correctly to RC_TESTING from TPM 2.0 self tests")
* 87434f58be31 ("tpm: Use dynamic delay to wait for TPM 2.0 self test result")
* 2482b1bba512 ("tpm: Trigger only missing TPM 2.0 self tests")

/Jarkko