x86, hwmon: Add core threshold notification to therm_throt.c
authorR, Durgadoss <durgadoss.r@intel.com>
Mon, 3 Jan 2011 11:52:04 +0000 (17:22 +0530)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 3 Jan 2011 16:30:30 +0000 (08:30 -0800)
This patch adds code to therm_throt.c to notify core thermal threshold
events. These thresholds are supported by the IA32_THERM_INTERRUPT register.
The status/log for the same is monitored using the IA32_THERM_STATUS register.
The necessary #defines are in msr-index.h. A call back is added to mce.h, to
further notify the thermal stack, about the threshold events.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
LKML-Reference: <D6D887BA8C9DFF48B5233887EF04654105C1251710@bgsmsx502.gar.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found