Re: [PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-06-10 Thread Leizhen (ThunderTown)
On 2018/6/1 14:50, Leizhen (ThunderTown) wrote: > > > On 2018/5/31 22:25, Robin Murphy wrote: >> On 31/05/18 14:49, Hanjun Guo wrote: >>> Hi Robin, >>> >>> On 2018/5/31 19:24, Robin Murphy wrote: On 31/05/18 08:42, Zhen Lei wrote: > In common, a IOMMU unmap operation follow the below

Re: [PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-05-31 Thread Leizhen (ThunderTown)
On 2018/5/31 22:25, Robin Murphy wrote: > On 31/05/18 14:49, Hanjun Guo wrote: >> Hi Robin, >> >> On 2018/5/31 19:24, Robin Murphy wrote: >>> On 31/05/18 08:42, Zhen Lei wrote: In common, a IOMMU unmap operation follow the below steps: 1. remove the mapping in page table of the specifi

Re: [PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-05-31 Thread Robin Murphy
On 31/05/18 14:49, Hanjun Guo wrote: Hi Robin, On 2018/5/31 19:24, Robin Murphy wrote: On 31/05/18 08:42, Zhen Lei wrote: In common, a IOMMU unmap operation follow the below steps: 1. remove the mapping in page table of the specified iova range 2. execute tlbi command to invalid the mapping wh

Re: [PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-05-31 Thread Hanjun Guo
Hi Robin, On 2018/5/31 19:24, Robin Murphy wrote: > On 31/05/18 08:42, Zhen Lei wrote: >> In common, a IOMMU unmap operation follow the below steps: >> 1. remove the mapping in page table of the specified iova range >> 2. execute tlbi command to invalid the mapping which is cached in TLB >> 3. wai

Re: [PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-05-31 Thread Robin Murphy
On 31/05/18 08:42, Zhen Lei wrote: In common, a IOMMU unmap operation follow the below steps: 1. remove the mapping in page table of the specified iova range 2. execute tlbi command to invalid the mapping which is cached in TLB 3. wait for the above tlbi operation to be finished 4. free the IOVA

[PATCH 0/7] add non-strict mode support for arm-smmu-v3

2018-05-31 Thread Zhen Lei
In common, a IOMMU unmap operation follow the below steps: 1. remove the mapping in page table of the specified iova range 2. execute tlbi command to invalid the mapping which is cached in TLB 3. wait for the above tlbi operation to be finished 4. free the IOVA resource 5. free the physical memory