From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 57E1CC4C0 for ; Thu, 28 Jan 2016 17:57:10 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id p63so33742635wmp.1 for ; Thu, 28 Jan 2016 08:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=BGK/e9cY3FzD2LKOkMR2NM4qYLUQfc0L2LVvrc72BXY=; b=Nkir9/0OiojfoCR3rMJRakGU3Lqcp+b9CC+vZ4i9LphUTdsqH0J+v9Hu+AqUzJKOtf 1bEKwRyGOUx8L6Y8YlIafaTVfbG8sL7B/PJZ6oDZjtXpRkYK/K/f/hkrL1V3zjezjMzX vGGcEx+WgH09PdPuSg+ENoYEuj5/5O0ekR8GGIxF2XQfh15cCQJz268+bqK2DrIExS08 ZirFpq1ZJ9tokXCVSofDiK3HWu8aHD3uJFR8o4pu7NO9Yba1wNXTEowO4rb1mXCjiKQm ptBTWtp5gLl9bRxuQZ0NQv1UVsdxfWNhRkm7IFgh7mHeHIGBeMBHIRfwWJeuJayoNdyM mxQw== 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=BGK/e9cY3FzD2LKOkMR2NM4qYLUQfc0L2LVvrc72BXY=; b=JwX8YozZow7otWccDZdgnHznQbZPm/OyBo7H2Yh0q5HSLQb87l1VV0oA2+cS6YJf8s GNmJSEB8THS0/tbqR9a0L7/6AByQPFppXUmsT+umqV9iQ9p1JuwHpnSIkE2tBLlmW8xo Y0RAb57vCBxfW8uluP+UrIfu9ChesOEC3Cz53POmuceLnphY+K8Jb4EWeG3FkJS56KzB eKnm7T+ZWbsOZtcVK0XCJpMjscAGBQudrI+lqiuwAt8fD8p/Iwfln53ETl/i6uxn8v2e yasPWJcEcaOUoqkDMusXKeXLNy2O8wx61Cj6hFLqfuV7YQhzDWmGvijdiYb61eyGhxfY o3EQ== X-Gm-Message-State: AG10YORO+R2UQof2VBc64uPHi34D2B5LI0jlqqXinQp4ycoKLQt7TNkWyjTmyCG3nQtKe17x X-Received: by 10.28.131.70 with SMTP id f67mr4437506wmd.66.1454000230216; Thu, 28 Jan 2016 08:57:10 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id 193sm3694237wmg.16.2016.01.28.08.57.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 08:57:09 -0800 (PST) From: Thomas Monjalon To: Anatoly Burakov Date: Thu, 28 Jan 2016 17:55:58 +0100 Message-ID: <6131580.8fz09NyZQk@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1453982274-16717-1-git-send-email-anatoly.burakov@intel.com> References: <1453913438-22991-1-git-send-email-anatoly.burakov@intel.com> <1453982274-16717-1-git-send-email-anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, alex.williamson@redhat.com Subject: Re: [dpdk-dev] [PATCH v6] vfio: Support for no-IOMMU mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 16:57:10 -0000 2016-01-28 11:57, Anatoly Burakov: > This commit is adding a generic mechanism to support multiple IOMMU > types. For now, it's only type 1 (x86 IOMMU) and no-IOMMU (a special > VFIO mode that doesn't use IOMMU at all), but it's easily extended > by adding necessary definitions to eal_vfio.h, and DMA mapping > functions to eal_pci_vfio.c. > > Since type 1 IOMMU module is no longer necessary to have VFIO, > we fix the module check to check for vfio-pci instead. It's not > ideal and triggers VFIO checks more often (and thus produces more > error output, which was the reason behind the module check in the > first place), so we compensate for that by providing more verbose > logging, indicating whether VFIO initialization has succeeded or > failed. > > Signed-off-by: Anatoly Burakov > Signed-off-by: Santosh Shukla > Tested-by: Santosh Shukla Applied, thanks