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

2020-08-24 Thread David Miller
From: Christophe JAILLET Date: Sun, 23 Aug 2020 08:11:50 +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 GFP_ with a correct flag. > It has been compile tested. > > W

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

2020-08-23 Thread David Dillow
On Sun, 2020-08-23 at 08:11 +0200, Christophe JAILLET wrote: > 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 GFP_ with a correct flag. > It has been compile tested. Looks g

[PATCH] typhoon: switch from 'pci_' to 'dma_' API

2020-08-22 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 GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'typhoon_init_one()' GFP_KERNEL can be used because