projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d1d49
)
rockchip:iommu:reenable mmu page fault and bus error irq mask when host device enable...
author
xxm
<xxm@rock-chips.com>
Sun, 4 May 2014 06:38:38 +0000
(14:38 +0800)
committer
xxm
<xxm@rock-chips.com>
Sun, 4 May 2014 06:38:38 +0000
(14:38 +0800)
drivers/iommu/rockchip-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/rockchip-iommu.c
b/drivers/iommu/rockchip-iommu.c
index 2ad9ca152155483efe89e4e54e15b8dd1526cbdc..a84cf2ef5a2420310f8573e57f55e630c322341b 100755
(executable)
--- 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]);
}