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 On Mon, 2013-12-23 at 10

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 dongsheng.w...@freescale.com 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

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

2013-12-22 Thread Dongsheng Wang
From: Wang Dongsheng dongsheng.w...@freescale.com 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 dongsheng.w...@freescale.com diff --git a/arch/powerpc/sysdev/mpic_timer.c