[PATCH 0/4] PM / Domains: Improve support for CPUs in genpd

From: Ulf Hansson
Date: Thu Apr 25 2019 - 05:04:33 EST


Recently genpd was extended to cope with devices belonging to CPUs. However,
attaching CPU devices via genpd_dev_pm_attach_by_id|name() doesn't work,
because of the virtual device that genpd allocates in this path.

In this series, this limitation is addressed, together with a few other related
fixes/cleanups.

Ulf Hansson (4):
PM / Domains: Use the base device for
driver_deferred_probe_check_state()
PM / Domains: Drop unused in-parameter to some genpd functions
PM / Domains: Search for the CPU device outside the genpd lock
PM / Domains: Allow to attach a CPU via
genpd_dev_pm_attach_by_id|name()

drivers/base/power/domain.c | 73 ++++++++++++++++++-------------------
include/linux/pm_domain.h | 1 +
2 files changed, 36 insertions(+), 38 deletions(-)

--
2.17.1