From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: IXGBE, IOMMU DMAR DRHD handling fault issue Date: Thu, 1 Feb 2018 10:10:14 +0000 Message-ID: <3464b900-8648-c128-e959-dc60a8883a2d@intel.com> References: <8ddb30a3-1253-ff60-20bb-b735fef5a91c@intel.com> <10911b54-57ee-370b-a4f7-f34accf4811e@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Ravi Kerur Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 765F7271 for ; Thu, 1 Feb 2018 11:10:16 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 31-Jan-18 9:51 PM, Ravi Kerur wrote: > > Hi Anatoly, > > Thanks. I am following wiki link below which uses vIOMMU with DPDK as a > use-case and instantiate VM as specified with Q35 chipset in Qemu. > > https://wiki.qemu.org/Features/VT-d > > Qemu-version is 2.11 > Host kernel 4.9 > Guest kernel 4.4 > > I can only guess that guest kernel needs an upgrade in my setup to work > correctly, if versions on my setup rings a bell on not having support > kindly let me know. > > When 'modprobe vfio enable_unsafe_noiommu_node=Y' is executed on guest I > get following error > ... > vfio: unknown parameter 'enable_unsafe_noiommu_node' ignored > ... > > in guest. > > Thanks. AFAIK kernel 4.4 should have noiommu mode - it was introduced in 3.1x days. However, in order for that to work, kernel also has to be built with this mode enabled. My guess is, whoever is the supplier of your kernel, did not do that. You should double-check the kernel configuration of your distribution. However, if you have vIOMMU in QEMU, you shouldn't need noiommu mode - "regular" vfio should work fine. noiommu mode should only be needed if you know you don't have IOMMU enabled in your kernel, and even if you can't enable it, you can still use igb_uio. -- Thanks, Anatoly