[PATCH] i386: Handle missing local APIC timer interrupts on C3 state
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Wed, 11 Jan 2006 21:44:21 +0000 (22:44 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:54 +0000 (19:04 -0800)
commit6eb0a0fd059598ee0d49c6283ce25cccd743e9fc
treea608f92e3b8a94cba89e94786169897c64629580
parent5a07a30c3cc4dc438494d6416ffa74008a2194b3
[PATCH] i386: Handle missing local APIC timer interrupts on C3 state

Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we
disable local APIC timer and switch to using a broadcast from external timer
interrupt (IRQ 0). This is needed because Intel CPUs stop the local
APIC timer in C3.  This is currently only enabled for Intel CPUs.

Patch below adds the code for i386 and also the ACPI hunk.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c
arch/i386/kernel/time.c
drivers/acpi/processor_idle.c
include/asm-i386/apic.h