]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive: Fix pulling pool and phys contexts
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 May 2025 03:10:25 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit279031bc03e6f59d58f4de37b06bddaa03e4f209
treea87778a8ef44fc931c3cc516ef6b6892ea0f1091
parent261626dce11311ba4e866272c9a2c0990c53d85c
ppc/xive: Fix pulling pool and phys contexts

This improves the implementation of pulling pool and phys contexts in
XIVE1, by following closer the OS pulling code.

In particular, the old ring data is returned rather than the modified,
and irq signals are reset on pull.

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