intc/ibex_plic: Clear interrupts that occur during claim process
commit54a581c22831098e53552d7e33024dc9f4193d7f
authorAlistair Francis <alistair.francis@wdc.com>
Fri, 4 Dec 2020 16:47:37 +0000 (4 08:47 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 18 Dec 2020 05:56:43 +0000 (17 21:56 -0800)
treed26900305e4ba8012baea8bb4ffbe3d6afa5aa4d
parent529577457cbba9e429af629c46204f63e50fa832
intc/ibex_plic: Clear interrupts that occur during claim process

Previously if an interrupt occured during the claim process (after the
interrupt is claimed but before it's completed) it would never be
cleared.
This patch ensures that we also clear the hidden_pending bits as well.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Jackie Ke <jackieke724@hotmail.com>
Message-id: 4e9786084a86f220689123cc8a7837af8fa071cf.1607100423.git.alistair.francis@wdc.com
hw/intc/ibex_plic.c