From 77356b196ef5ea915ff7d52154fd9fd73d29f696 Mon Sep 17 00:00:00 2001 From: xxm Date: Sun, 4 May 2014 14:38:38 +0800 Subject: [PATCH] rockchip:iommu:reenable mmu page fault and bus error irq mask when host device enable it's mmu --- drivers/iommu/rockchip-iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index 2ad9ca152155..a84cf2ef5a24 100755 --- a/drivers/iommu/rockchip-iommu.c +++ b/drivers/iommu/rockchip-iommu.c @@ -617,6 +617,7 @@ static int __rockchip_sysmmu_enable(struct sysmmu_drvdata *data,unsigned long pg __sysmmu_set_ptbase(data->res_bases[i], pgtable); __raw_writel(SYSMMU_COMMAND_ZAP_CACHE, data->res_bases[i] + SYSMMU_REGISTER_COMMAND); } + __raw_writel(SYSMMU_INTERRUPT_PAGE_FAULT|SYSMMU_INTERRUPT_READ_BUS_ERROR, data->res_bases[i]+SYSMMU_REGISTER_INT_MASK); sysmmu_enable_paging(data->res_bases[i]); sysmmu_disable_stall(data->res_bases[i]); } -- 2.34.1