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

2020-05-19 Thread santosh . shilimkar
On 5/19/20 10:45 AM, Tony Lindgren wrote: * Tero Kristo [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:

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

2020-05-19 Thread Tony Lindgren
* Tero Kristo [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.

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

2020-05-14 Thread Tero Kristo
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