Re: [PATCH] media: s5p-mfc: Fix memdev DMA configuration

2018-12-05 Thread Mauro Carvalho Chehab
Em Fri, 14 Sep 2018 14:19:29 +0200 Marek Szyprowski escreveu: > Hi Robin, > > On 2018-09-12 18:45, Robin Murphy wrote: > > Having of_reserved_mem_device_init() forcibly reconfigure DMA for all > > callers, potentially overriding the work done by a bus-specific > > .dma_configure method earlier,

Re: [PATCH] media: s5p-mfc: Fix memdev DMA configuration

2018-09-14 Thread Marek Szyprowski
Hi Robin, On 2018-09-12 18:45, Robin Murphy wrote: > Having of_reserved_mem_device_init() forcibly reconfigure DMA for all > callers, potentially overriding the work done by a bus-specific > .dma_configure method earlier, is at best a bad idea and at worst > actively harmful. If drivers really nee

[PATCH] media: s5p-mfc: Fix memdev DMA configuration

2018-09-12 Thread Robin Murphy
Having of_reserved_mem_device_init() forcibly reconfigure DMA for all callers, potentially overriding the work done by a bus-specific .dma_configure method earlier, is at best a bad idea and at worst actively harmful. If drivers really need virtual devices to own dma-coherent memory, they should ex