Thread (15 messages) 15 messages, 6 authors, 2015-09-21

Re: Common clock framework API vs RT patchset

From: Thomas Gleixner <hidden>
Date: 2015-08-04 12:06:50

On Tue, 4 Aug 2015, Grygorii Strashko wrote:
Hi All,

I'd very appreciated if someone can clarify one point for me.

Is allowed/expected/prohibited to use CLK API like clk_enable/disable
in atomic context now on RT-Kernel (HW IRQ or under RAW spinlocks)?
It's not possible, if the spinlock in the clock framework is not a raw
spinlock.
 
How safe is it to allow CLK API to be preemptive?
The functions are protected by the locks. So it's not an issue at all.

Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help