[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150401142426.GA28651@gondor.apana.org.au>
Date: Wed, 1 Apr 2015 22:24:26 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Lokesh Vutla <lokeshvutla@...com>
Cc: linux-crypto@...r.kernel.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, nsekhar@...com, t-kristo@...com
Subject: Re: [PATCH] crypto: omap-sham: Use pm_runtime_irq_safe()
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(), because of which the following appears:
> " [ 116.169969] BUG: scheduling while atomic: kworker/0:2/2676/0x00000100"
>
> Add pm_runtime_irq_safe() to avoid this.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@...com>
Applied.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists