summaryrefslogtreecommitdiffstats
path: root/arch/mips/rb532
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-15 19:05:28 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-01-16 14:03:17 +0100
commita3e6c1eff54878506b2dddcc202df9cc8180facb (patch)
tree591487ead2b5a21ac85fa250bb42abc34cf0494a /arch/mips/rb532
parentMIPS: smp-mt,smp-cmp: Enable all HW IRQs on secondary CPUs (diff)
downloadlinux-a3e6c1eff54878506b2dddcc202df9cc8180facb.tar.xz
linux-a3e6c1eff54878506b2dddcc202df9cc8180facb.zip
MIPS: IRQ: Fix disable_irq on CPU IRQs
If the irq_chip does not define .irq_disable, any call to disable_irq will defer disabling the IRQ until it fires while marked as disabled. This assumes that the handler function checks for this condition, which handle_percpu_irq does not. In this case, calling disable_irq leads to an IRQ storm, if the interrupt fires while disabled. This optimization is only useful when disabling the IRQ is slow, which is not true for the MIPS CPU IRQ. Disable this optimization by implementing .irq_disable and .irq_enable Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: stable@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8949/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions