linux/arch/powerpc/platforms
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
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx powerpc: converted embedded platforms to use new define_machine support 2006-03-30 23:39:57 -06:00
85xx Add 85xx CDS to arch/powerpc 2006-04-04 16:09:18 -05:00
86xx [POWERPC] Add mpc8641hpcn PCI/PCI-Express platform files. 2006-06-21 15:01:28 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [POWERPC] spufs: clear class2 interrupt status before wakeup 2006-06-21 15:01:32 +10:00
chrp powerpc: Fix CHRP booting - needs a define_machine call 2006-04-05 16:01:45 +10:00
embedded6xx [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
iseries [POWERPC] node local IOMMU tables 2006-06-15 19:31:26 +10:00
maple [PATCH] powerpc: Don't print chosen idle loop at every boot 2006-04-22 18:45:11 +10:00
powermac [POWERPC] make pmf irq_client functions safe against pmf interrupts coming in 2006-06-15 19:31:27 +10:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [POWERPC] RTAS delay, fix module build breaks 2006-06-21 15:01:27 +10:00
Makefile [POWERPC] Add the mpc8641 hpcn Kconfig and Makefiles. 2006-06-21 15:01:27 +10:00