rockchip:iommu:reenable mmu page fault and bus error irq mask when host device enable...
authorxxm <xxm@rock-chips.com>
Sun, 4 May 2014 06:38:38 +0000 (14:38 +0800)
committerxxm <xxm@rock-chips.com>
Sun, 4 May 2014 06:38:38 +0000 (14:38 +0800)
drivers/iommu/rockchip-iommu.c

index 2ad9ca152155483efe89e4e54e15b8dd1526cbdc..a84cf2ef5a2420310f8573e57f55e630c322341b 100755 (executable)
@@ -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]);
        }