qemu-patch-raspberry4/hw/ppc
David Gibson 8149e2992f pseries: Enforce homogeneous threads-per-core
For reasons that may be useful in future, CPU core objects, as used on the
pseries machine type have their own nr-threads property, potentially
allowing cores with different numbers of threads in the same system.

If the user/management uses the values specified in query-hotpluggable-cpus
as they're expected to do, this will never matter in pratice.  But that's
not actually enforced - it's possible to manually specify a core with
a different number of threads from that in -smp.  That will confuse the
platform - most immediately, this can be used to create a CPU thread with
index above max_cpus which leads to an assertion failure in
spapr_cpu_core_realize().

For now, enforce that all cores must have the same, standard, number of
threads.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
2017-04-03 13:46:18 +10:00
..
e500-ccsr.h
e500.c
e500.h
e500plat.c
fdt.c
mac.h
mac_newworld.c
mac_oldworld.c
Makefile.objs
mpc8544_guts.c
mpc8544ds.c
pnv.c
pnv_core.c
pnv_lpc.c
pnv_xscom.c
ppc.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405.h
ppc405_boards.c
ppc405_uc.c
ppc440_bamboo.c
ppc_booke.c
ppce500_spin.c
prep.c
prep_systemio.c
rs6000_mc.c
spapr.c pseries: Enforce homogeneous threads-per-core 2017-04-03 13:46:18 +10:00
spapr_cpu_core.c
spapr_drc.c
spapr_events.c
spapr_hcall.c
spapr_iommu.c
spapr_ovec.c
spapr_pci.c
spapr_pci_vfio.c
spapr_rng.c
spapr_rtas.c
spapr_rtas_ddw.c
spapr_rtc.c
spapr_vio.c
trace-events
virtex_ml507.c