From: xxm Date: Sun, 4 May 2014 06:38:38 +0000 (+0800) Subject: rockchip:iommu:reenable mmu page fault and bus error irq mask when host device enable... X-Git-Tag: firefly_0821_release~5386 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=77356b196ef5ea915ff7d52154fd9fd73d29f696;p=firefly-linux-kernel-4.4.55.git rockchip:iommu:reenable mmu page fault and bus error irq mask when host device enable it's mmu --- 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]); }