Re: [PATCH v17 0/4] Replace PCI pool by DMA pool API

From: Bjorn Helgaas
Date: Wed Jan 03 2018 - 16:34:44 EST


On Tue, Jan 02, 2018 at 04:17:24PM -0600, Bjorn Helgaas wrote:
> On Tue, Jan 02, 2018 at 06:53:52PM +0100, Romain Perier wrote:
> > The current PCI pool API are simple macro functions direct expanded to
> > the appropriate dma pool functions. The prototypes are almost the same
> > and semantically, they are very similar. I propose to use the DMA pool
> > API directly and get rid of the old API.
> >
> > This set of patches, replaces the old API by the dma pool API
> > and remove the defines.
> > ...
>
> > Romain Perier (4):
> > block: DAC960: Replace PCI pool old API
> > net: e100: Replace PCI pool old API
> > hinic: Replace PCI pool old API
> > PCI: Remove PCI pool macro functions
> >
> > drivers/block/DAC960.c | 38 +++++++++++------------
> > drivers/block/DAC960.h | 4 +--
> > drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +++---
> > drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 2 +-
> > drivers/net/ethernet/intel/e100.c | 12 +++----
> > include/linux/pci.h | 9 ------
> > 6 files changed, 32 insertions(+), 43 deletions(-)
>
> Applied to pci/misc for v4.16, thanks!

Oops, my mistake. I can't remove the macros themselves yet because
some of the uses were removed by patches that were applied via other
trees, and those patches are not in my tree.

To avoid ordering dependencies during the merge window, I dropped the
"PCI: Remove PCI pool macro functions" patch. Please repost that
after all the removals have made it into Linus' tree.

Bjorn