Re: [PATCH 1/1] soc: ti: omap-prm: use atomic iopoll instead of sleeping one

From: santosh . shilimkar
Date: Tue May 19 2020 - 14:04:24 EST


On 5/19/20 10:45 AM, Tony Lindgren wrote:
* Tero Kristo <t-kristo@xxxxxx> [200514 00:38]:
The reset handling APIs for omap-prm can be invoked PM runtime which
runs in atomic context. For this to work properly, switch to atomic
iopoll version instead of the current which can sleep. Otherwise,
this throws a "BUG: scheduling while atomic" warning. Issue is seen
rather easily when CONFIG_PREEMPT is enabled.

Signed-off-by: Tero Kristo <t-kristo@xxxxxx>

Santosh do you want me to pick this for fixes?

Sure Tony. Thanks !!

Acked-by: Santosh Shilimkar <ssantosh@xxxxxxxxxx>