Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-29 Thread Joerg Roedel
On Thu, Apr 23, 2020 at 02:53:27PM +0200, Jean-Philippe Brucker wrote: > The IOMMU SVA API currently requires device drivers to implement an > mm_exit() callback, which stops device jobs that do DMA. This function > is called in the release() MMU notifier, when an address space that is > shared

Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-28 Thread Jacob Pan
On Thu, 28 May 2020 11:32:50 +0800 Lu Baolu wrote: > Hi Jorge, > > On 2020/5/27 20:42, Joerg Roedel wrote: > > Hi Jean-Philippe, > > > > On Wed, May 27, 2020 at 12:10:38PM +0200, Jean-Philippe Brucker > > wrote: > >> I was wondering if you could take these two patches for v5.8. The > >> API

Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-27 Thread Lu Baolu
Sorry for the typo. On 2020/5/28 11:32, Lu Baolu wrote: Hi Jorge, ^ Joerg On 2020/5/27 20:42, Joerg Roedel wrote: Hi Jean-Philippe, On Wed, May 27, 2020 at 12:10:38PM +0200, Jean-Philippe Brucker wrote: I was wondering if you could take these two patches for v5.8. The API

Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-27 Thread Lu Baolu
Hi Jorge, On 2020/5/27 20:42, Joerg Roedel wrote: Hi Jean-Philippe, On Wed, May 27, 2020 at 12:10:38PM +0200, Jean-Philippe Brucker wrote: I was wondering if you could take these two patches for v5.8. The API change is a precursor for the SVA support in SMMUv3, and the VT-d implementation of

Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-27 Thread Joerg Roedel
Hi Jean-Philippe, On Wed, May 27, 2020 at 12:10:38PM +0200, Jean-Philippe Brucker wrote: > I was wondering if you could take these two patches for v5.8. The API > change is a precursor for the SVA support in SMMUv3, and the VT-d > implementation of the SVA API (queued for 5.8) doesn't implement >

Re: [PATCH v2 0/2] iommu: Remove iommu_sva_ops::mm_exit()

2020-05-27 Thread Jean-Philippe Brucker
Hi Joerg, I was wondering if you could take these two patches for v5.8. The API change is a precursor for the SVA support in SMMUv3, and the VT-d implementation of the SVA API (queued for 5.8) doesn't implement iommu_sva_ops. Thanks, Jean On Thu, Apr 23, 2020 at 02:53:27PM +0200, Jean-Philippe