Re: [PATCH/RFC] powerpc: Fix decrementer setup on 1GHz boards

2009-10-08 Thread Benjamin Herrenschmidt
On Fri, 2009-10-09 at 07:28 +0200, Stefan Roese wrote: > > So how could we solve this issue now? Apply my current patch? Any > other suggestions? Well, we probably need your current patch, but I'm not 100% it's enough. We need to check for example that the vDSO code for 32-bit isn't going to go

Re: [PATCH/RFC] powerpc: Fix decrementer setup on 1GHz boards

2009-10-08 Thread Stefan Roese
On Thursday 08 October 2009 22:12:56 Benjamin Herrenschmidt wrote: > On Thu, 2009-10-08 at 16:49 +0200, Stefan Roese wrote: > > We noticed that recent kernels didn't boot on our 1GHz Canyonlands 460EX > > boards anymore. As it seems, patch 8d165db1 [powerpc: Improve > > decrementer accuracy] intro

Re: [PATCH/RFC] powerpc: Fix decrementer setup on 1GHz boards

2009-10-08 Thread Benjamin Herrenschmidt
On Thu, 2009-10-08 at 16:49 +0200, Stefan Roese wrote: > We noticed that recent kernels didn't boot on our 1GHz Canyonlands 460EX > boards anymore. As it seems, patch 8d165db1 [powerpc: Improve > decrementer accuracy] introduced this problem. The routine div_sc() > overflows with shift = 32 resulti

[PATCH/RFC] powerpc: Fix decrementer setup on 1GHz boards

2009-10-08 Thread Stefan Roese
We noticed that recent kernels didn't boot on our 1GHz Canyonlands 460EX boards anymore. As it seems, patch 8d165db1 [powerpc: Improve decrementer accuracy] introduced this problem. The routine div_sc() overflows with shift = 32 resulting in this incorrect setup: time_init: decrementer frequency =