From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: [PATCH 2/8] kvm/ppc/booke64: Disable e6500 support Date: Thu, 6 Jun 2013 19:16:30 -0500 Message-ID: <1370564196-3821-3-git-send-email-scottwood@freescale.com> References: <1370564196-3821-1-git-send-email-scottwood@freescale.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Mihai Caraman , , , Scott Wood To: Alexander Graf , Gleb Natapov , Paolo Bonzini Return-path: Received: from co9ehsobe001.messaging.microsoft.com ([207.46.163.24]:31052 "EHLO co9outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754445Ab3FGAQu (ORCPT ); Thu, 6 Jun 2013 20:16:50 -0400 In-Reply-To: <1370564196-3821-1-git-send-email-scottwood@freescale.com> Sender: kvm-owner@vger.kernel.org List-ID: The previous patch made 64-bit booke KVM build again, but Altivec support is still not complete, and we can't prevent the guest from turning on Altivec (which can corrupt host state until state save/restore is implemented). Disable e6500 on KVM until this is fixed. Signed-off-by: Scott Wood --- Mihai has posted RFC patches for proper Altivec support, so disabling e6500 should only need to be for 3.10. --- arch/powerpc/kvm/e500mc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kvm/e500mc.c b/arch/powerpc/kvm/e500mc.c index 753cc99..19c8379 100644 --- a/arch/powerpc/kvm/e500mc.c +++ b/arch/powerpc/kvm/e500mc.c @@ -177,8 +177,6 @@ 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; -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 07 Jun 2013 00:16:30 +0000 Subject: [PATCH 2/8] kvm/ppc/booke64: Disable e6500 support Message-Id: <1370564196-3821-3-git-send-email-scottwood@freescale.com> List-Id: References: <1370564196-3821-1-git-send-email-scottwood@freescale.com> In-Reply-To: <1370564196-3821-1-git-send-email-scottwood@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf , Gleb Natapov , Paolo Bonzini Cc: Mihai Caraman , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, Scott Wood The previous patch made 64-bit booke KVM build again, but Altivec support is still not complete, and we can't prevent the guest from turning on Altivec (which can corrupt host state until state save/restore is implemented). Disable e6500 on KVM until this is fixed. Signed-off-by: Scott Wood --- Mihai has posted RFC patches for proper Altivec support, so disabling e6500 should only need to be for 3.10. --- arch/powerpc/kvm/e500mc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kvm/e500mc.c b/arch/powerpc/kvm/e500mc.c index 753cc99..19c8379 100644 --- a/arch/powerpc/kvm/e500mc.c +++ b/arch/powerpc/kvm/e500mc.c @@ -177,8 +177,6 @@ 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; -- 1.7.10.4