x86, mce: therm_throt - change when we print messages
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Aug 2009 04:44:49 +0000 (21:44 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 Aug 2009 07:54:17 +0000 (09:54 +0200)
commit0d01f31439c1e4d602bf9fdc924ab66f407f5e38
treeab877b3089ac4202d113e4d77d1ed9c511527022
parent3e03bbeac541856aaaf1ce1ab0250b6a490e4099
x86, mce: therm_throt - change when we print messages

My Latitude d630 seems to be handling thermal events in SMI by
lowering the max frequency of the CPU till it cools down but
still leaks the "everything is normal" events.

This spams the console and with high priority printks.

Adjust therm_throt driver to only print messages about the fact
that temperatire returned back to normal when leaving the
throttling state.

Also lower the severity of "back to normal" message from
KERN_CRIT to KERN_INFO.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <20090810051513.0558F526EC9@mailhub.coreip.homeip.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/therm_throt.c