RE: [PATCH] powerpc/mpic_timer: fix the time calculation is not accurate

2013-12-29 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, December 28, 2013 8:00 AM > To: Wang Dongsheng-B40534 > Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH] powerpc/mpic_timer: fix the time calculation is not > accurate

Re: [PATCH] powerpc/mpic_timer: fix the time calculation is not accurate

2013-12-27 Thread Scott Wood
On Mon, 2013-12-23 at 10:33 +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > When the timer GTCCR toggle bit is inverted, we calculated the rest > of the time is not accurate. So we need to ignore this bit. > > Signed-off-by: Wang Dongsheng > > diff --git a/arch/powerpc/sysdev/mpic_time

[PATCH] powerpc/mpic_timer: fix the time calculation is not accurate

2013-12-22 Thread Dongsheng Wang
From: Wang Dongsheng When the timer GTCCR toggle bit is inverted, we calculated the rest of the time is not accurate. So we need to ignore this bit. Signed-off-by: Wang Dongsheng diff --git a/arch/powerpc/sysdev/mpic_timer.c b/arch/powerpc/sysdev/mpic_timer.c index 22d7d57..0fb70c9 100644 ---