Re: [PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-14 Thread Jarkko Sakkinen
On Mon, May 07, 2018 at 12:07:33PM -0400, Nayna Jain wrote: > The TPM burstcount and status commands are supposed to return very > quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs > in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() > directly. > >

Re: [PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-14 Thread Jarkko Sakkinen
On Mon, May 07, 2018 at 12:07:33PM -0400, Nayna Jain wrote: > The TPM burstcount and status commands are supposed to return very > quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs > in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() > directly. > >

Re: [PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-08 Thread J Freyensee
On 5/7/18 9:07 AM, Nayna Jain wrote: The TPM burstcount and status commands are supposed to return very quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() directly. After this change, performance on

Re: [PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-08 Thread J Freyensee
On 5/7/18 9:07 AM, Nayna Jain wrote: The TPM burstcount and status commands are supposed to return very quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() directly. After this change, performance on

[PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-07 Thread Nayna Jain
The TPM burstcount and status commands are supposed to return very quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() directly. After this change, performance on a system[1] with a TPM 1.2 with an 8

[PATCH v3 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-05-07 Thread Nayna Jain
The TPM burstcount and status commands are supposed to return very quickly [2][3]. This patch further reduces the TPM poll sleep time to usecs in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() directly. After this change, performance on a system[1] with a TPM 1.2 with an 8