From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 3F1098D39 for ; Wed, 9 Dec 2015 22:13:50 +0100 (CET) Received: by wmec201 with SMTP id c201so91871186wme.1 for ; Wed, 09 Dec 2015 13:13:50 -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=2nPPFa49wtRJ7IopDZlVz5vqJfq0TLFoTX06rB3j6Uk=; b=yU8ezJ0LVBe7pYvGcZKhiANtSvndJZCGWySM7jJHpo1n3PIccM1FwEwZKpRmybHrVE SN4gO+Xi69PggCBJDwNWdDTXkJXhDZdWc6G4mU+7B0PZ5crcK3+TUHwawwuNA/6g7gJ+ RQVP1ILelTLwZddhV91KMIjCtC/sz6sTlAzo1WQtp2elEHSeSby0Do2T0JS9npJJQcdZ gG/56uTQUGabQeU3i8XrufNO+WOvzdXwxnZMd8IKeq0LbKwKRaZtrVS4tXd4nwfg9u1k yeywMb3Q9cwpiHjbSyxhsHRqek6eVijc3KLq+r4uZKhLmtfFWxPnA+hO4WkzmBBLLBvd yBnw== 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=2nPPFa49wtRJ7IopDZlVz5vqJfq0TLFoTX06rB3j6Uk=; b=TzIAjkT5tGcS+ObV0wcO3XOH7y1czvGd0OaP1BZx1ciIkcwyZcyWpp1GuE87/r4yXP vbVPmx8NYwLqpDJ3QvGLMov6xSalkjgWyxNXbU6ereUJo1cEYfvTDcPzRDTlm7gMh1RX kYZDwvM+rVru1KrnwndMSpecYCtF1LsqgjPakoquEkhR1+bhVTHpnz6hdX9ydSe7zu2D t6RNlirn+K66y25lC0BlV2cNtPgybVC9SB4MKB7bgpx0jl3e7j3oK7ZLGDWH1nF7l2Cv 6iuW6Nj2GkIWjKPZoHOQxCwK6/3EBWA71KiKvKUjk/Zfcc3o7VxV6TfJvBdikSXSGPId ZK4A== X-Gm-Message-State: ALoCoQn9x867URWA0PN9J73+jlYyigTq5oomKSr00M5bdLDZYaRzi+xX5SP3RhJysriGvphmU46pxRlzr5qhYrywjfJ6TYJHUw== X-Received: by 10.194.62.14 with SMTP id u14mr8572719wjr.24.1449695630104; Wed, 09 Dec 2015 13:13:50 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id z13sm9349728wjr.47.2015.12.09.13.13.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Dec 2015 13:13:49 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 09 Dec 2015 22:12:33 +0100 Message-ID: <2562631.e9AmeysRzG@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449683756-13381-1-git-send-email-stephen@networkplumber.org> References: <1449683756-13381-1-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Avi Kivity , Alex Williamson Subject: Re: [dpdk-dev] [PATCH] vfio: support iommu group zero 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: Wed, 09 Dec 2015 21:13:50 -0000 2015-12-09 09:55, Stephen Hemminger: > 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 > --- > Why was this ignored? It was originally sent on 26 Oct 15 back > when IOMMU discussion was lively. There was no review of this patch. The patch has been marked as deferred recently when it was too late to do such feature changes in DPDK code: http://dpdk.org/dev/patchwork/patch/8035/ So I guess you have tested the VFIO no-iommu patch. Is it working well with DPDK with only this patch for group zero? Have you talked to Alex Williamson? He was requesting some feedbacks: http://dpdk.org/ml/archives/dev/2015-December/029291.html Thanks