]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Support group-matching when looking for target
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)
commit9cb7f6ebed60739ff6e5f09e8ce85c9602d33f2a
tree68de4cc70b1556f5f61d4cfd4ea78bfa97eb5ac7
parent9d2b6058c5b0601779a65e7db4176073940a713d
ppc/xive2: Support group-matching when looking for target

If an END has the 'i' bit set (ignore), then it targets a group of
VPs. The size of the group depends on the VP index of the target
(first 0 found when looking at the least significant bits of the
index) so a mask is applied on the VP index of a running thread to
know if we have a match.

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