From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 49094A046B
	for <public@inbox.dpdk.org>; Thu, 25 Jul 2019 20:58:53 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 5353F1C38C;
	Thu, 25 Jul 2019 20:58:52 +0200 (CEST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 8D7B11C37F
 for <dev@dpdk.org>; Thu, 25 Jul 2019 20:58:50 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id CF0CF21FB5;
 Thu, 25 Jul 2019 14:58:48 -0400 (EDT)
Received: from imap4 ([10.202.2.54])
 by compute1.internal (MEProxy); Thu, 25 Jul 2019 14:58:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 mime-version:message-id:in-reply-to:references:date:from:to:cc
 :subject:content-type:content-transfer-encoding; s=mesmtp; bh=0D
 wJuhT+nq07UQ51KryDdFph2IECTRmRCq8kWDABB6k=; b=ZD0XdXihhH8XsHG25k
 a6CF6hlB3VLwTv0r3XRKefaaMaj882evnGu4Pe0zIiRRAO2/rsySSt9Wj7Ohx41R
 ya3EfXbjxWjE1pHgWYECujRrJVSkBLtiQ16z6RCH+wgwQP84yjN0djHJ0UIhCXKd
 E8C9dfJcZI+dO9NOQutnXePT8=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=0DwJuhT+nq07UQ51KryDdFph2IECTRmRCq8kWDABB
 6k=; b=lxgdcNtOLH5STUXts/dw+IYeOEN0CkGfNU1NnIl5SB4uG+g+vTwp+5KhP
 sGSDFVXxP+bI4FG3HkhIzOZi31/eHPzDb1iYLX9owf18Qcb+CQK8SSJb1r9rTfsz
 EARkwkPBzgelFLxCiBnyWH1pK8ua6o/iW7KV4KjvQgmZ99JIlO7O5VuRjE+p/ocE
 /9ibGOqWxd8AmxOJedO+0R5wJAtj4CU05U3Kt4rICNSxCE8Bb2MQtTwgvAEheK6q
 IsfYe8TF0U0LYnOS2kXDtZI7tb6lhALdcfkaAkQ5qPB+sSpQkUhDoaQXVff4xsQd
 c9GBc5hj+XPyZZ5kWyHl29FN591sA==
X-ME-Sender: <xms:6Ps5XdzKBK9G54sTokYXhiZzadffIrvL3urHyQp9c63WQMkrb4zUKQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkedvgddufedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfvfhh
 ohhmrghsucfoohhnjhgrlhhonhdfuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
 eqnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhn
 vghtnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:6Ps5XRikFmyBXUJz3kdFtQEC800pdyFaGe6amC4VNQKGc2Z6MWtflw>
 <xmx:6Ps5Xa5hgnU44l9buU11tULgegoAUguJkWfI2xstqewfxcQCaJtqdw>
 <xmx:6Ps5Xer72XRi7jcy458RHYCR9ASoqZt1uK4irGCmdihSde4loIbzWg>
 <xmx:6Ps5XaGhmmX_Yz8bZQyGI3mltlqrS-y9PPuJRuJR0Bv5Bv5izYzEgQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id 0A4A93C00A1; Thu, 25 Jul 2019 14:58:48 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-736-gdfb8e44-fmstable-20190718v2
Mime-Version: 1.0
Message-Id: <e1a49abb-110c-4151-8e81-eee2119d4970@www.fastmail.com>
In-Reply-To: <CAJFAV8xAvrY3AJX1eueYyxAZAkC4aE4p7UOfC9QrOLOx6HK8HA@mail.gmail.com>
References: <5d8f83fb7dd574d83a044c6a01e2613798f256c3.1563986790.git.anatoly.burakov@intel.com>
 <CAJFAV8xAvrY3AJX1eueYyxAZAkC4aE4p7UOfC9QrOLOx6HK8HA@mail.gmail.com>
Date: Thu, 25 Jul 2019 20:58:47 +0200
From: "Thomas Monjalon" <thomas@monjalon.net>
To: "David Marchand" <david.marchand@redhat.com>,
 "Anatoly Burakov" <anatoly.burakov@intel.com>
Cc: dev <dev@dpdk.org>, "Jerin Jacob Kollanukkaran" <jerinj@marvell.com>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [PATCH] eal: pick IOVA as PA if IOMMU is not
	available
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Jeu 25 juil 2019, =C3=A0 10:05, David Marchand a =C3=A9crit=E2=80=AF:
> On Wed, Jul 24, 2019 at 6:46 PM Anatoly Burakov
> <anatoly.burakov@intel.com> wrote:
> >
> > When IOMMU is not available, /sys/kernel/iommu_groups will not be
> > populated. This is happening since at least 3.6 when VFIO support
> > was added. If the directory is empty, EAL should not pick IOVA as
> > VA as the default IOVA mode.
> >
> > We also assume that VFIO equals IOMMU, so if VFIO support is not
> > compiled, we always assume IOMMU support is not available.
>=20
> Not sure I agree with this statement.
> What about unknown (from eal pov) kernel drivers?

Exactly, this is the case of Mellanox drivers.=20