On Mon Feb 10, 2025 at 6:18 PM EET, Jonathan McDowell wrote: > Who then handles the ERESTARTSYS though? Part of the issues we've seen > is the failure happens in a context save or load, which is all within > the kernel rather than directly under the control of userspace. I'm > guessing the HMAC changes are likely to hit similar problems. I think > some level of timeout improvement in tpm_transmit is appropriate, if we > can work out what it should be. Right I get what you mean, not all transmits initiate from syscalls And obviously this can happen without hmac too with tpmrm0. Hmm... so I'm open for a patch that radically simplifies the state change timeouts, i.e. sort of part of that old patch. BR, Jarkko