[PATCH 0/8] PM / Domains: Bunch of small improvements and fixes

Krzysztof Kozlowski
2017-06-09T16:09:02Z

Hi,

Except adding lockdep assert to domains list mutex (3/8), all patches
are independent. Including the fixes for unsafe loop iteration.

The last patch is RFC as this brings small overhead.

Best regards,
Krzysztof

Krzysztof Kozlowski (8):
PM / Domains: Constify genpd pointer
PM / domains: Protect reading loop over list of domains
PM / domains: Add lockdep asserts for domains list mutex
PM / domains: Fix unsafe iteration over modified list of device links
PM / domains: Fix unsafe iteration over modified list of domain
providers
PM / domains: Fix unsafe iteration over modified list of domains
PM / domains: Fix missing default_power_down_ok comment
PM / Domains: Add asserts for PM domain locks

drivers/base/power/domain.c | 66 ++++++++++++++++++++++++++++--------
drivers/base/power/domain_governor.c | 12 +++----
2 files changed, 58 insertions(+), 20 deletions(-)

--
2.9.3