android_kernel_xiaomi_sm7250/arch
Thomas Gleixner 89039b37be x86: force timer broadcast on late AMD C1E detection
The 64bit SMP bootup is slightly different to the 32bit one. It enables
the boot CPU local APIC timer before all CPUs are brought up. Some AMD C1E
systems have the C1E feature flag only set in the secondary CPU. Due to
the early enable of the boot CPU local APIC timer the APIC timer is
registered as a fully functional device. When we detect the wreckage during
the bringup of the secondary CPU, we need to force the boot CPU into
broadcast mode. 

Check the C1E caused APIC timer disable, when the secondary APIC timer is
initialized. If the boot CPU APIC timer was registered as a functional
clock event device, then fix this up and utilize the
CLOCK_EVT_NOTIFY_BROADCAST_FORCE mechanism to force the already
registered boot CPU APIC timer into broadcast mode.

Tested by force injecting the failure mode.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-14 22:57:45 +02:00
..
alpha
arm i2c/tps65010: New-style driver updates, part 2 2007-10-13 23:56:30 +02:00
avr32 [AVR32] Fix random segfault with preemption 2007-10-11 13:32:56 +02:00
blackfin Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 2007-10-12 15:49:10 -07:00
cris
frv
h8300
i386 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2007-10-12 15:50:23 -07:00
ia64 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2007-10-12 15:49:37 -07:00
m32r
m68k m68k: Atari keyboard ACIA driver cleanup 2007-10-13 09:41:02 -07:00
m68knommu
mips [MIPS] SMP: Fix use of cpumasks. 2007-10-13 00:53:01 +01:00
parisc
powerpc Lite5200 shouldn't mess with ROOT_DEV 2007-10-14 08:56:33 -07:00
ppc [POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG 2007-10-09 21:02:00 +10:00
s390 [S390] pfault: Fix alignment of parameter list. 2007-10-12 16:13:11 +02:00
sh Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-10-13 09:49:04 -07:00
sh64 sh64: mach-cayman: Build fixes. 2007-10-09 15:56:24 +09:00
sparc [SPARC/64]: Move of_platform_driver initialisations: arch/sparc{,64}. 2007-10-13 21:53:12 -07:00
sparc64 [SPARC64]: virt_to_real_irq_table --> virt_irq_table 2007-10-13 23:52:14 -07:00
um minimal build fixes for uml (fallout from x86 merge) 2007-10-13 09:57:15 -07:00
v850
x86 x86: force timer broadcast on late AMD C1E detection 2007-10-14 22:57:45 +02:00
x86_64 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2007-10-12 15:50:23 -07:00
xtensa