From patchwork Sun Nov 23 18:35:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 41387 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E6E672036A for ; Sun, 23 Nov 2014 18:37:30 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id n15sf424854lbi.4 for ; Sun, 23 Nov 2014 10:37:29 -0800 (PST) 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=KVlD1LZ6UUmgpSm8daWwxcmerSkJ3VUUrRPdvI0aItM=; b=TEVYPHMLpJO8/7ezVNEZVneShgwtYNyuIlhEpHgrlDzR3nWnQ8e7z2ucDg51xC1j7O OcmJa9cdzKTKTh7Fxz0cari2GF96dZP9dtEE47s3UoyIpXLf7+BRluLbSQZW8TRQhw3B EMOKtk1Clbj9m3hLQFDZ4WPIydKpA4Ao9rz79QrTxGw3lvzDyqr1nnMk+ZHYgqp8o9li lSFq8WQikbuGeUCE3vaT/tp4ajdGfOZO1VJTNfCjHnT+IC+iqynQpeQKuBe97SExaEFq 2Q5ieC01g6pqlMqYLuiG5ZQh4cMIPxy+tfl1I+91tjC+UOsg9a2jtdWoAZe8TfRfTjUX 9j4g== X-Gm-Message-State: ALoCoQnrAbudX+4u0klTyVEUbRXnFeI/txiRKwSyWiWl1h7pStETT3mmfTen++XrWEhJWPq2bjTu X-Received: by 10.181.13.147 with SMTP id ey19mr2959321wid.2.1416767849870; Sun, 23 Nov 2014 10:37:29 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.10.39 with SMTP id f7ls337317lab.75.gmail; Sun, 23 Nov 2014 10:37:29 -0800 (PST) X-Received: by 10.152.36.4 with SMTP id m4mr13114522laj.95.1416767849714; Sun, 23 Nov 2014 10:37:29 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id l8si3838720lag.90.2014.11.23.10.37.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Nov 2014 10:37:29 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id u10so3410624lbd.6 for ; Sun, 23 Nov 2014 10:37:29 -0800 (PST) X-Received: by 10.112.14.69 with SMTP id n5mr16538858lbc.34.1416767849595; Sun, 23 Nov 2014 10:37:29 -0800 (PST) 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.184.201 with SMTP id ew9csp156292lbc; Sun, 23 Nov 2014 10:37:29 -0800 (PST) X-Received: by 10.181.8.98 with SMTP id dj2mr2315026wid.81.1416767848979; Sun, 23 Nov 2014 10:37:28 -0800 (PST) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com. [74.125.82.54]) by mx.google.com with ESMTPS id dk6si8691450wib.44.2014.11.23.10.37.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Nov 2014 10:37:28 -0800 (PST) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 74.125.82.54 as permitted sender) client-ip=74.125.82.54; Received: by mail-wg0-f54.google.com with SMTP id l2so29713wgh.27 for ; Sun, 23 Nov 2014 10:37:28 -0800 (PST) X-Received: by 10.194.58.205 with SMTP id t13mr25997569wjq.55.1416767848777; Sun, 23 Nov 2014 10:37:28 -0800 (PST) Received: from gnx2579.gnb.st.com (weg38-3-78-232-41-119.fbx.proxad.net. [78.232.41.119]) by mx.google.com with ESMTPSA id hk9sm17535471wjb.46.2014.11.23.10.37.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Nov 2014 10:37:28 -0800 (PST) From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, christoffer.dall@linaro.org, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, alex.williamson@redhat.com, joel.schopp@amd.com, kim.phillips@freescale.com, paulus@samba.org, gleb@kernel.org, pbonzini@redhat.com, agraf@suse.de Cc: linux-kernel@vger.kernel.org, patches@linaro.org, will.deacon@arm.com, a.motakis@virtualopensystems.com, a.rigo@virtualopensystems.com, john.liuli@huawei.com, ming.lei@canonical.com, feng.wu@intel.com, Kim Phillips Subject: [PATCH v3 1/8] KVM: arm: Enable the KVM-VFIO device Date: Sun, 23 Nov 2014 19:35:53 +0100 Message-Id: <1416767760-14487-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416767760-14487-1-git-send-email-eric.auger@linaro.org> References: <1416767760-14487-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.175 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: Kim Phillips Used by KVM-enabled VFIO-based device passthrough support in QEMU. Signed-off-by: Kim Phillips --- arch/arm/kvm/Kconfig | 1 + arch/arm/kvm/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index e519a40..aace254 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -24,6 +24,7 @@ config KVM select KVM_MMIO select KVM_ARM_HOST depends on ARM_VIRT_EXT && ARM_LPAE + select KVM_VFIO select HAVE_KVM_EVENTFD ---help--- Support hosting virtualized guest machines. You will also diff --git a/arch/arm/kvm/Makefile b/arch/arm/kvm/Makefile index 859db09..ea1fa76 100644 --- a/arch/arm/kvm/Makefile +++ b/arch/arm/kvm/Makefile @@ -15,7 +15,7 @@ AFLAGS_init.o := -Wa,-march=armv7-a$(plus_virt) AFLAGS_interrupts.o := -Wa,-march=armv7-a$(plus_virt) KVM := ../../../virt/kvm -kvm-arm-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o +kvm-arm-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o obj-y += kvm-arm.o init.o interrupts.o obj-y += arm.o handle_exit.o guest.o mmu.o emulate.o reset.o