]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Process group backlog when pushing an OS context
authorFrederic Barrat <fbarrat@linux.ibm.com>
Tue, 11 Mar 2025 01:51:22 +0000 (11:51 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:31 +0000 (22:43 +1000)
commit071456d0c7d4783e3a2053e67cdf58d5f0610fdf
treee6160be5427a14a446a8f1825c894ecb83a64f42
parent58fa4433e02a394872ff83c28edea174c43e6afb
ppc/xive2: Process group backlog when pushing an OS context

When pushing an OS context, we were already checking if there was a
pending interrupt in the IPB and sending a notification if needed.  We
also need to check if there is a pending group interrupt stored in the
NVG table. To avoid useless backlog scans, we only scan if the NVP
belongs to a group.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Kowal <kowal@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/intc/xive2.c