Re: [Qemu-devel] [PATCH v1 4/7] target-arm: Implement pmccntr_sync function

2014-06-24 Thread Alistair Francis
On Wed, Jun 25, 2014 at 1:35 AM, Christopher Covington wrote: > On 06/23/2014 09:12 PM, Alistair Francis wrote: >> This is used to synchronise the PMCCNTR counter and swap its >> state between enabled and disabled if required. It must always >> be called twice, both before and after any logic that

Re: [Qemu-devel] [PATCH v1 4/7] target-arm: Implement pmccntr_sync function

2014-06-24 Thread Christopher Covington
On 06/23/2014 09:12 PM, Alistair Francis wrote: > This is used to synchronise the PMCCNTR counter and swap its > state between enabled and disabled if required. It must always > be called twice, both before and after any logic that could > change the state of the PMCCNTR counter. > diff --git a/ta

[Qemu-devel] [PATCH v1 4/7] target-arm: Implement pmccntr_sync function

2014-06-23 Thread Alistair Francis
This is used to synchronise the PMCCNTR counter and swap its state between enabled and disabled if required. It must always be called twice, both before and after any logic that could change the state of the PMCCNTR counter. Signed-off-by: Alistair Francis --- Remembering that the c15_ccnt regist