From patchwork Wed Jan 16 18:01:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1993101 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 D1BBEDF2A2 for ; Wed, 16 Jan 2013 18:20:16 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TvXWc-0005n2-AV; Wed, 16 Jan 2013 18:15:49 +0000 Received: from mail-vb0-f45.google.com ([209.85.212.45]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TvXJ5-00058e-58 for linux-arm-kernel@lists.infradead.org; Wed, 16 Jan 2013 18:01:51 +0000 Received: by mail-vb0-f45.google.com with SMTP id p1so1626843vbi.4 for ; Wed, 16 Jan 2013 10:01:45 -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=YpFyg75n6HMlhri7JN5+8Hp184LHTxMU5BlFWJO+nI8=; b=o3L82EJRcZy3wsMfZkLHXkKQhzjTw2taN0gS4ccvartVg65mcCekhUGHXJFqdRHi26 fmU4g5F2mdccX4udw0rwzBbE1Cu9ESTFUgbnVSvdZLF2sbxTE7yUlkQnbgHxuiceTDu8 n5sTZ6PRKEvPwvklaoFAC+6FlO0u76n1Km0LAb40o4HHdCi1wttmxyg3ZQa/c19uMd4z SAbkyt+hKPlZM371zErZLBsyXVGGQ+QBOcWflbSOzpmhzpl+KMKMyVu6nhQ/XO/+yyKe XuUmlL72Na1M+Hg4IJdC8nYhgLubYGP2ApgsJg4HzZHovFXLhHh+NdOfsxxLIm57j/zl eQQQ== X-Received: by 10.52.29.231 with SMTP id n7mr1924532vdh.103.1358359305527; Wed, 16 Jan 2013 10:01:45 -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 j16sm1627672vdh.6.2013.01.16.10.01.44 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 10:01:44 -0800 (PST) Subject: [PATCH v6 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: Wed, 16 Jan 2013 13:01:43 -0500 Message-ID: <20130116180143.29393.90017.stgit@ubuntu> In-Reply-To: <20130116180013.29393.49165.stgit@ubuntu> References: <20130116180013.29393.49165.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlp4HNg97YAahss58m8CjZrF6aFeHD4ySGd6Q51kf8m6YD20XVvy7mycrVCQWaYTEsKkkV8 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130116_130150_780228_A99F2F54 X-CRM114-Status: UNSURE ( 8.40 ) 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.45 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Marc Zyngier , Will Deacon 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. Reviewed-by: Will Deacon 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..d8126f2 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