[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190706173309.GA111051@google.com>
Date: Sat, 6 Jul 2019 11:33:09 -0600
From: Yu Zhao <yuzhao@...gle.com>
To: Christian Koenig <christian.koenig@....com>,
Huang Rui <ray.huang@....com>,
Junwei Zhang <Jerry.Zhang@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/ttm: properly unmap dma page upon failure
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.
Powered by blists - more mailing lists