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

2020-04-09 Thread Jean-Philippe Brucker
On Thu, Apr 09, 2020 at 05:07:34PM +0800, Zhangfei Gao wrote: > > > On 2020/4/8 下午10:04, 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

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

2020-04-09 Thread Zhangfei Gao
On 2020/4/8 下午10:04, 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

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

2020-04-08 Thread Jean-Philippe Brucker
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