From patchwork Mon Aug 3 17:20:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 51874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id AE9BD229FD for ; Mon, 3 Aug 2015 17:21:40 +0000 (UTC) Received: by labjm1 with SMTP id jm1sf14540035lab.0 for ; Mon, 03 Aug 2015 10:21:39 -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=i59URVXcbMiB11Qf3mdGoT35bJlYNZjEth1hcHUhWbE=; b=R2zpZwsyf6w+s7ti9AVv4pMFLd2R7+v4LJBLGsEZVfTgkc1i/TZGa99OIBKJ6WVxev bTIT21w+qssCgM7iHK5eJBjSF8eiXdcxkDMaQe3kVC5QcRdDGm9JGZ4baVee5pJw3GOW +Rqlns/iG51SP8YuMB6/SlMXzNb928wfQFjSP0OrrpRyikX8u6ugSjidDSwtnnj+9mjl DHdOky+075EGjMaoAQJTGFBJ0ra044IV4JuxcPfduXG786KkQ9vz0dwhCUaQyEIjSlWX UhH93MjxQ0QZK34MCJI3fXhOUesOVyE1iSdF1T553FHlf3sFTvUCQGiCkdak6Mv8/2mB CH9A== X-Gm-Message-State: ALoCoQnYN35nbLElbVkTPgPIZJMnUFis3yGfEbmYSaSeNqWiGl0Ec2CR6ykmQF083yxKJiBz4m3V X-Received: by 10.194.80.69 with SMTP id p5mr4083613wjx.2.1438622499422; Mon, 03 Aug 2015 10:21:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.165 with SMTP id p5ls523134lal.68.gmail; Mon, 03 Aug 2015 10:21:39 -0700 (PDT) X-Received: by 10.112.201.36 with SMTP id jx4mr1800460lbc.9.1438622499261; Mon, 03 Aug 2015 10:21:39 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id ld1si12560620lab.51.2015.08.03.10.21.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 10:21:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbpo9 with SMTP id po9so7733823lbb.2 for ; Mon, 03 Aug 2015 10:21:39 -0700 (PDT) X-Received: by 10.152.22.99 with SMTP id c3mr18535978laf.32.1438622499085; Mon, 03 Aug 2015 10:21:39 -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.7.198 with SMTP id l6csp1982213lba; Mon, 3 Aug 2015 10:21:38 -0700 (PDT) X-Received: by 10.180.207.242 with SMTP id lz18mr33318488wic.66.1438622496136; Mon, 03 Aug 2015 10:21:36 -0700 (PDT) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com. [209.85.212.175]) by mx.google.com with ESMTPS id ed4si15310448wic.66.2015.08.03.10.21.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 10:21:36 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 209.85.212.175 as permitted sender) client-ip=209.85.212.175; Received: by wicgj17 with SMTP id gj17so115085281wic.1 for ; Mon, 03 Aug 2015 10:21:35 -0700 (PDT) X-Received: by 10.180.77.115 with SMTP id r19mr36889430wiw.9.1438622495713; Mon, 03 Aug 2015 10:21:35 -0700 (PDT) Received: from gnx2579.home (LCaen-156-56-7-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id uo6sm23887512wjc.1.2015.08.03.10.21.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 10:21:34 -0700 (PDT) From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, alex.williamson@redhat.com, feng.wu@intel.com, pbonzini@redhat.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: avi.kivity@gmail.com, mtosatti@redhat.com, joro@8bytes.org, marc.zyngier@arm.com, christoffer.dall@linaro.org, linux-kernel@vger.kernel.org, patches@linaro.org Subject: [PATCH v4 1/5] KVM: x86: select IRQ_BYPASS_MANAGER Date: Mon, 3 Aug 2015 19:20:40 +0200 Message-Id: <1438622444-25444-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438622444-25444-1-git-send-email-eric.auger@linaro.org> References: <1438622444-25444-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.217.170 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: , From: Feng Wu Select IRQ_BYPASS_MANAGER for x86 when CONFIG_KVM is set Signed-off-by: Feng Wu --- arch/x86/kvm/Kconfig | 2 ++ arch/x86/kvm/Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index d8a1d56..c951d44 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -3,6 +3,7 @@ # source "virt/kvm/Kconfig" +source "virt/lib/Kconfig" menuconfig VIRTUALIZATION bool "Virtualization" @@ -28,6 +29,7 @@ config KVM select ANON_INODES select HAVE_KVM_IRQCHIP select HAVE_KVM_IRQFD + select IRQ_BYPASS_MANAGER select HAVE_KVM_IRQ_ROUTING select HAVE_KVM_EVENTFD select KVM_APIC_ARCHITECTURE diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile index 67d215c..05cc2d7 100644 --- a/arch/x86/kvm/Makefile +++ b/arch/x86/kvm/Makefile @@ -6,6 +6,9 @@ CFLAGS_svm.o := -I. CFLAGS_vmx.o := -I. KVM := ../../../virt/kvm +LIB := ../../../virt/lib + +obj-$(CONFIG_IRQ_BYPASS_MANAGER) += $(LIB)/ kvm-y += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \ $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o