]> git.baikalelectronics.ru Git - kernel.git/commit
powercap/drivers/dtpm: Disable DTPM at boot time
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 26 Nov 2021 23:08:20 +0000 (00:08 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Dec 2021 18:55:34 +0000 (19:55 +0100)
commita59a56ccac1c3f53a4f127400a9568d29294bf9c
treed3baed50006c00369ef2d1a22a80d87a87efb7ed
parentb1a885c0f40e89a4fd0f041736592b4ab46bfe8a
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: faf3b2e1926a ("powercap/drivers/dtpm: Simplify the dtpm table")
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reported-By: Doug Smythies <dsmythies@telus.net>
Tested-By: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/dtpm.c