From patchwork Sat Nov 10 15:45:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1724441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id DD32BDFE7E for ; Sat, 10 Nov 2012 15:59:20 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TXDQM-0008Ch-Up; Sat, 10 Nov 2012 15:56:47 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TXDFl-0008W7-Lu for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2012 15:45:51 +0000 Received: by mail-wg0-f41.google.com with SMTP id ds1so819824wgb.0 for ; Sat, 10 Nov 2012 07:45:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=lhGhxttvTSBDd81PTZD/qjx9DzzlS60iYmRvbdJQUdM=; b=B75jwRiMvRjmAQIOg+euy5AVbPxhT+XI5R6WVhUm3tHAtE27pk1vS/sjHMI2amMKSW iJ89fzNJIo+UCPS07vNvOi6TBSbYYMs2TH6dQPYo6UmtgoaQeoydpCVQTvrND8kDkn5W Munsh4rcY/myvINHZCF2evihB7iLiAwnYnjNBjKxf7g5B5b7cnQjC5Sf/28SXfltZZHv k/jAJclRCm1ce07eosnveQtAZupcxB1qraSsgDJeRN6Dv4hQjFUaGM4vVNCMIzLTiGWU vr+QEstn9xHVkBF3MwbQqEMRFcuYKjlrXe0AFZkmi6WOLwoKdHDHyUavOuvaF3O9/72H x9Gg== Received: by 10.180.14.73 with SMTP id n9mr7589971wic.15.1352562348205; Sat, 10 Nov 2012 07:45:48 -0800 (PST) Received: from [127.0.1.1] (ip1.c116.obr91.cust.comxnet.dk. [87.72.8.103]) by mx.google.com with ESMTPS id n2sm6731583wix.6.2012.11.10.07.45.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Nov 2012 07:45:47 -0800 (PST) Subject: [PATCH v4 13/13] 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, 10 Nov 2012 16:45:46 +0100 Message-ID: <20121110154546.3061.12922.stgit@chazy-air> In-Reply-To: <20121110154358.3061.16338.stgit@chazy-air> References: <20121110154358.3061.16338.stgit@chazy-air> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnmyuPIzaxJmVnuJ4N1nUurt0LVFfwZsJjjNK1O0uMcEE4SROKPjWKvCKzfgU3z2Trk2MES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121110_104550_733832_C9749C83 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. 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 [74.125.82.41 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Marc Zyngier 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 bfa3174..3c979ce 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -51,6 +51,13 @@ config KVM_ARM_MAX_VCPUS large, so only choose a reasonable number that you expect to actually use. +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