Patchwork [7/8,v3] KVM: PPC: e500mc: Enable e6500 cores

login
register
mail settings
Submitter Mihai Caraman
Date April 11, 2013, 10:03 a.m.
Message ID <1365674594-17410-8-git-send-email-mihai.caraman@freescale.com>
Download mbox | patch
Permalink /patch/235691/
State Not Applicable
Headers show

Comments

Mihai Caraman - April 11, 2013, 10:03 a.m.
Extend processor compatibility names to e6500 cores.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
---
v3:
 - No change

 arch/powerpc/kvm/e500mc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/kvm/e500mc.c b/arch/powerpc/kvm/e500mc.c
index ab073a8..c3bdc0a 100644
--- a/arch/powerpc/kvm/e500mc.c
+++ b/arch/powerpc/kvm/e500mc.c
@@ -172,6 +172,8 @@  int kvmppc_core_check_processor_compat(void)
 		r = 0;
 	else if (strcmp(cur_cpu_spec->cpu_name, "e5500") == 0)
 		r = 0;
+	else if (strcmp(cur_cpu_spec->cpu_name, "e6500") == 0)
+		r = 0;
 	else
 		r = -ENOTSUPP;