kernel_optimize_test/arch/powerpc/platforms/cell
Masato Noguchi ba723fe2b2 [POWERPC] spufs: clear class2 interrupt status before wakeup
SPU interrupt status must be cleared before handle it.
Otherwise, kernel may drop some interrupt packet.

Currently, class2 interrupt treated like:
 1) call callback to wake up waiting process
 2) mask raised mailbox interrupt
 3) clear interrupt status

I changed like:
 1) mask raised mailbox interrupt
 2) clear interrupt status
 3) call callback to wake up waiting process

Clearing status before masking will make spurious interrupt.
Thus, it is necessary to hold by steps I described above, I think.

Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-21 15:01:32 +10:00
..
spufs [POWERPC] spufs: fix Makefile for "make clean" 2006-06-21 15:01:31 +10:00
cbe_regs.c [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
cbe_regs.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
interrupt.c [POWERPC] cell: fix interrupt priority handling 2006-06-21 15:01:29 +10:00
interrupt.h [PATCH] powerpc: cell interrupt controller updates 2006-03-27 14:48:18 +11:00
iommu.c [POWERPC] cleanup dma_mapping_ops 2006-06-15 19:31:26 +10:00
iommu.h [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell 2005-11-01 21:03:07 +11:00
Kconfig [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
Makefile [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
pervasive.c [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
pervasive.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
ras.c [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
ras.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
setup.c [POWERPC] spufs: further abstract priv1 register access 2006-06-21 15:01:31 +10:00
smp.c [PATCH] powerpc: task_thread_info() 2006-01-12 09:08:57 -08:00
spider-pic.c [PATCH] powerpc: use guarded ioremap for cell on-chip mappings 2006-03-27 14:48:42 +11:00
spu_base.c [POWERPC] spufs: clear class2 interrupt status before wakeup 2006-06-21 15:01:32 +10:00
spu_callbacks.c [PATCH] powerpc: wire up sys_[gs]et_robust_list 2006-05-23 10:35:32 -07:00
spu_priv1_mmio.c [POWERPC] spufs: fix spu irq affinity setting 2006-06-21 15:01:31 +10:00
spu_syscalls.c [PATCH] spufs: fix module refcount race 2006-01-09 14:53:11 +11:00