From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: support iommu group zero Date: Thu, 10 Dec 2015 21:30:35 +0100 Message-ID: <3203697.oS0G5XCV1g@xps13> References: <1449683756-13381-1-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Stephen Hemminger Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id F1E458E66 for ; Thu, 10 Dec 2015 21:31:52 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id n186so2296038wmn.1 for ; Thu, 10 Dec 2015 12:31:52 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > The current implementation of VFIO will not with the new no-IOMMU mode > > in 4.4 kernel. The original code assumed that IOMMU group zero would > > never be used. Group numbers are assigned starting at zero, and up until > > now the group numbers came from the hardware which is likely to use group > > 0 for system devices that are not used with DPDK. > > > > The fix is to allow 0 as a valid group and rearrange code to split the return > > value from the group value. > > > > Signed-off-by: Stephen Hemminger > > Acked-by: Anatoly Burakov Applied, thanks Stephen, please keep us updated about VFIO no-iommu.