]> git.karo-electronics.de Git - mv-sheeva.git/commit
MIPS: Octeon: Improve interrupt handling.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 23 Jul 2010 17:43:46 +0000 (10:43 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:10 +0000 (13:26 +0100)
commit5aae1fd4d41ea69da845e11d4766ab61666494ed
tree54b95ad6e64a13d6848b0dbb61db89dd88bf0fa6
parenta894f14d7ebe9e278b496b1e653ae57f2eff514e
MIPS: Octeon: Improve interrupt handling.

The main change is to change most of the IRQs from handle_percpu_irq
to handle_fasteoi_irq.  This necessitates extracting all the .ack code
to common functions that are not exposed to the irq core.

The affinity code now acts more sanely, by doing round-robin
distribution instead of broadcasting.

Because of the change to handle_fasteoi_irq and affinity, some of the
IRQs had to be split into separate groups with their own struct
irq_chip to prevent undefined operations on specific IRQ lines.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1485/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-irq.c