On 10/08/2014 12:37 AM, Heinz Wrobel wrote:
what if your tb wraps during the  test?

Per the Power ISA, Time Base is 64 bits, monotonically increasing, and is writable only in hypervisor state. To my understanding, it is set to zero at boot (although this is not prescribed).

Also, as noted by others, the logic is roughly duplicated (with some differences) from the analogous code in __timer_interrupt just above it.

I don't see wrapping as a concern.

PC

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to