From patchwork Mon Oct 1 09:14:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1530481 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 CF84B3FCFC for ; Mon, 1 Oct 2012 09:56:50 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIcht-0005TI-BR; Mon, 01 Oct 2012 09:54:33 +0000 Received: from mail-qa0-f49.google.com ([209.85.216.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TIc5V-0006ua-5s for linux-arm-kernel@lists.infradead.org; Mon, 01 Oct 2012 09:14:53 +0000 Received: by qaea17 with SMTP id a17so1309072qae.15 for ; Mon, 01 Oct 2012 02:14:52 -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=SrT7d/jgyJMotn2TJuwPkfrHefidT5SyVnJefdhxokTKtV7IUYDP3b9ocrjdOmbVGb xGNH2nVxPYQ7/MGUxt/7xGHBzMMyQW9vrf+Ab46D5ThYM4ZBDtKBj+p60wbHvI2RRuLa iPAeRkZIWMoxETNLx9tLGhdzOHMD1iGkyE3V84VCpvpTrXtM9Fy57aXOIng8qvoDwLnQ eIOUzIDjI+Rca07h4R62BElsAeopXnRABNwwQHzk8q4JZT1x/JgGMi8NYf971X+RlN49 hviLXgqLV2fY7rWwNaLVHxEN1jEWjJYy7l8tALwUoxFf0OcWoHCMCfX/LE/PxhKm5CFQ R8mA== Received: by 10.224.76.204 with SMTP id d12mr23805075qak.85.1349082892683; Mon, 01 Oct 2012 02:14:52 -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 fy1sm23788041qab.10.2012.10.01.02.14.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 02:14:52 -0700 (PDT) Subject: [PATCH v2 10/10] 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, 01 Oct 2012 05:14:50 -0400 Message-ID: <20121001091450.49503.69627.stgit@ubuntu> In-Reply-To: <20121001091244.49503.96318.stgit@ubuntu> References: <20121001091244.49503.96318.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkQprZmfcBBoaCySFWZd+r3l4bRXloeScgGbbtqDA/QdANJ87mTtOWEnC8CHJ6a8BD/geTu 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.216.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