ARM: GIC: don't disable software generated interrupts
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 11 Nov 2010 23:10:30 +0000 (23:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Nov 2010 15:15:29 +0000 (15:15 +0000)
commit9395f6ea3c61d80ccc7a13668d27afbb8d9436ba
treeffef5df8f35a9a194a43b0f81f070eb68dbffff4
parente56c010f0d08bbecd05074eded7805d555da29b6
ARM: GIC: don't disable software generated interrupts

Software generated interrupts (SGI) are used for IPIs by the kernel.
While previous revisions of the GIC hardware were specified not to
implement enable bits for SGIs, more recent hardware is now permitted
to implement these bits in a per-CPU banked register.

The priority registers for the PPI and SGIs are also per-CPU banked
registers, so ensure that these are also appropriately initialized.

Reported-by: Scott Valentine <svalentine@concentris-systems.com>
Acked-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/gic.c