x86, mce: fix reporting of Thermal Monitoring mechanism enabled
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 28 Jul 2009 22:04:59 +0000 (00:04 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 29 Jul 2009 22:45:13 +0000 (15:45 -0700)
commitf3a0867b12e0cf1512c0bd0665f2339fc75ed2a8
tree151e06e2a47fcd5bcc262d576e6714230d620e71
parentd0c87d1f61704ed589fc0788bedd753632340e98
x86, mce: fix reporting of Thermal Monitoring mechanism enabled

Early Pentium M models use different method for enabling TM2
(per paragraph 13.5.2.3 of the "Intel 64 and IA-32 Architectures
Software Developer's Manual Volume 3A: System Programming Guide,
Part 1").

Tested on the affected Pentium M variant (model == 13).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/mcheck/therm_throt.c