Re: [PATCH v3 6/7] iommu/mediatek: Use writel for TLB range invalidation

2019-10-14 Thread Yong Wu
On Mon, 2019-10-14 at 15:04 +0100, Robin Murphy wrote: > On 14/10/2019 07:38, Yong Wu wrote: > > Use writel for the register F_MMU_INV_RANGE which is for triggering the > > HW work. We expect all the setting(iova_start/iova_end...) have already > > been finished before F_MMU_INV_RANGE. > > For Arm

Re: [PATCH v3 6/7] iommu/mediatek: Use writel for TLB range invalidation

2019-10-14 Thread Robin Murphy
On 14/10/2019 07:38, Yong Wu wrote: Use writel for the register F_MMU_INV_RANGE which is for triggering the HW work. We expect all the setting(iova_start/iova_end...) have already been finished before F_MMU_INV_RANGE. For Arm CPUs, these registers should be mapped as Device memory, therefore t

[PATCH v3 6/7] iommu/mediatek: Use writel for TLB range invalidation

2019-10-13 Thread Yong Wu
Use writel for the register F_MMU_INV_RANGE which is for triggering the HW work. We expect all the setting(iova_start/iova_end...) have already been finished before F_MMU_INV_RANGE. Signed-off-by: Anan.Sun Signed-off-by: Yong Wu --- drivers/iommu/mtk_iommu.c | 3 +-- 1 file changed, 1 insertion