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)
commitb721ca0d192754deccb89fb01c77e41e6fd91ad9
tree487da037d1042257dad4f7207b2e72e1102446b3
parent04974df8049fc4240d22759a91e035082ccd18b4
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