From mboxrd@z Thu Jan 1 00:00:00 1970 From: benh@kernel.crashing.org (Benjamin Herrenschmidt) Date: Sat, 22 Jan 2011 10:21:42 +1100 Subject: Locking in the clk API In-Reply-To: References: <201101111016.42819.jeremy.kerr@canonical.com> <20110111031552.GJ3760@linux-sh.org> <4D3862DB.5000708@fluff.org> <20110120185617.GI6335@n2100.arm.linux.org.uk> <4D3907BD.4040900@codeaurora.org> <20110121220238.GE23151@n2100.arm.linux.org.uk> Message-ID: <1295652102.2148.314.camel@pasglop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 2011-01-21 at 14:28 -0800, Colin Cross wrote: > Clocks that have a voltage dependency, or depend on a clock that has a > voltage dependency, are non-atomic, everything else is atomic. PLLs > are atomic because they lock very fast (300 uS or 1ms) Some could argue that this is still way too slow for atomic context :-) Cheers, Ben.