From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E07DBC0650F for ; Mon, 5 Aug 2019 10:09:37 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 6F0422086D for ; Mon, 5 Aug 2019 10:09:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="s14DhkdL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="masGRQC9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F0422086D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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