From patchwork Thu Sep 26 11:48:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 2948111 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8626CBFF05 for ; Thu, 26 Sep 2013 11:49:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6952C20237 for ; Thu, 26 Sep 2013 11:49:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4FB7C2022D for ; Thu, 26 Sep 2013 11:49:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756554Ab3IZLtR (ORCPT ); Thu, 26 Sep 2013 07:49:17 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:39436 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756472Ab3IZLtR (ORCPT ); Thu, 26 Sep 2013 07:49:17 -0400 Received: by mail-wg0-f45.google.com with SMTP id y10so1045104wgg.24 for ; Thu, 26 Sep 2013 04:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=y2S2dbzOus6MXkoihbUTjzlWj7Rye11NoIEekzcs5iM=; b=wcwoB/xElNiZV6YiZvkZNhgmhPUP0Wbt0K7RbJSmM/kGP0EO0JL6BFGBI4+Iqxe5Ah 8ab7SIuo0oQtJ50A45RgfE7J5jI+YlBmFv9Ly7Sd1C/r7WI6dhgSaBdajIWMM2oeZLwJ Qi//44jTMRBqoA+U7dSuuHV/38wT31xJ4V0TiUhzh9eINH5HoW9YzkxcBNQiilX0Axoo vqr/5u+mbRlb3obBf0DKi0Ft3CXxWC08DeJHWn8suEE/bsicqyKK99v23UV+6NIKY6Bb 6WQzxqODiYNqQhnBmdYrwPK9jlirHslyHfT8VeZDgPEmIRJbu2XUlXJ79ci+rn1iGS3e 8zyQ== X-Received: by 10.180.10.136 with SMTP id i8mr469510wib.46.1380196155425; Thu, 26 Sep 2013 04:49:15 -0700 (PDT) Received: from groucho.site ([109.201.152.244]) by mx.google.com with ESMTPSA id i8sm2716875wiy.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 04:49:14 -0700 (PDT) From: Ulrich Hecht To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, linux-sh@vger.kernel.org, magnus.damm@gmail.com, gleb@redhat.com, horms@verge.net.au, Ulrich Hecht Subject: [PATCH resend] KVM: ARM: enable Cortex A7 hosts Date: Thu, 26 Sep 2013 13:48:51 +0200 Message-Id: <1380196131-23326-1-git-send-email-ulrich.hecht@gmail.com> X-Mailer: git-send-email 1.8.4 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP KVM runs fine on Cortex A7 cores, so they should be enabled. Tested on an APE6EVM board (r8a73a4 SoC). Signed-off-by: Ulrich Hecht --- arch/arm/kvm/guest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/kvm/guest.c b/arch/arm/kvm/guest.c index 152d036..05c62d5 100644 --- a/arch/arm/kvm/guest.c +++ b/arch/arm/kvm/guest.c @@ -192,6 +192,8 @@ int __attribute_const__ kvm_target_cpu(void) switch (part_number) { case ARM_CPU_PART_CORTEX_A15: return KVM_ARM_TARGET_CORTEX_A15; + case ARM_CPU_PART_CORTEX_A7: + return KVM_ARM_TARGET_CORTEX_A15; default: return -EINVAL; }