Re: [PATCH] drm/ttm: properly unmap dma page upon failure
From: Yu Zhao
Date: Sat Jul 06 2019 - 13:33:39 EST
On Mon, Mar 25, 2019 at 02:22:50PM -0600, Yu Zhao wrote:
> dma_unmap_page() must be called with exactly the same dma address
> and size returned by dma_map_page(). Otherwise, the function may
> fail.
>
> This is at least the case for debug_dma_unmap_page() and AMD iommu
> unmap_page callback.
Hi, can we please take this fix? Thanks.