OpenCloudOS-Kernel/arch/x86/kernel/apic
Andreas Herrmann 6f9b41006a x86, apic: Clear APIC Timer Initial Count Register on shutdown
Commit a98f8fd24f (x86: apic reset
counter on shutdown) set the counter to max to avoid spurious
interrupts when the timer is re-enabled.

(In theory) you'll still get a spurious interrupt if spending
more than 344 seconds with this interrupt disabled and then
unmasking it.

The right thing to do is to clear the register. This disables
the interrupt from happening (at least it does on AMD hardware).

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20091027100138.GB30802@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-10-27 14:54:21 +01:00
..
Makefile x86, apic: Introduce the NOOP apic driver 2009-10-14 09:17:00 +02:00
apic.c x86, apic: Clear APIC Timer Initial Count Register on shutdown 2009-10-27 14:54:21 +01:00
apic_flat_64.c x86: don't call read_apic_id if !cpu_has_apic 2009-05-18 08:43:25 +02:00
apic_noop.c x86: apic: Allow noop operations to be called almost at any time 2009-10-15 17:26:53 +02:00
bigsmp_32.c x86: apic namespace cleanup 2009-08-31 21:30:47 +02:00
es7000_32.c Merge branch 'for-ingo' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6 into x86/apic 2009-08-29 09:31:47 +02:00
io_apic.c x86, apic: Move SGI UV functionality out of generic IO-APIC code 2009-10-14 09:17:09 +02:00
ipi.c Merge commit 'v2.6.31-rc7' into x86/cleanups 2009-08-24 12:25:54 +02:00
nmi.c sysctl: remove "struct file *" argument of ->proc_handler 2009-09-24 07:21:04 -07:00
numaq_32.c x86: apic namespace cleanup 2009-08-31 21:30:47 +02:00
probe_32.c x86: Remove duplicated #include's 2009-06-17 19:02:35 +02:00
probe_64.c x86, apic: Use logical flat on intel with <= 8 logical cpus 2009-09-19 09:20:05 +02:00
summit_32.c x86: apic namespace cleanup 2009-08-31 21:30:47 +02:00
x2apic_cluster.c x86: Fix MSI-X initialization by using online_mask for x2apic target_cpus 2009-08-08 17:04:58 +02:00
x2apic_phys.c x86: Fix MSI-X initialization by using online_mask for x2apic target_cpus 2009-08-08 17:04:58 +02:00
x2apic_uv_x.c x86: SGI UV: Map MMIO-High memory range 2009-09-18 14:06:40 +02:00