Thread (6 messages) flat view 6 messages, 2 authors, 2019-02-01

Re: fix a layering violation in videobuf2 and improve dma_map_resource v2

From: Marek Szyprowski <m.szyprowski@samsung.com>
Date: 2019-02-01 07:05:30
Also in: linux-iommu, linux-media, linuxppc-dev, lkml

Hi All,

On 2019-01-18 12:37, Christoph Hellwig wrote:
Hi all,

this series fixes a rather gross layering violation in videobuf2, which
pokes into arm DMA mapping internals to get a DMA address for memory that
does not have a page structure, and to do so fixes up the dma_map_resource
implementation to not provide a somewhat dangerous default and improve
the error handling.

Changes since v1:
 - don't apply bus offsets in dma_direct_map_resource
Works fine on older Exynos based boards with IOMMU and CMA disabled.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help