]> 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)
commitcfb4c69cf483d0d30be55e9590c975ad965f01d0
tree487da037d1042257dad4f7207b2e72e1102446b3
parent92c210dea15db4dd0ee386a76eaf2970675f69b5
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