Patchwork [6/7,v2] KVM: PPC: e500mc: Enable e6500 cores

login
register
mail settings
Submitter Mihai Caraman
Date March 26, 2013, 10:05 p.m.
Message ID <1364335512-28426-7-git-send-email-mihai.caraman@freescale.com>
Download mbox | patch
Permalink /patch/231551/
State New
Headers show

Comments

Mihai Caraman - March 26, 2013, 10:05 p.m.
Extend processor compatibility names to e6500 cores.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
---
v2:
 - 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;