Skip to content

Commit f751db8

Browse files
dlezcanorafaeljw
authored andcommitted
powercap/drivers/dtpm: Disable DTPM at boot time
The DTPM framework misses a mechanism to set it up. That is currently under review but will come after the next cycle. As the distro are enabling all the kernel options, the DTPM framework is enabled on platforms where the energy model is not implemented, thus making the framework inconsistent and disrupting the CPU frequency scaling service. Remove the initialization at boot time as a hot fix. Fixes: 7a89d7e ("powercap/drivers/dtpm: Simplify the dtpm table") Signed-off-by: Daniel Lezcano <[email protected]> Reported-By: Doug Smythies <[email protected]> Tested-By: Doug Smythies <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent d58071a commit f751db8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/powercap/dtpm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,6 @@ static int __init init_dtpm(void)
471471
return PTR_ERR(pct);
472472
}
473473

474-
for_each_dtpm_table(dtpm_descr)
475-
dtpm_descr->init();
476-
477474
return 0;
478475
}
479476
late_initcall(init_dtpm);

0 commit comments

Comments
 (0)