Thread (80 messages) 80 messages, 20 authors, 2011-01-28

Re: Locking in the clk API

From: Russell King - ARM Linux <hidden>
Date: 2011-01-21 09:41:12
Also in: linux-arm-kernel, lkml

On Thu, Jan 20, 2011 at 11:16:04PM -0800, Saravana Kannan wrote:
This suggestion looked promising till I realized that clk_set_rate()  
will still be atomic. clk_set_rate() will need to enable/disable the  
PLLs depending on which PLLs the rates are derived from. So, the locking  
in clk_prepare/unprepare() still has to be atomic since the "slow stuff"  
is shared with clk_set_rate().
Who calls clk_set_rate() from an atomic context?  Do we know whether
anyone does?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help