Re: [REGRESSION] suspend to ram fails in 6.2-rc1 due to tpm errors

From: Jarkko Sakkinen
Date: Sun Apr 23 2023 - 11:34:29 EST


On Fri Apr 21, 2023 at 9:27 PM EEST, Jason A. Donenfeld wrote:
> Did you use the patch I sent you and suspend and resume according to
> the instructions I gave you? If not, I don't have much to add.

Finally, I got it reproduced at my side with TPM 1.2:

[ 0.379677] tpm_tis 00:00: 1.2 TPM (device-id 0x1, rev-id 1)
[ 32.453447] tpm tpm0: tpm_transmit: tpm_recv: error -5
[ 33.450601] tpm tpm0: Unable to read header
[ 33.450607] tpm tpm0: tpm_transmit: tpm_recv: error -62

I'll look at this further after I've sent v6.3 PR.

BR, Jarkko