diff options
| author | Ulf Hansson <[email protected]> | 2025-07-01 11:47:23 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-07-09 11:29:53 +0000 |
| commit | 13a4b7fb62600e1c0738fdb0b7176555ff05aadf (patch) | |
| tree | 45acd16c63322c7c8e25bc9e6374014fe0031e79 /drivers/platform/x86/intel/pmt/class.c | |
| parent | pmdomain: core: Default to use of_genpd_sync_state() for genpd providers (diff) | |
| download | kernel-13a4b7fb62600e1c0738fdb0b7176555ff05aadf.tar.gz kernel-13a4b7fb62600e1c0738fdb0b7176555ff05aadf.zip | |
pmdomain: core: Leave powered-on genpds on until late_initcall_sync
Powering-off a genpd that was on during boot, before all of its consumer
devices have been probed, is certainly prone to problems.
As a step to improve this situation, let's prevent these genpds from being
powered-off until genpd_power_off_unused() gets called, which is a
late_initcall_sync().
Note that, this still doesn't guarantee that all the consumer devices has
been probed before we allow to power-off the genpds. Yet, this should be a
step in the right direction.
Suggested-by: Saravana Kannan <[email protected]>
Tested-by: Hiago De Franco <[email protected]> # Colibri iMX8X
Tested-by: Tomi Valkeinen <[email protected]> # TI AM62A,Xilinx ZynqMP ZCU106
Signed-off-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
