irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
authorStafford Horne <shorne@gmail.com>
Tue, 14 Jun 2022 23:54:26 +0000 (08:54 +0900)
committerStafford Horne <shorne@gmail.com>
Tue, 28 Jun 2022 08:31:15 +0000 (17:31 +0900)
commit8520501346ed8d1c4a6dfa751cb57328a9c843f1
tree4a9cb6949ee81cd8c0fe7a51faa5bf961eded371
parent03c765b0e3b4cb5063276b086c76f7a612856a9a
irqchip: or1k-pic: Undefine mask_ack for level triggered hardware

The mask_ack operation clears the interrupt by writing to the PICSR
register.  This we don't want for level triggered interrupt because
it does not actually clear the interrupt on the source hardware.

This was causing issues in qemu with multi core setups where
interrupts would continue to fire even though they had been cleared in
PICSR.

Just remove the mask_ack operation.

Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
drivers/irqchip/irq-or1k-pic.c