]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E
authorAndi Kleen <ak@suse.de>
Mon, 2 Apr 2007 10:14:12 +0000 (12:14 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Mon, 2 Apr 2007 10:14:12 +0000 (12:14 +0200)
commit667bc16b5e4cb54a7bd12ec0038a2edb5d9ba574
treef85b5acde48b6ffa7f1c9abbb3ea2ff4a2e92b4b
parent170f99722541b5abd0a8834d95617d31e6cd9296
[PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

AMD dual core laptops with C1E do not run the APIC timer correctly
when they go idle. Previously the code assumed this only happened
on C2 or deeper.  But not all of these systems report support C2.

Use a AMD supplied snippet to detect C1E being enabled and then disable
local apic timer use.

This supercedes an earlier workaround using DMI detection of specific systems.

Thanks to Mark Langsdorf for the detection snippet.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/apic.c
arch/i386/kernel/cpu/amd.c
include/asm-i386/cpufeature.h
include/asm-i386/msr.h