Re: [PATCH] crypto: omap-sham: Use pm_runtime_irq_safe()

2015-04-01 Thread Herbert Xu
On Tue, Mar 31, 2015 at 09:52:24AM +0530, Lokesh Vutla wrote: > omap_sham_handle_queue() can be called as part of done_task tasklet. > During this its atomic and any calls to pm functions cannot sleep. > > But there is a call to pm_runtime_get_sync() (which can sleep) in > omap_sham_handle_queue()

[PATCH] crypto: omap-sham: Use pm_runtime_irq_safe()

2015-03-30 Thread Lokesh Vutla
omap_sham_handle_queue() can be called as part of done_task tasklet. During this its atomic and any calls to pm functions cannot sleep. But there is a call to pm_runtime_get_sync() (which can sleep) in omap_sham_handle_queue(), because of which the following appears: " [ 116.169969] BUG: scheduli