target/ppc: add SMT support to msgsnd broadcast
authorNicholas Piggin <npiggin@gmail.com>
Mon, 5 Jun 2023 10:05:36 +0000 (20:05 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:34:41 +0000 (09:34 +1000)
commit0dfe59fe77ed571f23aefb70a3a226c3e1779862
tree188af80d660c72798ece19f6cbfdfdd49234b535
parent2736432ffc30b74fc72858854e62b62253b685ff
target/ppc: add SMT support to msgsnd broadcast

msgsnd has a broadcast mode that sends hypervisor doorbells to all
threads belonging to the same core as the target. A "subcore" mode
sends to all or one thread depending on 1LPAR mode.

Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu.h
target/ppc/excp_helper.c
target/ppc/helper.h
target/ppc/translate/processor-ctrl-impl.c.inc