lkml.org 
[lkml]   [2017]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [PATCH V3 2/2] timer: imx-tpm: add imx tpm timer support
On Tue, 4 Jul 2017, A.s. Dong wrote:
> + /*
> + * NOTE: We observed in a very small probability, the bus fabric
> + * contention between GPU and A7 may results a few cycles delay
> + * of writing CNT registers which may cause the min_delta event got
> + * missed, so we need add a ETIME check here in case it happened.
> + */
> return (int)((next - now) <= 0) ? -ETIME : 0;
> }
>
> Do you think it's ok?

Looks about right.

\
 
 \ /
  Last update: 2017-07-04 17:37    [W:0.034 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site