[PATCH v2 1/1] ARM: imx: clk-pllv3: change wait method for PLL lock

Peter Chen peter.chen at freescale.com
Fri Jun 7 04:31:35 EDT 2013


On Fri, Jun 07, 2013 at 10:24:57AM +0200, Uwe Kleine-König wrote:
> On Fri, Jun 07, 2013 at 04:19:06PM +0800, Peter Chen wrote:
> > For some unknown reasons, the jiffies will be updated more
> > than one tick at every short time. Eg, at this code:
> > After timeout = jiffies + msecs_to_jiffies(10),
> > the interrupt occurs, and the softirq updates jiffies (eg,  + 2 jiffies),
> > then return back from interrupt, the time between above operations
> > are tiny, the PLL is still not locked, but the timeout condition is satisfied.
> > 
> > Signed-off-by: Peter Chen <peter.chen at freescale.com>
> Does this mean my patch doesn't solve the issue for you?

Not try, but your patch just delay timeout assignment, if there
is jiffies update after that but before timeout check, it still
has problem.

> 
> Best regards
> Uwe
> 
> 
> -- 
> Pengutronix e.K.                           | Uwe Kleine-König            |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> 

-- 

Best Regards,
Peter Chen




More information about the linux-arm-kernel mailing list