]> 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:10:00 +0000 (11:10 +0300)
commit5dbbbaf971c95ec8b32317fd5365f63670a500e8
treee3c3df064b0a971ec6e5115ebfd91e84c95f43ca
parent76e0030636b9c23d11d01e5701cf8197d9068afd
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