qemu-e2k/hw
Cédric Le Goater 5bc8d26de2 spapr: allocate the ICPState object from under sPAPRCPUCore
Today, all the ICPs are created before the CPUs, stored in an array
under the sPAPR machine and linked to the CPU when the core threads
are realized. This modeling brings some complexity when a lookup in
the array is required and it can be simplified by allocating the ICPs
when the CPUs are.

This is the purpose of this proposal which introduces a new 'icp_type'
field under the machine and creates the ICP objects of the right type
(KVM or not) before the PowerPCCPU object are.

This change allows more cleanups : the removal of the icps array under
the sPAPR machine and the removal of the xics_get_cpu_index_by_dt_id()
helper.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-04-26 12:00:42 +10:00
..
9pfs 9pfs: local: set the path of the export root to "." 2017-04-18 14:01:43 +01:00
acpi tco: do not generate an NMI 2017-04-05 17:23:52 +02:00
adc
alpha
arm -----BEGIN PGP SIGNATURE----- 2017-04-25 14:14:17 +01:00
audio
block fdc: Make errp the last parameter of fdctrl_connect_drives 2017-04-24 09:13:44 +02:00
bt
char hw/char/exynos4210_uart: Constify static array and few arguments 2017-04-20 17:39:17 +01:00
core migration/next for 20170421 2017-04-21 15:59:27 +01:00
cpu
cris
display fix display update races, part one. 2017-04-24 15:37:30 +01:00
dma dma/rc4030: fix a mixed declarations and code warning 2017-03-20 11:20:35 +00:00
gpio
i2c
i386 error: Apply error_propagate_null.cocci again 2017-04-24 09:13:45 +02:00
ide ide: ahci: call cleanup function in ahci unit 2017-03-15 20:50:14 -04:00
input virtio-input: fix eventq batching 2017-03-27 12:14:45 +02:00
intc spapr: allocate the ICPState object from under sPAPRCPUCore 2017-04-26 12:00:42 +10:00
ipack
ipmi ipmi: Fix macro issues 2017-04-02 21:17:47 +02:00
isa tco: do not generate an NMI 2017-04-05 17:23:52 +02:00
lm32
m68k
mem
microblaze
mips
misc hw/misc/exynos4210_pmu: Reorder local variables for readability 2017-04-20 17:39:17 +01:00
moxie
net net/ftgmac100: add a 'aspeed' property 2017-04-25 19:17:25 +08:00
nios2 nios2: iic: Convert CPU prop to qom link 2017-03-18 18:22:54 +00:00
nvram
openrisc
pci pci: Only unmap bus_master_enabled_region if was added previously 2017-04-04 18:32:25 +03:00
pci-bridge
pci-host versatile: remove cannot_destroy_with_object_finalize_yet 2017-04-21 07:18:34 +02:00
pcmcia
ppc spapr: allocate the ICPState object from under sPAPRCPUCore 2017-04-26 12:00:42 +10:00
s390x error: Apply error_propagate_null.cocci again 2017-04-24 09:13:45 +02:00
scsi scsi: Make errp the last parameter of virtio_scsi_common_realize 2017-04-24 09:13:44 +02:00
sd Block layer patches 2017-03-01 23:09:46 +00:00
sh4 sm501: QOMify 2017-04-24 12:32:12 +01:00
smbios
sparc tcx: switch to load_image_mr() and remove prom_addr hack 2017-04-21 09:02:04 +01:00
sparc64 sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
ssi
timer hw/arm/exynos: Convert fprintf to qemu_log_mask/error_report 2017-04-20 17:39:17 +01:00
tpm
tricore
unicore32
usb error: Apply error_propagate_null.cocci again 2017-04-24 09:13:45 +02:00
vfio memory: add section range info for IOMMU notifier 2017-04-20 15:22:41 -03:00
virtio migration/next for 20170421 2017-04-21 15:59:27 +01:00
watchdog
xen xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
xenpv
xtensa target/xtensa: xtfpga: load DTB only when FDT support is enabled 2017-03-11 14:59:03 -08:00
Makefile.objs