mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
iommu/rockchip: use status register instead of flags as parameter
When iommu fall into interrupt, status register indicate more information than read or write flag, so use status register as parameter when callback report_iommu_fault Change-Id: I07c6b9996f305eb970bd1d1d2b0f2a7db53cc6ba Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
@@ -592,7 +592,7 @@ static irqreturn_t rk_iommu_irq(int irq, void *dev_id)
|
||||
*/
|
||||
if (iommu->domain)
|
||||
report_iommu_fault(iommu->domain, iommu->dev, iova,
|
||||
flags);
|
||||
status);
|
||||
else
|
||||
dev_err(iommu->dev, "Page fault while iommu not attached to domain?\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user