Skip to content
Commit 6cc7e5a9 authored by Xiang Chen's avatar Xiang Chen Committed by Will Deacon
Browse files

iommu/arm-smmu-v3: Add a check to avoid invalid iotlb sync



It may send a invalid tlb sync for smmuv3 if iotlb_gather is not valid
(iotlb_gather->pgsize = 0). So add a check to avoid invalid iotlb sync
for it.

Signed-off-by: default avatarXiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1617109106-121844-1-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 655c447c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment