target-arm: Don't hardcode KVM target CPU to be A15
Instead of assuming that a KVM target CPU must always be aCortex-A15 and hardcoding this in kvm_arch_init_vcpu(),store the KVM_ARM_TARGET_* value in the ARMCPU class,and use that.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
target-arm: Provide '-cpu host' when running KVM
Implement '-cpu host' for ARM when we're using KVM, broadlyin line with other KVM-supporting architectures.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>...
device_tree.c: Terminate the empty reservemap in create_device_tree()
Device trees created with create_device_tree() may not have anyentries in their reservemap, because the FDT API requires that thereservemap is completed before any FDT nodes are added, and...
hw/arm/boot: Allow boards to provide an fdt blob
If no fdt is provided on command line and the new fieldget_dtb in struct arm_boot_info is set then call it toget a device tree blob.
Signed-off-by: John Rigby <john.rigby@linaro.org>Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>...
target-arm: Provide PSCI constants to generic QEMU code
Provide versions of the KVM PSCI constants to non-KVM code;this will allow us to avoid an ifdef in boards which set upa PSCI node in the device tree.
target-arm: Add ARMCPU field for Linux device-tree 'compatible' string
Linux requires device tree CPU nodes to include a 'compatible'string describing the CPU. Add a field in the ARMCPU struct forthis so that boards which construct a device tree can insert...
target-arm: Allow secondary KVM CPUs to be booted via PSCI
New ARM boards are generally expected to boot their secondary CPUsvia the PSCI interface, rather than ad-hoc "loop around in holdingpen code" as hw/arm/boot.c implements. In particular this isnecessary for mach-virt kernels. For KVM we achieve this by creating...
hw/arm: Add 'virt' platform
Add 'virt' platform support corresponding to arch/arm/mach-virtin the Linux kernel tree. This has no platform-specific code butcan use any device whose kernel driver is is able to work purelyfrom a device tree node. We use this to instantiate a minimal...
target-arm: Provide mechanism for getting KVM constants even if not CONFIG_KVM
There are a number of places where it would be convenient for ARMcode to have working definitions of KVM constants even in codewhich is compiled with CONFIG_KVM not set. In this situation we...
cpu/a9mpcore: Add Global Timer
Add the global timer to A9 MPCore.
Signed-off-by: François LEGAL <devel@thom.fr.eu.org>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Message-id: ff92f35f438ac671b57d99d823723dd3e62d2c49.1385969450.git.peter.crosthwaite@xilinx.com...
View all revisions | View revisions
Also available in: Atom