]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/or1k-pic: Fix interrupt acknowledgement
authorPedro H. Penna <pedrohenriquepenna@gmail.com>
Fri, 30 Jun 2017 11:33:56 +0000 (08:33 -0300)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 30 Jun 2017 14:33:11 +0000 (15:33 +0100)
commitca38701935138a4aba7dd9e4daf21e13a4663f43
tree3c5f0a29d9ebddb75e51ae86f075ed9d269d4945
parent478a2db82863db9f1c135111e78298e6ed5022f3
irqchip/or1k-pic: Fix interrupt acknowledgement

Usually, hardware implicitly acknowledges interrupts when
reading them. However, if this is not the case, the IRQ
gets fired over and over again in the current implementation.

This patch uses the right mask acknowledge function to handle the
aforementioned situation on or1k processors that interact with
such kind of hardware.

Acked-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Pedro H. Penna <pedrohenriquepenna@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-or1k-pic.c