qemu-e2k/include/hw/ppc
Bharata B Rao 94a94e4c49 spapr: convert boot CPUs into CPU core devices
Introduce sPAPRMachineClass.dr_cpu_enabled to indicate support for
CPU core hotplug. Initialize boot time CPUs as core deivces and prevent
topologies that result in partially filled cores. Both of these are done
only if CPU core hotplug is supported.

Note: An unrelated change in the call to xics_system_init() is done
in this patch as it makes sense to use the local variable smt introduced
in this patch instead of kvmppc_smt_threads() call here.

TODO: We derive sPAPR core type by looking at -cpu <model>. However
we don't take care of "compat=" feature yet for boot time as well
as hotplug CPUs.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-06-17 16:33:49 +10:00
..
mac_dbdma.h macio: call dma_memory_unmap() at the end of each DMA transfer 2016-06-14 10:43:24 +10:00
openpic.h hw: cannot include hw/hw.h from user emulation 2016-05-19 16:42:28 +02:00
ppc.h ppc: use PowerPCCPU instead of CPUPPCState 2016-05-19 16:42:27 +02:00
ppc4xx.h
ppc_e500.h
spapr.h spapr: convert boot CPUs into CPU core devices 2016-06-17 16:33:49 +10:00
spapr_cpu_core.h spapr: convert boot CPUs into CPU core devices 2016-06-17 16:33:49 +10:00
spapr_drc.h spapr_drc: Prevent detach racing against attach for CPU DR 2016-06-17 16:33:48 +10:00
spapr_vio.h hw: do not use VMSTATE_*TL 2016-05-19 16:42:28 +02:00
xics.h xics,xics_kvm: Handle CPU unplug correctly 2016-06-17 16:33:48 +10:00