diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-15 19:05:28 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-02-09 10:19:53 +0100 |
commit | 3b69bb3195ae82511e6ee383713baf87f9a08711 (patch) | |
tree | 7e71bb5930f4aa1558e108311ecc3dc33fe29b4a /arch/mips/kernel/kgdb.c | |
parent | 2d4b4e6e40b05e17ff1a1510a8a41ba0fed83ad1 (diff) |
MIPS: IRQ: Fix disable_irq on CPU IRQs
commit a3e6c1eff54878506b2dddcc202df9cc8180facb upstream.
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: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8949/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/mips/kernel/kgdb.c')
0 files changed, 0 insertions, 0 deletions