video: rockchip: mpp: fix iommu fault irq triggered repeatedly
Add mask iommu irq in iommu fault handle func to prevent iommu trigger pagefault repeatedly. Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I11c9b918e3a9c3af576b7f82cbdc7dbeb960dbd8
This commit is contained in:
parent
ca7fd65693
commit
de1cbb0ebd
1 changed files with 6 additions and 0 deletions
|
|
@ -463,6 +463,12 @@ static int mpp_iommu_handle(struct iommu_domain *iommu,
|
|||
else
|
||||
mpp_task_dump_hw_reg(mpp);
|
||||
|
||||
/*
|
||||
* Mask iommu irq, in order for iommu not repeatedly trigger pagefault.
|
||||
* Until the pagefault task finish by hw timeout.
|
||||
*/
|
||||
rockchip_iommu_mask_irq(mpp->dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue