From patchwork Sat Sep 15 15:38:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1462351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 835213FC33 for ; Sat, 15 Sep 2012 15:50:37 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TCuZz-0006jJ-Cz; Sat, 15 Sep 2012 15:46:48 +0000 Received: from mail-qc0-f177.google.com ([209.85.216.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TCuS9-00006r-H2 for linux-arm-kernel@lists.infradead.org; Sat, 15 Sep 2012 15:38:43 +0000 Received: by mail-qc0-f177.google.com with SMTP id u28so3768486qcs.36 for ; Sat, 15 Sep 2012 08:38:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=n+8890v4BBDhEMbKRdb083EtfkTlZdmMzcjowuvwVJA=; b=cFDybYRZX8E3RibDvCPNHj+hNxpB2aFvktNCzExCGj8cFijB/Lk6NPUALmL7C3RkSB hnID+0zmjpWHlPYlkRHWlBDcIDHZJRS8UZjlqwjoboKBeC8whSM28djFctUKcaJ47GGO 5WOmsqCDHLS/oeuOf//6S2hHEevBGLjPGzFxCSvNtIQdUwvrSLBd0uFUs2Fjeg9ziPdT LiNkzDcwEssaH46BECBc7v23MAJoHcbNWi44GcwIBz82F8vACHPwSpT0JsFxJz9etsdE oT9tzI0Z/97eDaG1QfKC4FwxvH4Y2J7ztVAIVefT1Vl+8mw4ee64YUNDaYgyiT49pESp d/Mg== Received: by 10.224.173.84 with SMTP id o20mr15464304qaz.3.1347723521287; Sat, 15 Sep 2012 08:38:41 -0700 (PDT) Received: from [127.0.1.1] (pool-72-80-83-148.nycmny.fios.verizon.net. [72.80.83.148]) by mx.google.com with ESMTPS id r6sm7010639qaa.10.2012.09.15.08.38.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Sep 2012 08:38:40 -0700 (PDT) Subject: [PATCH 10/10] ARM: KVM: Add VGIC configuration option To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu From: Christoffer Dall Date: Sat, 15 Sep 2012 11:38:39 -0400 Message-ID: <20120915153839.21545.51624.stgit@ubuntu> In-Reply-To: <20120915153657.21545.3972.stgit@ubuntu> References: <20120915153657.21545.3972.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQk3NI7xdnxOOWrv2BQNqjrG5WWkJnRlnMpW/WcaQ9hRXhvStO+fugHlRyPigxUoclk0oI3M X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Marc Zyngier It is now possible to select the VGIC configuration option. Signed-off-by: Marc Zyngier Signed-off-by: Christoffer Dall --- arch/arm/kvm/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 47c5500..867551e 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -40,6 +40,13 @@ config KVM_ARM_HOST ---help--- Provides host support for ARM processors. +config KVM_ARM_VGIC + bool "KVM support for Virtual GIC" + depends on KVM_ARM_HOST && OF + select HAVE_KVM_IRQCHIP + ---help--- + Adds support for a hardware assisted, in-kernel GIC emulation. + source drivers/virtio/Kconfig endif # VIRTUALIZATION