Re: Support SVM without PASID

2017-08-12 Thread valmiki
On 8/7/2017 4:01 PM, Jean-Philippe Brucker wrote: On 05/08/17 06:14, valmiki wrote: [...] Hi Jean, Thanks a lot, now i understood the flow. From vfio kernel documentation we fill vaddr and iova in struct vfio_iommu_type1_dma_map and pass them to VFIO. But if we use dynamic allocation in

Re: [PATCH 2/8] iommu/mediatek: Add mt2712 IOMMU support

2017-08-12 Thread Yong Wu
On Fri, 2017-08-11 at 18:24 +0100, Robin Murphy wrote: > On 11/08/17 10:56, Yong Wu wrote: > > The M4U IP blocks in mt2712 is MTK's generation2 M4U which use the > > Short-descriptor like mt8173, and most of the HW registers are the > > same. > > > > The difference is that there are 2 M4U HWs in

Re: [PATCH 5/8] iommu/mediatek: Disable iommu clock when system suspend

2017-08-12 Thread Yong Wu
On Fri, 2017-08-11 at 16:39 +0530, Arvind Yadav wrote: > Hi Youn, > > > On Friday 11 August 2017 03:26 PM, Yong Wu wrote: > > When system suspend, infra power domain may be off, and the iommu's > > clock must be disabled when system off, or the iommu's bclk clock maybe > > disabled after system