From patchwork Mon Oct 22 06:52:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1624231 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 91EF1400E8 for ; Mon, 22 Oct 2012 07:08:15 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TQC45-0000yP-Sh; Mon, 22 Oct 2012 07:04:46 +0000 Received: from mail-vb0-f49.google.com ([209.85.212.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TQBsI-0000DD-6J for linux-arm-kernel@lists.infradead.org; Mon, 22 Oct 2012 06:52:36 +0000 Received: by mail-vb0-f49.google.com with SMTP id fo1so2547461vbb.36 for ; Sun, 21 Oct 2012 23:52:34 -0700 (PDT) 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=n+8890v4BBDhEMbKRdb083EtfkTlZdmMzcjowuvwVJA=; b=lJ5KkUSZ39ibg2rvw4XNXUFGeFWnR80zMCrWo6ylkC/zsNfxf6Biu4speIvE7ZQD9S Jb8G027wi7ZTNeov1q9TheoGRcTG70fifhnUCxQILlBHj8HRkIF67dE5ye2dMZVkAGfm QXJiPn+R95wEjnHyIPEjhdVFwTtITS9tt/KWbpj7QZ/TC8SLP8CN60nZtlEKTEXpglEv dSjcHsYE3Irj90WjykSEDJWMxUYLu8xBQ2FlCzJ5uR2EmX91PQI/NLCbogItqAdUY1pE FVwvR5XutsCxPXIDZLnssJ97Ryc7nuMC6Heo6PkBAbjUV2PFf78zkko3n6jfx3sTD5rb 7DEg== Received: by 10.221.2.10 with SMTP id ns10mr13261246vcb.25.1350888753930; Sun, 21 Oct 2012 23:52:33 -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 dq8sm8970807vdc.4.2012.10.21.23.52.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Oct 2012 23:52:33 -0700 (PDT) Subject: [PATCH v3 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: Mon, 22 Oct 2012 02:52:43 -0400 Message-ID: <20121022065243.18672.67674.stgit@ubuntu> In-Reply-To: <20121022065104.18672.52989.stgit@ubuntu> References: <20121022065104.18672.52989.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkMtduMKdVdbnvkiW7aqUciJcF+uuV1QDucxKyzBTsyOnH89g5iPYOhOC6AQfMVv1EFiw2G 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.212.49 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 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