x86, mcheck, therm_throt: Process package thresholds
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 17 May 2013 23:42:01 +0000 (23:42 +0000)
committerZhang Rui <rui.zhang@intel.com>
Thu, 13 Jun 2013 01:59:14 +0000 (09:59 +0800)
commit25cdce170d28092e8e162f36702be3308973b19d
tree7a9a51759bca561984bfaae1170c922ad5cf11c7
parentc240a539df4e2d50f86e2f31813ff6b7334cd493
x86, mcheck, therm_throt: Process package thresholds

Added callback registration for package threshold reports. Also added
a callback to check the rate control implemented in callback or not.
If there is no rate control implemented, then there is a default rate
control similar to core threshold notification by delaying for
CHECK_INTERVAL (5 minutes) between reports.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/therm_throt.c