From patchwork Mon Jul 6 12:11:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Auger X-Patchwork-Id: 6722601 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 563909F380 for ; Mon, 6 Jul 2015 12:14:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F4CB20609 for ; Mon, 6 Jul 2015 12:14:22 +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 B589320426 for ; Mon, 6 Jul 2015 12:14:21 +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 1ZC5GE-0000tu-Vz; Mon, 06 Jul 2015 12:12:35 +0000 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZC5G0-0000fz-UH for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 12:12:21 +0000 Received: by wiga1 with SMTP id a1so226947303wig.0 for ; Mon, 06 Jul 2015 05:11:59 -0700 (PDT) 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=IEp2MM6xkYtxX18Amlyp8eXyTyXQPZqDumuEZ2nNRsE=; b=fFoIn+UbEOoXwjQlx4+6ZUCxKMiWV1+VtSYLvNdOcjH8X99/6DxPHFgjKuL+kXHG3W qHBNPm1fabqaOcIaOXiHXU3okkPI+tYnlqhHIv6qZJSbpw1fRulO5r7yvl2SnkaJw317 jNe321sfm8tZid6YwM6BCUl3/rf9mKAlV2I7c1OxQl00SqtBtA46lHg6ZSjsPu05XGXQ yK76Q8uw3BAqaYyV93TLdwyiqXGFOQtkC7RjffNi8qcsnE2U+pMZ4eBjHNermiiavURP pXGmy+lX1Eb90klgvvI+15BVgenj+c9xAQyTHs+zOkjjcMB5NBNicS2ANz8Ym2SQAfN+ SLGQ== X-Gm-Message-State: ALoCoQlZQTlGPJsXnFuYxusoEAStS3ZCfVOhFJTu9VKlJSK0aDbdSQacpvLjSvdmyEqtnP//CtA+ X-Received: by 10.194.236.199 with SMTP id uw7mr98768978wjc.92.1436184719332; Mon, 06 Jul 2015 05:11:59 -0700 (PDT) Received: from gnx2579.home (LCaen-156-56-7-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by mx.google.com with ESMTPSA id v3sm27806709wja.31.2015.07.06.05.11.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 05:11:58 -0700 (PDT) From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, christoffer.dall@linaro.org, marc.zyngier@arm.com, alex.williamson@redhat.com, pbonzini@redhat.com, avi.kivity@gmail.com, mtosatti@redhat.com, feng.wu@intel.com, joro@8bytes.org, b.reynal@virtualopensystems.com Subject: [RFC v2 1/6] KVM: arm/arm64: select IRQ_BYPASS_MANAGER Date: Mon, 6 Jul 2015 14:11:27 +0200 Message-Id: <1436184692-20927-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436184692-20927-1-git-send-email-eric.auger@linaro.org> References: <1436184692-20927-1-git-send-email-eric.auger@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150706_051221_125467_A0CD2332 X-CRM114-Status: GOOD ( 11.21 ) 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: 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 --- v1 -> v2: - also set IRQ_BYPASS_MANAGER for arm64 --- arch/arm/kvm/Kconfig | 1 + arch/arm64/kvm/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index bfb915d..7d38d25 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -31,6 +31,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 bfffe8f..d1922b4 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -31,6 +31,7 @@ config KVM select KVM_VFIO select HAVE_KVM_EVENTFD select HAVE_KVM_IRQFD + select HAVE_KVM_IRQFD ---help--- Support hosting virtualized guest machines.