x86 ACPI: Add support for Always Running APIC timer
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 7 Apr 2009 01:51:29 +0000 (18:51 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 7 Apr 2009 22:17:51 +0000 (18:17 -0400)
commitdb954b5898dd3ef3ef93f4144158ea8f97deb058
tree781b62baa5aa262fca99198ba326e5e9cc44b26a
parent577c9c456f0e1371cbade38eaf91ae8e8a308555
x86 ACPI: Add support for Always Running APIC timer

Add support for Always Running APIC timer, CPUID_0x6_EAX_Bit2.
This bit means the APIC timer continues to run even when CPU is
in deep C-states.

The advantage is that we can use LAPIC timer on these CPUs
always, and there is no need for "slow to read and program"
external timers (HPET/PIT) and the timer broadcast logic
and related code in C-state entry and exit.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/cpu/addon_cpuid_features.c
drivers/acpi/processor_idle.c