[PATCH v7 24/26] drivers: firmware: psci: Deal with CPU hotplug when using OSI mode

2018-04-12 Thread Ulf Hansson
To deal with CPU hotplug when OSI mode is used, the CPU device needs to be detached from its PM domain (genpd) when putting it offline, otherwise the CPU becomes considered as being in use from genpd and runtime PM point of view. Obviously, then we also need to re-attach the CPU device when bring

[PATCH v7 24/26] drivers: firmware: psci: Deal with CPU hotplug when using OSI mode

2018-04-12 Thread Ulf Hansson
To deal with CPU hotplug when OSI mode is used, the CPU device needs to be detached from its PM domain (genpd) when putting it offline, otherwise the CPU becomes considered as being in use from genpd and runtime PM point of view. Obviously, then we also need to re-attach the CPU device when bring