History | View | Annotate | Download (2.3 kB)
PPC: e500: advertise 4.2 MPIC only if KVM supports EPR
Older KVM versions don't support EPR which breaks guests when we announceMPIC variants that support EPR.
Catch that case and expose only MPIC version 2.0 which tells the guest thatwe don't support the EPR capability yet....
hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....
ppc: do not use ../ in include files
This simplifies the scripted execution of the next patch.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
PPC: e500: Select MPIC v4.2 on ppce500 platform
The compatible string is changed to fsl,mpic on all e500 platforms, toadvertise the existence of BRR1. This matches what the device tree willhave on real hardware.
With MPIC v4.2 max_cpu can be increased from 15 to 32....
Make default boot order machine specific
This patch makes default boot order machine specific instead ofset globally. The default boot order can be set per machine inQEMUMachine boot_order. This also allows a machine to receive aNULL boot order when -boot isn't used and take an appropriate action...
softmmu: move include files to include/sysemu/
PPC: E500: Move PCI slot information into params
We have a params struct that allows us to expose differences betweene500 machine models. Include PCI slot information there, so we can havedifferent machines with different PCI slot topology.
Signed-off-by: Alexander Graf <agraf@suse.de>
PPC: E500plat: Make a lot of PCI slots available
The ppce500 machine doesn't have to stick to hardware limitations,as it's defined as being fully device tree based.
Thus we can change the initial PCI slot ID to 0x1 which gives us awhopping 31 PCI devices we can support with this machine now!...
create struct for machine initialization arguments
This should help us to:- More easily add or remove machine initialization arguments without having to change every single machine init function;- More easily make mechanical changes involving the machine init...
PPC: e500: add generic e500 platform
This gives the kernel a paravirtualized machine to target, withoutrequiring both sides to pretend to be targeting a specific boardthat likely has little to do with the host in KVM scenarios. Thisavoids the need to add new boards to QEMU, just to be able to...