> On Jul 7, 2021, at 2:24 AM, Jarkko Sakkinen <jarkko@xxxxxxxxxx> wrote: > > 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? It is about the commit metnioned in the description `tpm: replace msleep() with usleep_range() in TPM 1.2/2.0 generic drivers` https://github.com/torvalds/linux/commit/9f3fc7bcddcb51234e23494531f93ab60475e1c3 Any better description or terms ? > > /Jarkko Hao