Re: [PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-29 Thread Michael Ellerman
Christophe Leroy writes: > Le 27/08/2021 à 21:56, Christophe JAILLET a écrit : >> --- >> It has *not* been compile tested because I don't have the needed >> configuration or cross-compiler. However, the modification is completely >> mechanical and done by coccinelle. > > All you need is at https:/

Re: [PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 27 Aug 2021 21:56:28 +0200 you wrote: > In [1], Christoph Hellwig has proposed to remove the wrappers in > include/linux/pci-dma-compat.h. > > Some reasons why this API should be removed have been given by Julia >

Re: [PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-29 Thread Christophe Leroy
Le 27/08/2021 à 21:56, Christophe JAILLET a écrit : --- It has *not* been compile tested because I don't have the needed configuration or cross-compiler. However, the modification is completely mechanical and done by coccinelle. All you need is at https://mirrors.edge.kernel.org/pub/tools/cr

Re: [PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-28 Thread Geoff Levand
Hi Christophe, On 8/27/21 6:34 PM, Geoff Levand wrote: > On 8/27/21 12:56 PM, Christophe JAILLET wrote: >> It has *not* been compile tested because I don't have the needed >> configuration or cross-compiler. > > The powerpc ppc64_defconfig has CONFIG_SPIDER_NET set. My > tdd-builder Docker image

Re: [PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-27 Thread Geoff Levand
Hi Christophe, On 8/27/21 12:56 PM, Christophe JAILLET wrote: > It has *not* been compile tested because I don't have the needed > configuration or cross-compiler. The powerpc ppc64_defconfig has CONFIG_SPIDER_NET set. My tdd-builder Docker image has the needed gcc-powerpc-linux-gnu cross compile

[PATCH] net: spider_net: switch from 'pci_' to 'dma_' API

2021-08-27 Thread Christophe JAILLET
In [1], Christoph Hellwig has proposed to remove the wrappers in include/linux/pci-dma-compat.h. Some reasons why this API should be removed have been given by Julia Lawall in [2]. A coccinelle script has been used to perform the needed transformation Only relevant parts are given below. @@ @@ -