]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc: Don't clear pending bits on IRQ lowering
authorSergey Makarov <s.makarov@syntacore.com>
Wed, 18 Sep 2024 14:02:29 +0000 (17:02 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Nov 2024 08:09:26 +0000 (11:09 +0300)
commit665754811d0ee65f2a17ad964d4287369fd01be0
tree7293d329f97baa546ff81ab3921eebe2feff8cd8
parentc2773e521d508f4a2a38eccf2dec1ebfc0f9ff57
hw/intc: Don't clear pending bits on IRQ lowering

According to PLIC specification (chapter 5), there
is only one case, when interrupt is claimed. Fix
PLIC controller to match this behavior.

Signed-off-by: Sergey Makarov <s.makarov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240918140229.124329-3-s.makarov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit a84be2baa9eca8bc500f866ad943b8f63dc99adf)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/intc/sifive_plic.c