]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 10 Apr 2024 22:25:43 +0000 (00:25 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 16 Apr 2024 14:27:39 +0000 (17:27 +0300)
commitdd784cb65dbcf1f5221e76db4d921ccbfb859493
tree7d1b72829720d190247819d5c3a33e9a59db21a3
parentfcbb086ae590e910614fe5b8bf76e264f71ef304
hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately

Move calculation of mask after the switch which sets the function
number for PIRQ/PINT pins to make sure the state of these pins are
kept track of separately and IRQ is raised if any of them is active.

Cc: qemu-stable@nongnu.org
Fixes: 7e01bd80c1 hw/isa/vt82c686: Bring back via_isa_set_irq()
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240410222543.0EA534E6005@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit f33274265a242df5d9fdb00915fe72fbb1b2a3c4)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/isa/vt82c686.c