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: Auger Eric X-Patchwork-Id: 50735 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C9832229FC for ; Mon, 6 Jul 2015 12:12:02 +0000 (UTC) Received: by wicne17 with SMTP id ne17sf2547883wic.0 for ; Mon, 06 Jul 2015 05:12:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=IEp2MM6xkYtxX18Amlyp8eXyTyXQPZqDumuEZ2nNRsE=; b=f7I1TYVVJq7WxFLKv31czj4SaNlaBxsK6larvfvpvckbQrnNx70S6OHQP/Kb2j/52L fLGWmVsxrWtYpU/S65xSU5rP5dcsijyEUja79SggQWfS2IcD8Dt4mdFHY87Pxdt2ITvY 0KVFvc1SyErq6bogsJwBmqhr/cmzDb37DM+83H95UEtvVvqFc2nCnZGXMTb3s5aiOSKl 8St3tXBLwCPJKGgDii7eRoYuvLaI6vHQ1ao+0HAu10nM0boPZ2AOEW9xUeuubeEwqFPx WUQG7k+ppkSY57KucWhsEbg/ZGlAK4MFvaQze8M0VLyCi8ORMdRMf9kzjszjzenrsZK2 EhvA== X-Gm-Message-State: ALoCoQl1LCzYEKsHL6+VqzywP59QyPgIG4e1l3CzGHx6yeoageuzmILMVAq3nHSNZ8tPxOhCMASu X-Received: by 10.180.81.170 with SMTP id b10mr15216786wiy.4.1436184722046; Mon, 06 Jul 2015 05:12:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.111 with SMTP id q15ls583255laa.28.gmail; Mon, 06 Jul 2015 05:12:01 -0700 (PDT) X-Received: by 10.112.29.110 with SMTP id j14mr48445259lbh.5.1436184721572; Mon, 06 Jul 2015 05:12:01 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id c5si15093208lag.135.2015.07.06.05.12.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 05:12:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by laar3 with SMTP id r3so152380921laa.0 for ; Mon, 06 Jul 2015 05:12:01 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr47649682lac.41.1436184721327; Mon, 06 Jul 2015 05:12:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1684222lbb; Mon, 6 Jul 2015 05:12:00 -0700 (PDT) X-Received: by 10.180.8.68 with SMTP id p4mr30712908wia.27.1436184719711; Mon, 06 Jul 2015 05:11:59 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com. [74.125.82.50]) by mx.google.com with ESMTPS id ev15si29928723wjd.117.2015.07.06.05.11.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 05:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Received: by wguu7 with SMTP id u7so138625130wgu.3 for ; Mon, 06 Jul 2015 05:11:59 -0700 (PDT) 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 Cc: linux-kernel@vger.kernel.org, patches@linaro.org 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: eric.auger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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.