hw/intc: ibex_plic: Don't allow repeat interrupts on claimed lines
commit224914069d49cd186231000070d99ca04ee0550e
authorAlistair Francis <alistair.francis@wdc.com>
Sat, 25 Jul 2020 05:34:43 +0000 (24 22:34 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Sat, 22 Aug 2020 05:37:55 +0000 (21 22:37 -0700)
tree8664db4cb7d13c60cf152d3369a677327aa86a58
parentc43388bbfd0999edacc269e7d06eeaaf19b9d320
hw/intc: ibex_plic: Don't allow repeat interrupts on claimed lines

Once an interrupt has been claimed, but before it has been compelted we
shouldn't receive any more pending interrupts. This patche keeps track
of this to ensure that we don't see any more interrupts until it is
completed.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <394c3f070615ff2b4fab61a1cf9cb48c122913b7.1595655188.git.alistair.francis@wdc.com>
hw/intc/ibex_plic.c
include/hw/intc/ibex_plic.h