]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Add grouping level to notification
authorFrederic Barrat <fbarrat@linux.ibm.com>
Tue, 11 Mar 2025 01:51:21 +0000 (11:51 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:31 +0000 (22:43 +1000)
commit9d2b6058c5b0601779a65e7db4176073940a713d
treebec0f2299dcc170ca540e87c39ee741917147fde
parenta45580ad03f034c84689c6bee5f875432dbd73ba
ppc/xive2: Add grouping level to notification

The NSR has a (so far unused) grouping level field. When a interrupt
is presented, that field tells the hypervisor or OS if the interrupt
is for an individual VP or for a VP-group/crowd. This patch reworks
the presentation API to allow to set/unset the level when
raising/accepting an interrupt.

It also renames xive_tctx_ipb_update() to xive_tctx_pipr_update() as
the IPB is only used for VP-specific target, whereas the PIPR always
needs to be updated.

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/trace-events
hw/intc/xive.c
hw/intc/xive2.c
include/hw/ppc/xive.h
include/hw/ppc/xive_regs.h