qemu/target
Nicholas Piggin b769d4c8f4 target/ppc: Add initial flags and helpers for SMT support
TGC SMT emulation needs to know whether it is running with SMT siblings,
to be able to iterate over siblings in a core, and to serialise
threads to access per-core shared SPRs. Add infrastructure to do these
things.

For now the sibling iteration and serialisation are implemented in a
simple but inefficient way. SMT shared state and sibling access is not
too common, and SMT configurations are mainly useful to test system
code, so performance is not to critical.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[ clg: fix build breakage with clang ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2023-06-25 22:41:30 +02:00
..
alpha meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
arm target/arm: Fix sve predicate store, 8 <= VQ <= 15 2023-06-23 11:37:29 +01:00
avr meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
cris meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
hexagon target/*: Add missing includes of exec/translation-block.h 2023-06-05 12:04:29 -07:00
hppa meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
i386 meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
loongarch meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
m68k meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
microblaze meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
mips meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
nios2 meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
openrisc meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
ppc target/ppc: Add initial flags and helpers for SMT support 2023-06-25 22:41:30 +02:00
riscv meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
rx accel/tcg: Introduce translator_io_start 2023-06-05 12:04:29 -07:00
s390x meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
sh4 meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
sparc meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
tricore target/tricore: Fix ICR.IE offset in RESTORE insn 2023-06-21 18:09:54 +02:00
xtensa meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
Kconfig
meson.build