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@xxxxxxxxxx>
Thanks Jean Acked-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
--- v1->v2: clear q->handle after unbind
Thanks