diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2013-05-17 23:42:01 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-06-13 09:59:14 +0800 |
commit | 25cdce170d28092e8e162f36702be3308973b19d (patch) | |
tree | 7a9a51759bca561984bfaae1170c922ad5cf11c7 /arch/x86/include | |
parent | c240a539df4e2d50f86e2f31813ff6b7334cd493 (diff) | |
download | blackbird-obmc-linux-25cdce170d28092e8e162f36702be3308973b19d.tar.gz blackbird-obmc-linux-25cdce170d28092e8e162f36702be3308973b19d.zip |
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/mce.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index fa5f71e021d5..16a214557a58 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h @@ -214,6 +214,13 @@ void mce_log_therm_throt_event(__u64 status); /* Interrupt Handler for core thermal thresholds */ extern int (*platform_thermal_notify)(__u64 msr_val); +/* Interrupt Handler for package thermal thresholds */ +extern int (*platform_thermal_package_notify)(__u64 msr_val); + +/* Callback support of rate control, return true, if + * callback has rate control */ +extern bool (*platform_thermal_package_rate_control)(void); + #ifdef CONFIG_X86_THERMAL_VECTOR extern void mcheck_intel_therm_init(void); #else |