ppc: Add has_smt_siblings property to CPUPPCState
authorNicholas Piggin <npiggin@gmail.com>
Tue, 18 Jun 2024 02:56:53 +0000 (12:56 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commit59c921f2297d6e293fde593432acf90d819e4d51
tree23db2caf9299c9400a8329cb74eceacfd1cb7484
parent50d8cfb949066e4466700e814a0e26719d70a951
ppc: Add has_smt_siblings property to CPUPPCState

The decision to branch out to a slower SMT path in instruction
emulation will become a bit more complicated with the way that
"big-core" topology that will be implemented in subsequent changes.
Hide these details from the wider CPU emulation code with a bool
has_smt_siblings flag that can be set by machine initialisation.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv_core.c
hw/ppc/spapr_cpu_core.c
target/ppc/cpu.h