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: 1992771 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 6260FDF2A2 for ; Wed, 16 Jan 2013 18:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756360Ab3APSBr (ORCPT ); Wed, 16 Jan 2013 13:01:47 -0500 Received: from mail-vc0-f177.google.com ([209.85.220.177]:47237 "EHLO mail-vc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230Ab3APSBq (ORCPT ); Wed, 16 Jan 2013 13:01:46 -0500 Received: by mail-vc0-f177.google.com with SMTP id fo14so1374230vcb.8 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=lQsmcd1GNBPe7OCnCOrcb5UQZSW1PVqPHsq9FCD1lshlVNO7IgRHuiVv9uxJDOyMdZ UzieVcF09okclyPyBWFER8ypKi72i3U/cyQuh14smzw7QnkQ0BV9rdM56ISwh9lB/S74 IKiDe8JrI8Zl+GHaA8zaWcWzKnyCfiQT4nfCQwEnw8DWDPSGZxklCJnlcvp9sCcc8zAw 9amqVXJkevfS9118hyDR2Sh4w3JhahkUxhOyQLJRAzJX67s6KaPnFOpp/XHXCfabxVVC tRmRJrhHST2WtDRjUv+bkar5bTG9zajV3/UQ+re4nM0INcHBNcedgYBR4PZzISByjItW WIWQ== 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 Cc: Marc Zyngier , Will Deacon 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: ALoCoQmgfPbsNuKOeo3Iol9IQPnZ7vGlqOZsyNbD1gJ1INtU3dtiVILCO3WzbzaqHeuN+nHxmQCN Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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(+) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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