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

2019-01-21 Thread Rob Herring
On Mon, Jan 14, 2019 at 03:14:14PM +, 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

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

2019-01-14 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