linux-stable/arch/mn10300/kernel
Mark Salter 8f0bcbcab0 MN10300: fix SMP synchronization between txdma and serial driver
The SoC serial port driver uses a high priority interrupt to handle tx of
characters in the tx ring buffer. The driver needs to disable/enable this IRQ
from outside of irq context. The original code to do this is not foolproof on
SMP machines because the IRQ running on one core could still access the serial
port for a short time after the driver running on another core disables the
interrupt. This patch adds a flag to tell the IRQ handler that the driver
wants to disable the interrupt. After seeing the flag, the IRQ handler will
immediately disable the interrupt and exit. After setting the flag, the driver
will wait for interrupt to be disabled by the IRQ handler.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
2012-12-12 15:46:14 +00:00
..
asm-offsets.c MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
cevt-mn10300.c mn10300: move setup_jiffies_interrupt() to cevt-mn10300.c 2012-07-11 16:04:41 -07:00
csrc-mn10300.c MN10300: Use clocksource_register_hz() 2011-03-18 16:52:50 +00:00
entry.S mn10300: switch to saner kernel_execve() semantics 2012-10-14 19:43:21 -04:00
fpu-low.S MN10300: Make the FPU operate in non-lazy mode under SMP 2010-10-27 17:28:52 +01:00
fpu-nofpu-low.S MN10300: Make the FPU operate in non-lazy mode under SMP 2010-10-27 17:28:52 +01:00
fpu-nofpu.c MN10300: Make the FPU operate in non-lazy mode under SMP 2010-10-27 17:28:52 +01:00
fpu.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-io-serial-low.S MN10300: And Panasonic AM34 subarch and implement SMP 2010-10-27 17:28:55 +01:00
gdb-io-serial.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-io-ttysm-low.S Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00
gdb-io-ttysm.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-low.S
gdb-stub.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
head.S MN10300: And Panasonic AM34 subarch and implement SMP 2010-10-27 17:28:55 +01:00
internal.h mn10300: split ret_from_fork, simplify kernel_thread() 2012-10-01 00:53:24 -04:00
io.c
irq.c MN10300: cleanup IRQ affinity setting 2012-12-12 15:46:14 +00:00
kgdb.c mn10300: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
kprobes.c MN10300: Allow some cacheflushes to be avoided if cache snooping is available 2010-10-27 17:28:46 +01:00
Makefile mn10300: switch to generic kernel_execve() 2012-10-01 00:53:59 -04:00
mn10300-debug.c
mn10300-serial-low.S MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
mn10300-serial.c MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
mn10300-serial.h MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
mn10300-watchdog-low.S MN10300: And Panasonic AM34 subarch and implement SMP 2010-10-27 17:28:55 +01:00
mn10300-watchdog.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
mn10300_ksyms.c mn10300: provide __ucmpdi2() for MN10300 2008-07-04 10:40:07 -07:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c flagday: don't pass regs to copy_thread() 2012-11-28 23:43:42 -05:00
profile-low.S
profile.c MN10300: And Panasonic AM34 subarch and implement SMP 2010-10-27 17:28:55 +01:00
ptrace.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
rtc.c set_rtc_mmss: show warning message only once 2011-01-13 08:03:07 -08:00
setup.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
sigframe.h
signal.c mn10300: don't bother with SIGTRAP in setup_frame() 2012-10-01 09:58:16 -04:00
smp-low.S Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
smp.c MN10300: cleanup IRQ affinity setting 2012-12-12 15:46:14 +00:00
switch_to.S MN10300: Emulate single stepping in KGDB on MN10300 2011-03-18 16:54:32 +00:00
sys_mn10300.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
time.c MN10300: Use clockevents_calc_mult_shift() 2011-03-18 16:52:50 +00:00
traps.c mn10300: kernel/traps.c needs <linux/export.h> 2012-07-11 16:04:42 -07:00
vmlinux.lds.S MN10300: Add missing _sdata declaration 2011-06-07 19:03:53 -07:00