From patchwork Mon Aug 10 13:31:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 52251 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id 5DE3522919 for ; Mon, 10 Aug 2015 13:31:58 +0000 (UTC) Received: by lbsm2 with SMTP id m2sf25799986lbs.1 for ; Mon, 10 Aug 2015 06:31:57 -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=K8PIgdgq70KUknk1gTLbS846Wl40Y2GJjfPGZavswhduHb4ZvNzPxKw3MgFzEN8Ua8 h2nUcEPhkIATbYX1svdJk8X4pKRe2HmdT0l8q/4NkUnxXI/vBNedEXfog3GmRDJHStQ5 4e7891Oh/bj5hy1ygZkPrLoDbs2iGymUmeBrach+GZpwnFTceBNZycTsp5mCJ53Ox1UD f5Dc219/oys+VGcvsQA28Ndfg5oWHTH1ecHpqnIHXyTbRTS+SdvMSMFkUywgxwHMdcJA 9mNyMga/ZdC+Bt4pijREbsivCjyXdkl/Uv2y/Opx93aM2/a++m3PXA2EoQZXLrhTAKDp Xi/Q== X-Gm-Message-State: ALoCoQm+EVDWyrp0+hjd8nhYYqn+3G7FPxOk3TAG0bn+hoJN1TIVUdkpMMw7hZXRSFIIGN1NRaw7 X-Received: by 10.152.9.99 with SMTP id y3mr6360760laa.10.1439213517343; Mon, 10 Aug 2015 06:31:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.228 with SMTP id bb4ls655902lab.88.gmail; Mon, 10 Aug 2015 06:31:57 -0700 (PDT) X-Received: by 10.112.202.234 with SMTP id kl10mr20118915lbc.51.1439213517204; Mon, 10 Aug 2015 06:31:57 -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 y12si5136811lbk.130.2015.08.10.06.31.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 06:31:57 -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 lalv9 with SMTP id v9so10905959lal.0 for ; Mon, 10 Aug 2015 06:31:57 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr20005099lag.86.1439213517110; Mon, 10 Aug 2015 06:31:57 -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 l6csp1936930lba; Mon, 10 Aug 2015 06:31:56 -0700 (PDT) X-Received: by 10.194.58.236 with SMTP id u12mr38059071wjq.36.1439213515949; Mon, 10 Aug 2015 06:31:55 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com. [209.85.212.178]) by mx.google.com with ESMTPS id dt10si16152724wib.15.2015.08.10.06.31.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 06:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 209.85.212.178 as permitted sender) client-ip=209.85.212.178; Received: by wicja10 with SMTP id ja10so25862029wic.1 for ; Mon, 10 Aug 2015 06:31:55 -0700 (PDT) X-Received: by 10.194.92.109 with SMTP id cl13mr43707644wjb.156.1439213515608; Mon, 10 Aug 2015 06:31:55 -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 s16sm13826483wib.16.2015.08.10.06.31.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 06:31:54 -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, alex.williamson@redhat.com, pbonzini@redhat.com, feng.wu@intel.com Cc: linux-kernel@vger.kernel.org, patches@linaro.org, christoffer.dall@linaro.org, marc.zyngier@arm.com Subject: [PATCH v5 1/5] KVM: x86: select IRQ_BYPASS_MANAGER Date: Mon, 10 Aug 2015 15:31:03 +0200 Message-Id: <1439213467-13668-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439213467-13668-1-git-send-email-eric.auger@linaro.org> References: <1439213467-13668-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: , 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