Re: [PATCH v4 4/4] tpm: use tpm_msleep() value as max delay

2017-10-19 Thread Jarkko Sakkinen
On Tue, Oct 17, 2017 at 04:32:32PM -0400, Nayna Jain wrote: > Currently, tpm_msleep() uses delay_msec as the minimum value in > usleep_range. However, that is the maximum time we want to wait. > The function is modified to use the delay_msec as the maximum > value, not the minimum value. > > After

[PATCH v4 4/4] tpm: use tpm_msleep() value as max delay

2017-10-17 Thread Nayna Jain
Currently, tpm_msleep() uses delay_msec as the minimum value in usleep_range. However, that is the maximum time we want to wait. The function is modified to use the delay_msec as the maximum value, not the minimum value. After this change, performance on a TPM 1.2 with an 8 byte burstcount for 100