]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: implement SMP IPIs using the generic functions
authorDaniel Hellstrom <daniel@gaisler.com>
Mon, 2 May 2011 00:08:51 +0000 (00:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2011 20:07:43 +0000 (13:07 -0700)
commiteba5af6634a1228be4ab9d85b789e6b205b3c5ea
tree1fcb2aac7a706074a59c329a2e25cac5cc171255
parent75e86a37517d02c5cd37a30aa674dc4476041264
sparc32: implement SMP IPIs using the generic functions

The current sparc32 SMP IPI generation is implemented the
cross call function. The cross call function uses IRQ15 the
NMI, this is has the effect that IPIs will interrupt IRQ
critical areas and hang the system. Typically on/after
spin_lock_irqsave calls can be aborted.

The cross call functionality must still exist to flush
cache/TLBS.

This patch provides CPU models a custom way to implement
generation of IPIs on the generic code's request. The
typical approach is to generate an IRQ for each IPI case.

After this patch each sparc32 SMP CPU model needs to
implement IPIs in order to function properly.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/include/asm/cpudata_32.h
arch/sparc/include/asm/smp_32.h
arch/sparc/kernel/irq_32.c
arch/sparc/kernel/smp_32.c