]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Enable lower level contexts on VP push
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:59 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:53 +0000 (08:03 +0200)
commitdf3614b7983e0629b0d422259968985ca0117bfa
tree5e701db41c1c430ca0d3824f485a72c23ca80582
parent3a50f36469c318d3c66360a8e5ada6f2dc1a349d
ppc/xive2: Enable lower level contexts on VP push

When pushing a context, the lower-level context becomes valid if it
had V=1, and so on. Iterate lower level contexts and send them
pending interrupts if they become enabled.

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-51-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive2.c