Re: [PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-24 Thread Jarkko Sakkinen
On Tue, Apr 17, 2018 at 09:12:45AM -0400, Nayna Jain wrote: > The TPM polling code in tpm_transmit sleeps in each loop iteration for > 5 msecs. However, the TPM might return earlier, and thus waiting for > 5 msecs adds an unnecessary delay. This patch reduces the polling sleep > time in

Re: [PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-24 Thread Jarkko Sakkinen
On Tue, Apr 17, 2018 at 09:12:45AM -0400, Nayna Jain wrote: > The TPM polling code in tpm_transmit sleeps in each loop iteration for > 5 msecs. However, the TPM might return earlier, and thus waiting for > 5 msecs adds an unnecessary delay. This patch reduces the polling sleep > time in

Re: [PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-18 Thread Mimi Zohar
On Tue, 2018-04-17 at 09:12 -0400, Nayna Jain wrote: > The TPM polling code in tpm_transmit sleeps in each loop iteration for > 5 msecs. However, the TPM might return earlier, and thus waiting for > 5 msecs adds an unnecessary delay. This patch reduces the polling sleep > time in tpm_transmit()

Re: [PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-18 Thread Mimi Zohar
On Tue, 2018-04-17 at 09:12 -0400, Nayna Jain wrote: > The TPM polling code in tpm_transmit sleeps in each loop iteration for > 5 msecs. However, the TPM might return earlier, and thus waiting for > 5 msecs adds an unnecessary delay. This patch reduces the polling sleep > time in tpm_transmit()

[PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-17 Thread Nayna Jain
The TPM polling code in tpm_transmit sleeps in each loop iteration for 5 msecs. However, the TPM might return earlier, and thus waiting for 5 msecs adds an unnecessary delay. This patch reduces the polling sleep time in tpm_transmit() from 5 msecs to 1 msecs. Additionally, this patch renames

[PATCH v2 1/2] tpm: reduce poll sleep time in tpm_transmit()

2018-04-17 Thread Nayna Jain
The TPM polling code in tpm_transmit sleeps in each loop iteration for 5 msecs. However, the TPM might return earlier, and thus waiting for 5 msecs adds an unnecessary delay. This patch reduces the polling sleep time in tpm_transmit() from 5 msecs to 1 msecs. Additionally, this patch renames