lapic timer: Correct AMD C1E handling
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 2 May 2009 13:35:59 +0000 (21:35 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 2 May 2009 13:53:49 +0000 (21:53 +0800)
commita9e511dfa65ff6278e563186856c43d5eb12f438
treebbca6592668aded454572a06faa18dcab12da8d7
parentc5b8324c6c58ebc3b5ff32519f4d7fc199f5399a
lapic timer: Correct AMD C1E handling

It turns out that AMD C1E only happens after ACPI-CA module is
running, so we will have to broadcast IPI at the end of the ACPI-CA
attach to clear the C1E related bits and kick start the possible
stalled lapic timer.

Tested-with: TL-58
sys/dev/acpica5/acpi.c
sys/platform/pc32/apic/mpapic.c
sys/platform/pc64/apic/mpapic.c