[PATCH] powerpc: mitigate impact of decrementer reset
Paul Clarke
pc at us.ibm.com
Wed Oct 8 23:27:15 EST 2014
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
More information about the Linuxppc-dev
mailing list