From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DA06A23D for ; Fri, 5 Oct 2018 14:16:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2018 05:16:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,344,1534834800"; d="scan'208";a="94890245" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.252.17.112]) ([10.252.17.112]) by fmsmga004.fm.intel.com with ESMTP; 05 Oct 2018 05:16:51 -0700 To: Alejandro Lucero , dev@dpdk.org References: <1538741212-7922-1-git-send-email-alejandro.lucero@netronome.com> <1538741212-7922-4-git-send-email-alejandro.lucero@netronome.com> From: "Burakov, Anatoly" Message-ID: <162614ea-0f93-b1fd-cef4-cda55cd78553@intel.com> Date: Fri, 5 Oct 2018 13:16:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1538741212-7922-4-git-send-email-alejandro.lucero@netronome.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 3/6] bus/pci: check iommu addressing limitation just once 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: , X-List-Received-Date: Fri, 05 Oct 2018 12:16:53 -0000 On 05-Oct-18 1:06 PM, Alejandro Lucero wrote: > Current code checks if IOMMU hardware reports enough addressing > bits for using IOVA mode but it repeats the same check for any > PCI device present. This is not necessary because the IOMMU hardware > is the same for all of them. > > This patch only checks the IOMMU using first PCI device found. > > Signed-off-by: Alejandro Lucero > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly