From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v2 3/6] bus/pci: check iommu addressing limitation just once Date: Fri, 5 Oct 2018 13:16:50 +0100 Message-ID: <162614ea-0f93-b1fd-cef4-cda55cd78553@intel.com> References: <1538741212-7922-1-git-send-email-alejandro.lucero@netronome.com> <1538741212-7922-4-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Alejandro Lucero , dev@dpdk.org 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) In-Reply-To: <1538741212-7922-4-git-send-email-alejandro.lucero@netronome.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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