From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 49094A046B for ; 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 ; 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkedvgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfvfhh ohhmrghsucfoohhnjhgrlhhonhdfuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvth eqnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhn vghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: 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: In-Reply-To: References: <5d8f83fb7dd574d83a044c6a01e2613798f256c3.1563986790.git.anatoly.burakov@intel.com> Date: Thu, 25 Jul 2019 20:58:47 +0200 From: "Thomas Monjalon" To: "David Marchand" , "Anatoly Burakov" Cc: dev , "Jerin Jacob Kollanukkaran" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > 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