Thread (47 messages) 47 messages, 4 authors, 2021-09-08

Re: [PATCH v2] tpm: fix ATMEL TPM crash caused by too frequent queries

From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2021-07-07 09:24:14

On Tue, Jul 06, 2021 at 09:31:35PM -0700, Hao Wu wrote:
Since kernel 4.14, there was a commit (9f3fc7bcddcb)
fixed the TPM sleep logic from msleep to usleep_range,
so that the TPM sleeps exactly with TPM_TIMEOUT (=5ms) afterward.
Before that fix, msleep(5) actually sleeps for around 15ms.
What is TPM sleep logic?

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help