Patchwork [v2,1/7] AARCH64: Add A57 CPU to default AArch64 configuration and enable KVM

login
register
mail settings
Submitter Mian M. Hamayun
Date July 23, 2013, 9:33 a.m.
Message ID <1374571996-9228-2-git-send-email-m.hamayun@virtualopensystems.com>
Download mbox | patch
Permalink /patch/261006/
State New
Headers show

Comments

Mian M. Hamayun - July 23, 2013, 9:33 a.m.
From: "Mian M. Hamayun" <m.hamayun@virtualopensystems.com>

Introduce the A57 cpu to the default AArch64 configuration and enable KVM for
64-bit guests only.

Signed-off-by: Mian M. Hamayun <m.hamayun@virtualopensystems.com>
---
 configure                           |    2 +-
 default-configs/aarch64-softmmu.mak |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/configure b/configure
index 2f83771..021c1dd 100755
--- a/configure
+++ b/configure
@@ -4293,7 +4293,7 @@  case "$target_name" in
   *)
 esac
 case "$target_name" in
-  arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
+  arm|aarch64|i386|x86_64|ppcemb|ppc|ppc64|s390x)
     # Make sure the target and host cpus are compatible
     if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
       \( "$target_name" = "$cpu" -o \
diff --git a/default-configs/aarch64-softmmu.mak b/default-configs/aarch64-softmmu.mak
index 27cbe3d..00c8bdd 100644
--- a/default-configs/aarch64-softmmu.mak
+++ b/default-configs/aarch64-softmmu.mak
@@ -1,4 +1,4 @@ 
-# Default configuration for arm-softmmu
+# Default configuration for aarch64-softmmu
 
 include pci.mak
 include usb.mak
@@ -37,6 +37,7 @@  CONFIG_USB_MUSB=y
 CONFIG_ARM9MPCORE=y
 CONFIG_ARM11MPCORE=y
 CONFIG_ARM15MPCORE=y
+CONFIG_ARM57MPCORE=y
 
 CONFIG_ARM_GIC=y
 CONFIG_ARM_GIC_KVM=$(CONFIG_KVM)