[PATCH v2 1/2] uacce: Remove mm_exit() op

Zhangfei Gao zhangfei.gao at linaro.org
Fri Apr 24 11:05:18 AEST 2020



On 2020/4/23 下午8:53, Jean-Philippe Brucker wrote:
> The mm_exit() op will be removed from the SVA API. When a process dies
> and its mm goes away, the IOMMU driver won't notify device drivers
> anymore. Drivers should expect to handle a lot more aborted DMA. On the
> upside, it does greatly simplify the queue management.
>
> The uacce_mm struct, that tracks all queues bound to an mm, was only
> used by the mm_exit() callback. Remove it.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe at linaro.org>
Thanks Jean
Acked-by: Zhangfei Gao <zhangfei.gao at linaro.org>

> ---
> v1->v2: clear q->handle after unbind

Thanks


More information about the Linux-accelerators mailing list