]> 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>
Tue, 5 Nov 2024 07:27:44 +0000 (10:27 +0300)
commit59fad1ebadc28995c5d356d097ba6a4d42cae7e7
treee08b8334ef4ab3a0e822a9fa555e25a9b53b8452
parent1c627d726545038a6ed16fb38b2765a1c0981db5
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