Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752862AbdCIHMn (ORCPT ); Thu, 9 Mar 2017 02:12:43 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:35633 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbdCIHMk (ORCPT ); Thu, 9 Mar 2017 02:12:40 -0500 Date: Thu, 9 Mar 2017 08:01:29 +0100 From: Peter Senna Tschudin To: Jeff Kirsher Cc: Romain Perier , Dan Williams , Doug Ledford , Sean Hefty , Hal Rosenstock , "David S. Miller" , stas.yakovlev@gmail.com, "James E.J. Bottomley" , "Martin K. Petersen" , Felipe Balbi , Greg Kroah-Hartman , linux-rdma@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Senna Tschudin Subject: Re: [PATCH v5 04/19] net: e100: Replace PCI pool old API Message-ID: <20170309070129.GA13741@collabora.com> References: <20170308161957.28941-1-romain.perier@collabora.com> <20170308161957.28941-5-romain.perier@collabora.com> <1489012825.3477.51.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1489012825.3477.51.camel@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1565 Lines: 36 On Wed, Mar 08, 2017 at 02:40:25PM -0800, Jeff Kirsher wrote: > On Wed, 2017-03-08 at 17:19 +0100, Romain Perier wrote: > > The PCI pool API is deprecated. This commit replaces the PCI pool old > > API by the appropriate function with the DMA pool API. > > > > Signed-off-by: Romain Perier > > Acked-by: Peter Senna Tschudin > > Tested-by: Peter Senna Tschudin > > --- > > ?drivers/net/ethernet/intel/e100.c | 12 ++++++------ > > ?1 file changed, 6 insertions(+), 6 deletions(-) > > Acked-by: Jeff Kirsher > > My only concern is: > - what hardware did this get tested with? Since this affects all e100 > parts, it would be hard to believe that all the affected hardware was > used in testing. This was tested by compilation only(See https://lkml.org/lkml/2017/2/8/661). However this series removes macro definitions of the old pci_pool interface and replace call sites by what the macra was calling. Here are the macros that this series removes from include/pci.h: #define pci_pool dma_pool #define pci_pool_create(name, pdev, size, align, allocation) \ dma_pool_create(name, &pdev->dev, size, align, allocation) #define pci_pool_destroy(pool) dma_pool_destroy(pool) #define pci_pool_alloc(pool, flags, handle) dma_pool_alloc(pool, flags, handle) #define pci_pool_zalloc(pool, flags, handle) \ dma_pool_zalloc(pool, flags, handle) #define pci_pool_free(pool, vaddr, addr) dma_pool_free(pool, vaddr, add So this should not affect run time.