From patchwork Thu Nov 19 14:53:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Auger X-Patchwork-Id: 7658061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 35E979F2EC for ; Thu, 19 Nov 2015 14:59:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5810920699 for ; Thu, 19 Nov 2015 14:59:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 927A42063C for ; Thu, 19 Nov 2015 14:59:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZzQei-0005lJ-5W; Thu, 19 Nov 2015 14:57:48 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZzQba-00011d-EQ for linux-arm-kernel@lists.infradead.org; Thu, 19 Nov 2015 14:54:35 +0000 Received: by wmec201 with SMTP id c201so121297777wme.1 for ; Thu, 19 Nov 2015 06:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B9F78g9NqtYjE2OFS5E7RNRuUaEUnAgpGeYVRArZpgM=; b=jJRuScU5ayG/hsOOBivaOvQgXovWk4MoZuUsrggDKVi+1BbpBfu3r1sGbtwCsWmCmT XidOuV2kl+IbNzREd+tLa4RqquxcGTEh736k5Xpjp5Tmjf0Ehs53mS9+92FlQ8bW3RSF KTmdB5iKhO5ODlbI3csBJJL90xFWOTy2HjQ3CK6dqJrp79HqXstiJI6fLtUbn4XWPAGT yAVfbUUfuRt0zBTBR8B+pAKVcJkWnSByWp28/DFCV3vSSRALFOSz3bxwJDODmh2iys/N R85c92v736+3abVgkBOI0J61Vgdu63balL7eFEx6cQV27+qkbbPLB5Qh8uLlPX3NY2u5 /Bsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B9F78g9NqtYjE2OFS5E7RNRuUaEUnAgpGeYVRArZpgM=; b=A42YyLo7ixtmxnQTsQ+nY2FGeLB1eQ73JSMHOnxZrb+G5e8pCOALkbc05NSSnyYAC+ ycUJgni/Nqby+uoPl5ROUG4lddsW1dktltW3HR3391fyrNbn6+XE1i9qnEiUej8dt82G /PR/o0iMPd1N+8ZxTLRcV0Kpb5u/bpL0+/ixCf/ooEHMZIhAvM7vqKFUZao2qG3yEPA7 SoaZitkB0BJ9Y+JRERSeZcqCaA8CajJQYWBZJa/9ALu4m//qgpb6Iwi91a51l1v0biYY yzxksPztKiJ5YIIYtnzecSiHyiwCi/uHLsz8AMMVaB0sKAvMWYH9QH2worLwzNVrBFPo PNfA== X-Gm-Message-State: ALoCoQm6xUfzqyOwH7ca2wQztPJb9EZAADnllT62tmJgJ7zPM152M7kCULb9E8shlPJYtLhkEWV+ X-Received: by 10.28.9.138 with SMTP id 132mr11046844wmj.19.1447944851739; Thu, 19 Nov 2015 06:54:11 -0800 (PST) Received: from new-host-3.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id h67sm34493865wmf.17.2015.11.19.06.54.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Nov 2015 06:54:10 -0800 (PST) From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, alex.williamson@redhat.com, b.reynal@virtualopensystems.com, christoffer.dall@linaro.org, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Subject: [PATCH v4 01/13] KVM: arm/arm64: select IRQ_BYPASS_MANAGER Date: Thu, 19 Nov 2015 14:53:51 +0000 Message-Id: <1447944843-17731-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447944843-17731-1-git-send-email-eric.auger@linaro.org> References: <1447944843-17731-1-git-send-email-eric.auger@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151119_065434_660782_AD695D5B X-CRM114-Status: GOOD ( 10.04 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andre.przywara@arm.com, linux-kernel@vger.kernel.org, patches@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Select IRQ_BYPASS_MANAGER when CONFIG_KVM is set Signed-off-by: Eric Auger --- arch/arm/kvm/Kconfig | 2 ++ arch/arm64/kvm/Kconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 95a0005..73d7201 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -3,6 +3,7 @@ # source "virt/kvm/Kconfig" +source "virt/lib/Kconfig" menuconfig VIRTUALIZATION bool "Virtualization" @@ -32,6 +33,7 @@ config KVM select KVM_VFIO select HAVE_KVM_EVENTFD select HAVE_KVM_IRQFD + select IRQ_BYPASS_MANAGER depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER ---help--- Support hosting virtualized guest machines. diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index a5272c0..64f460d 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -3,6 +3,7 @@ # source "virt/kvm/Kconfig" +source "virt/lib/Kconfig" menuconfig VIRTUALIZATION bool "Virtualization" @@ -36,6 +37,7 @@ config KVM select HAVE_KVM_EVENTFD select HAVE_KVM_IRQFD select KVM_ARM_VGIC_V3 + select IRQ_BYPASS_MANAGER ---help--- Support hosting virtualized guest machines. We don't support KVM with 16K page tables yet, due to the multiple