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

2020-07-12 Thread David Miller
From: Christophe JAILLET Date: Sat, 11 Jul 2020 22:49:44 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GPF_ with a correct flag. > It has been compile tested. > >

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

2020-07-12 Thread Julia Lawall
On Sun, 12 Jul 2020, Christophe JAILLET wrote: > Le 12/07/2020 à 08:32, Joe Perches a écrit : > > On Sun, 2020-07-12 at 08:29 +0200, Christophe JAILLET wrote: > > > Le 11/07/2020 à 23:20, Joe Perches a écrit : > > > > On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: > > > > > The

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

2020-07-12 Thread Christophe JAILLET
Le 12/07/2020 à 08:32, Joe Perches a écrit : On Sun, 2020-07-12 at 08:29 +0200, Christophe JAILLET wrote: Le 11/07/2020 à 23:20, Joe Perches a écrit : On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: The wrappers in include/linux/pci-dma-compat.h should go away. why? From

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

2020-07-12 Thread Joe Perches
On Sun, 2020-07-12 at 08:29 +0200, Christophe JAILLET wrote: > Le 11/07/2020 à 23:20, Joe Perches a écrit : > > On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: > > > The wrappers in include/linux/pci-dma-compat.h should go away. > > why? > > > > > From Christoph Hellwig >

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

2020-07-11 Thread Joe Perches
On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. why?

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

2020-07-11 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GPF_ with a correct flag. It has been compile tested. When memory is allocated in 'sky2_alloc_buffers()', GFP_KERNEL can be used