From patchwork Tue Jan 8 18:42:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1947791 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 E7287DF23A for ; Tue, 8 Jan 2013 19:00:13 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TseKy-0006ak-Vr; Tue, 08 Jan 2013 18:55:49 +0000 Received: from mail-vb0-f43.google.com ([209.85.212.43]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tse8N-0006pT-Ta for linux-arm-kernel@lists.infradead.org; Tue, 08 Jan 2013 18:42:50 +0000 Received: by mail-vb0-f43.google.com with SMTP id fs19so725280vbb.16 for ; Tue, 08 Jan 2013 10:42:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received: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=t7jJdpBjBQeQpFxENZdcQSQ4K7mdk7tOuVjqHKCsU0E=; b=YzxYqWx4h5ZzkV8F+2V3ZFTM9CeegFUbD5e/ZaC7HNuzpNtIM4V1j201z1x8lUH2A2 c0OLpyf51DCt+lATJkyTKJ6Y+OK/aqnJBJp67svQ+rRuJaVulTBYqFXXKOlb8B9ilPvY HrV4NuNCi/A8CYoohFGB2uxIekyn1NMTvACbnelKfz4nwB3GLvMr7SoV8dGSQYJT/Uvx Cov7LPih01ORFW48mBCn2E8xUFBn3EZG6qKpVxkk29AdKCbNu5MGWa9i8lMvyYaflB4f bpQymQs7HSXTVZJ9pnE8aFH4+OwL+EQOeWE1Fmyg3USELXb5OOmsJ7HjgNzWW4fxhXz6 rUOg== X-Received: by 10.52.17.208 with SMTP id q16mr76492906vdd.46.1357670566676; Tue, 08 Jan 2013 10:42:46 -0800 (PST) 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 g5sm50837696vez.6.2013.01.08.10.42.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Jan 2013 10:42:46 -0800 (PST) Subject: [PATCH v5 12/12] 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: Tue, 08 Jan 2013 13:42:45 -0500 Message-ID: <20130108184245.46558.83229.stgit@ubuntu> In-Reply-To: <20130108184116.46558.3558.stgit@ubuntu> References: <20130108184116.46558.3558.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlQIP+yhLjB/slo47V8eVO0lPvkyLLEXLAxkVXeqxIfVN9Z1K+CwmGTZ+2k/FufHtBhWQ4f X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130108_134248_888102_E621B280 X-CRM114-Status: UNSURE ( 9.43 ) 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 [209.85.212.43 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 05227cb..d32e33f 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -51,6 +51,14 @@ 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 + default y + ---help--- + Adds support for a hardware assisted, in-kernel GIC emulation. + source drivers/virtio/Kconfig endif # VIRTUALIZATION