Message ID | 20181005153638.1886-1-digetx@gmail.com |
---|---|
Headers | show |
Series | Continuing the work on coupled regulators | expand |
* Dmitry Osipenko <digetx@gmail.com> [181005 15:43]: > 1. Re-worked the original "Add voltage balancing mechanism" patch from > Maciej by: > 1) Fixing infinite loop within regulator_balance_voltage(). > 2) Handling suspend_state_t properly. > 3) Fixing broken compilation of the patch. Thanks for fixing these, this series no longer hangs for me on beagle-x15. Regards, Tony
On 10/8/18 8:58 PM, Tony Lindgren wrote: > * Dmitry Osipenko <digetx@gmail.com> [181005 15:43]: >> 1. Re-worked the original "Add voltage balancing mechanism" patch from >> Maciej by: >> 1) Fixing infinite loop within regulator_balance_voltage(). >> 2) Handling suspend_state_t properly. >> 3) Fixing broken compilation of the patch. > > Thanks for fixing these, this series no longer hangs for me > on beagle-x15. Thank you very much for testing once again!
On Fri, Oct 05, 2018 at 06:36:37PM +0300, Dmitry Osipenko wrote: > Wait/wound mutex shall be used in order to avoid lockups on locking of > coupled regulators. This breaks the build due to a few of the drivers (wm8350 and da9210 at least) taking rdev locks in their interrupt handlers. I'd suggest adding a function for those drivers to use - exposing the ww context seems like the wrong thing to do there. Otherwise the series looks good, I've applied everything up to here. Thanks for taking the time to pick this up, and especially for figuring out the ww_mutex conversion.
On 08.11.2018 16:07, Mark Brown wrote: > On Fri, Oct 05, 2018 at 06:36:37PM +0300, Dmitry Osipenko wrote: > >> Wait/wound mutex shall be used in order to avoid lockups on locking of >> coupled regulators. > > This breaks the build due to a few of the drivers (wm8350 and da9210 at > least) taking rdev locks in their interrupt handlers. I'd suggest > adding a function for those drivers to use - exposing the ww context > seems like the wrong thing to do there. I totally missed those drivers, will fix them in v2. > Otherwise the series looks good, I've applied everything up to here. > Thanks for taking the time to pick this up, and especially for figuring > out the ww_mutex conversion. > Thank you.