Thermal: x86 package temp thermal crash
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 11 Jul 2013 16:50:30 +0000 (09:50 -0700)
committerZhang Rui <rui.zhang@intel.com>
Mon, 15 Jul 2013 08:20:58 +0000 (16:20 +0800)
On systems with no package MSR support this caused crash as there
is a bug in the logic to check presence of DTHERM and PTS feature
together. Added a change so that when there is no PTS support, module
doesn't get loaded. Even if some CPU comes online with the PTS
feature disabled, and other CPUs has this support, this patch
will still prevent such MSR accesses.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reported-by: Daniel Walker <dwalker@fifo99.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found