[ARM] 5583/1: VIC: acknowledge software interrupts
authorAlessandro Rubini <rubini@gnudd.com>
Thu, 2 Jul 2009 14:28:52 +0000 (15:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Jul 2009 20:20:44 +0000 (21:20 +0100)
commit8c81b52422147b4b09f5adb8d0c6963342a336c6
treef4cf43c1353c5dfd29e68c64e8efe85368251052
parent87e8824b4588076409692b82ef4b1d98f25cd400
[ARM] 5583/1: VIC: acknowledge software interrupts

The PrimeCell Vectored Interrupt Controller offers a way to trigger
any interrupt through software. This is a useful tool for developing,
but such software interrupt can only be acked by writing a bit in the
"software clear" register, or the handler will loop forever.  This
splits ack from mask, and acks the soft irq in case it was the source.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/vic.c