qemu/target/ppc
Nicholas Piggin feb37fdc82 ppc: Add a core_index to CPUPPCState for SMT vCPUs
The way SMT thread siblings are matched is clunky, using hard-coded
logic that checks the PIR SPR.

Change that to use a new core_index variable in the CPUPPCState,
where all siblings have the same core_index. CPU realize routines have
flexibility in setting core/sibling topology.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2024-07-26 09:21:06 +10:00
..
translate target/ppc: add SMT support to msgsnd broadcast 2024-05-24 09:34:41 +10:00
arch_dump.c target/ppc/arch_dump: set prstatus pid to cpuid 2024-07-26 09:21:06 +10:00
compat.c
cpu_init.c target/ppc: Move SPR indirect registers into PnvCore 2024-07-26 09:21:06 +10:00
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h
cpu.c
cpu.h ppc: Add a core_index to CPUPPCState for SMT vCPUs 2024-07-26 09:21:06 +10:00
dfp_helper.c
excp_helper.c target/ppc: Fix msgsnd for POWER8 2024-07-26 09:21:06 +10:00
fpu_helper.c target/ppc: Move floating-point arithmetic instructions to decodetree. 2024-05-24 08:57:50 +10:00
gdbstub.c
helper_regs.c target/ppc: Remove id_tlbs flag from CPU env 2024-05-24 09:43:11 +10:00
helper_regs.h
helper.h target/ppc: Merge helper_{dcbz,dcbzep} 2024-07-23 10:56:16 +10:00
insn32.decode target/ppc: Implement attn instruction on BookS 64-bit processors 2024-05-24 09:34:38 +10:00
insn64.decode
int_helper.c target/ppc: Move logical fixed-point instructions to decodetree. 2024-05-24 08:57:50 +10:00
internal.h target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
Kconfig
kvm_ppc.h
kvm.c target/ppc: handle vcpu hotplug failure gracefully 2024-07-26 09:21:06 +10:00
machine.c target/ppc: Add migration support for BHRB 2024-05-24 09:33:44 +10:00
mem_helper.c target/ppc: Improve helper_dcbz for user-only 2024-07-23 10:56:16 +10:00
meson.build target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
misc_helper.c target/ppc: Move SPR indirect registers into PnvCore 2024-07-26 09:21:06 +10:00
mmu_common.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu_helper.c target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-book3s-v3.c
mmu-book3s-v3.h spapr: avoid overhead of finding vhyp class in critical operations 2024-05-24 08:57:50 +10:00
mmu-booke.c target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-booke.h target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-books.h
mmu-hash32.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu-hash32.h target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu-hash64.c target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
mmu-hash64.h
mmu-radix64.c target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
mmu-radix64.h
power8-pmu-regs.c.inc target/ppc: Add new hflags to support BHRB 2024-05-24 08:57:50 +10:00
power8-pmu.c target/ppc: Add recording of taken branches to BHRB 2024-05-24 09:33:06 +10:00
power8-pmu.h target/ppc: Add recording of taken branches to BHRB 2024-05-24 09:33:06 +10:00
ppc-qmp-cmds.c
spr_common.h target/ppc: Implement SPRC/SPRD SPRs 2024-05-24 09:34:40 +10:00
tcg-stub.c
timebase_helper.c ppc/pnv: Move timebase state into PnvCore 2024-07-26 09:21:06 +10:00
trace-events
trace.h
translate.c target/ppc: Merge helper_{dcbz,dcbzep} 2024-07-23 10:56:16 +10:00
user_only_helper.c