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 548C2A00E6 for ; Mon, 5 Aug 2019 12:09:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C391B1BE09; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C49551BE08 for ; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0201821E95; Mon, 5 Aug 2019 06:09:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 05 Aug 2019 06:09:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Q2xYZZz/cBYMxhcwJ37PTDcMMxHggD+fD/9VSDsvQSE=; b=s14DhkdLDVKg EZOIZ4Kv6I8mlEr8VuxvCYKYYb7I0N69NTO3KLGDAWsTeH+ZdcLgEOxBg0i9n5Kn +kkk8E3OSQFG1Fo19/dRhPgrsbn67ZVCpx1zo7uMJ7oVkNPrXGBBAP5xHYVt34he mVidKyO66XoTokYQufJkMT+7oUr4ZZk= 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=Q2xYZZz/cBYMxhcwJ37PTDcMMxHggD+fD/9VSDsvQ SE=; b=masGRQC9RTC/ASqcjsFXzzVfn21X4CP9ymkPrPrkhw3l07S8h36slCPsQ 988tzY2CmJp5cYvaDscMk9U29cRZftSS5sX4f+Ovh8J9hYWJWjAkH+b2/jfZoZiK xqXVPgZuQUW8dteDqwLXbj++zOTUVwuqShoxCbzh03P3QPzBM1xdDKCuTzI/5J4C /iN50iA65Hak2wrWYZ9PwFolIKKlpibIbkIDdiW21mgLGXLemqaQB/KO/cz59PnF mzHxSJ5tmxLHUeFBuQPak1Vvw3YTIaU6DhwQugdcPV6B8ir7M0I/+5stQ3/4a3Hs Kh4yfvebTR2uO7/tqHUUmb9x9sjRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddtjedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C7698380089; Mon, 5 Aug 2019 06:09:33 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, anatoly.burakov@intel.com, tyos@jp.ibm.com, drc@linux.vnet.ibm.com, jerinj@marvell.com Date: Mon, 05 Aug 2019 12:09:31 +0200 Message-ID: <10043094.0uuPW0iTYO@xps> In-Reply-To: <1564986207-20533-1-git-send-email-david.marchand@redhat.com> References: <1564740872-27225-1-git-send-email-david.marchand@redhat.com> <1564986207-20533-1-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] bus/pci: always check IOMMU capabilities 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" 05/08/2019 08:23, David Marchand: > IOMMU capabilities won't change and must be checked even if no PCI device > seem to be supported yet when EAL initialised. > > This is to accommodate with SPDK that registers its drivers after > rte_eal_init(), especially on PPC platform where the IOMMU does not > support VA. > > Fixes: 703458e19c16 ("bus/pci: consider only usable devices for IOVA mode") > > Signed-off-by: David Marchand > Reviewed-by: David Christensen > Acked-by: Jerin Jacob > Tested-by: Jerin Jacob > Tested-by: Takeshi Yoshimura Applied, thanks