diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-22 15:50:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-22 17:30:45 +0200 |
commit | b417c9fd8690637f0c91479435ab3e2bf450c038 (patch) | |
tree | 54ee0e5a92a867e5ceebc14e75cdf3dfc45191fa /arch/arm/mach-davinci/include/mach/psc.h | |
parent | 3967684006f30c253bc6d4a6604d1bad4a7fc672 (diff) | |
download | kernel-crypto-b417c9fd8690637f0c91479435ab3e2bf450c038.tar.gz kernel-crypto-b417c9fd8690637f0c91479435ab3e2bf450c038.tar.xz kernel-crypto-b417c9fd8690637f0c91479435ab3e2bf450c038.zip |
x86: mce: Fix thermal throttling message storm
If a system switches back and forth between hot and cold mode,
the MCE code will print a stream of critical kernel messages.
Extend the throttling code to properly notice this, by
only printing the first hot + cold transition and omitting
the rest up to CHECK_INTERVAL (5 minutes).
This way we'll only get a single incident of:
[ 102.356584] CPU0: Temperature above threshold, cpu clock throttled (total events = 1)
[ 102.357000] Disabling lock debugging due to kernel taint
[ 102.369223] CPU0: Temperature/speed normal
Every 5 minutes. The 'total events' count tells the number of cold/hot
transitions detected, should overheating occur after 5 minutes again:
[ 402.357580] CPU0: Temperature above threshold, cpu clock throttled (total events = 24891)
[ 402.358001] CPU0: Temperature/speed normal
[ 450.704142] Machine check events logged
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/psc.h')
0 files changed, 0 insertions, 0 deletions