提交 f751db8a 编写于 作者: D Daniel Lezcano 提交者: Rafael J. Wysocki

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: 7a89d7ea ("powercap/drivers/dtpm: Simplify the dtpm table")
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Reported-By: NDoug Smythies <dsmythies@telus.net>
Tested-By: NDoug Smythies <dsmythies@telus.net>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 d58071a8
...@@ -471,9 +471,6 @@ static int __init init_dtpm(void) ...@@ -471,9 +471,6 @@ static int __init init_dtpm(void)
return PTR_ERR(pct); return PTR_ERR(pct);
} }
for_each_dtpm_table(dtpm_descr)
dtpm_descr->init();
return 0; return 0;
} }
late_initcall(init_dtpm); late_initcall(init_dtpm);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册