OSDN Git Service

powerpc/83xx: Fix the interrupt loss problem on ipic
authordayu@datangmobile.cn <dayu@datangmobile.cn>
Wed, 18 Feb 2009 05:47:42 +0000 (13:47 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 9 Mar 2009 14:25:35 +0000 (09:25 -0500)
commit30c404699dd650f213d480d263c775915a0e1297
tree915be54e8939a83259ab272f47d74b152ce35b0b
parent1ab082d7cbd0f34e39a5396cc6340c00bc5d66ef
powerpc/83xx: Fix the interrupt loss problem on ipic

The interrupt pending register is write 1 clear.  If there are more than
one external interrupts pending at the same time, acking the first
interrupt by reading pending register then OR the corresponding bit and
write back to pending register will also clear other interrupt pending
bits.  That will cause loss of interrupt.

Signed-off-by: Da Yu <dayu@datangmobile.cn>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/ipic.c