]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Prevent pulling of pool context losing phys interrupt
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:50 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commit7a40b50757b55c2d4233c304f32df5afdd1bd63a
treedb41123c2bb5a69bc2a3a1d36f0a551b1d5f75d5
parent365e322cfb86b2e7131c3290c3a61f8d2bb224d3
ppc/xive2: Prevent pulling of pool context losing phys interrupt

When the pool context is pulled, the shared pool/phys signal is
reset, which loses the qemu irq if a phys interrupt was presented.

Only reset the signal if a poll irq was presented.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-42-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive2.c