android_kernel_xiaomi_sm8350/arch/mips/alchemy
Manuel Lauss 44f2c586a3 MIPS: Alchemy: Fix hang with high-frequency edge interrupts
The handle_edge_irq() flowhandler disables edge int sources which occur
too fast (i.e. another edge comes in before the irq handler function
had a chance to finish).  Currently, the mask_ack() callback does not
ack the edges in hardware, leading to an endless loop in the flowhandler
where it tries to shut up the irq source.

When I rewrote the alchemy IRQ code  I wrongly assumed the mask_ack()
callback was only used by the level flowhandler, hence it omitted the
(at the time pointless) edge acks.  Turned out I was wrong; so here
is a complete mask_ack implementation for Alchemy IC, which fixes
the above mentioned problem.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-11-02 12:00:08 +01:00
..
common MIPS: Alchemy: Fix hang with high-frequency edge interrupts 2009-11-02 12:00:08 +01:00
devboards MIPS: Alchemy: devboards: Convert to gpio calls. 2009-06-17 11:06:29 +01:00
mtx-1 MIPS: MTX-1: Fix build if CONFIG_PCI is disabled. 2009-11-02 12:00:04 +01:00
xxs1500 MIPS: Alchemy: xxs1500: use linux gpio api. 2009-06-17 11:06:29 +01:00
Kconfig