android_kernel_xiaomi_sm8350/arch/i386
Ingo Molnar d04f41e353 [PATCH] CPU hotplug: call check_tsc_sync_source() with irqs off
check_tsc_sync_source() depends on being called with irqs disabled (it
checks whether the TSC is coherent across two specific CPUs). This is
incidentally true during bootup, but not during cpu hotplug __cpu_up().
This got found via smp_processor_id() debugging.

disable irqs explicitly and remove the unconditional enabling of
interrupts. Add touch_nmi_watchdog() to the cpu_online_map busy loop.

this bug is present both on i386 and on x86_64.

Reported-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-07 10:07:24 -08:00
..
boot Use ARRAY_SIZE() macro in i386 relocs.c file 2007-02-17 19:10:01 +01:00
crypto
kernel [PATCH] CPU hotplug: call check_tsc_sync_source() with irqs off 2007-03-07 10:07:24 -08:00
lib {rd,wr}msr_on_cpu SMP=n optimization 2007-02-20 14:29:37 -05:00
mach-default [PATCH] clockevents: i386 drivers 2007-02-16 08:13:59 -08:00
mach-es7000 ACPICA: Remove duplicate table manager 2007-02-02 21:14:28 -05:00
mach-generic [PATCH] i386: make apic probe function non-init 2007-01-11 01:52:44 +01:00
mach-visws
mach-voyager [PATCH] x86: fix PDA variables to work during boot 2007-01-22 19:39:36 -08:00
math-emu [PATCH] i386: avoid gcc extension 2007-02-13 13:26:24 +01:00
mm [PATCH] i386: Remove extern declaration from mm/discontig.c, put in header. 2007-02-13 13:26:26 +01:00
oprofile Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
pci PCI: add systems for automatic breadth-first device sorting 2007-02-16 15:30:11 -08:00
power
defconfig [PATCH] i386: Update defconfig 2007-02-13 13:26:19 +01:00
Kconfig [PATCH] paravirt: re-enable COMPAT_VDSO 2007-03-05 08:34:25 -08:00
Kconfig.cpu [PATCH] i386: Remove unused kernel config option X86_XADD 2007-02-13 13:26:25 +01:00
Kconfig.debug [PATCH] i386: Paravirt debug defaults off 2007-02-13 13:26:22 +01:00
Makefile [PATCH] x86: add -freg-struct-return to CFLAGS 2007-02-26 12:53:30 -08:00
Makefile.cpu