]> err.no Git - linux-2.6/commit
[PATCH] x86: Add a cumulative thermal throttle event counter.
authorDmitriy Zavin <dmitriyz@google.com>
Tue, 26 Sep 2006 08:52:42 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:42 +0000 (10:52 +0200)
commit3222b36f46c22f46697a0a53fa8804153a32669f
treecf3625063b02ac9854ec57682ac8cad06f92267d
parent66aea9913cf435fe92ebb7bf869b4f15901ab993
[PATCH] x86: Add a cumulative thermal throttle event counter.

The counter is exported to /sys that keeps track of the
number of thermal events, such that the user knows how bad the
thermal problem might be (since the logging to syslog and mcelog
is rate limited).

AK: Fixed cpu hotplug locking

Signed-off-by: Dmitriy Zavin <dmitriyz@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/cpu/mcheck/p4.c
arch/i386/kernel/cpu/mcheck/therm_throt.c
arch/x86_64/kernel/mce_intel.c
include/asm-i386/therm_throt.h