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.