]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/powerclamp: remove cpu whitelist
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Thu, 17 Mar 2016 18:26:13 +0000 (11:26 -0700)
committerZhang Rui <rui.zhang@intel.com>
Sat, 7 May 2016 16:07:38 +0000 (00:07 +0800)
commit01a89397f43abed09a61f31bff61d634c81d98b0
tree487da037d1042257dad4f7207b2e72e1102446b3
parent980935354b5bb64cb8a594a06c16389650264ff1
thermal/powerclamp: remove cpu whitelist

Powerclamp works by aligning idle time to achieve package level
idle states, aka cstates. As long as one of the package cstates
is available, synchronized idle injection is meaningful.

This patch replaces the CPU whitelist with CPU feature and
package cstate counter check such that we don't have to modify
this whitelist for every new CPU.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel_powerclamp.c