summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-efi-platform.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2019-11-04 10:01:03 +0300
committerJoerg Roedel <jroedel@suse.de>2019-11-11 17:02:34 +0300
commitda3cc91b8db403728cde03c8a95cba268d8cbf1b (patch)
tree3315f185708baee994c1306d48f63053d016bcc6 /drivers/rtc/rtc-efi-platform.c
parent2009122f1d83dd8375572661961eab1e7e86bffe (diff)
downloadlinux-da3cc91b8db403728cde03c8a95cba268d8cbf1b.tar.xz
iommu/mediatek: Add a new tlb_lock for tlb_flush
The commit 4d689b619445 ("iommu/io-pgtable-arm-v7s: Convert to IOMMU API TLB sync") help move the tlb_sync of unmap from v7s into the iommu framework. It helps add a new function "mtk_iommu_iotlb_sync", But it lacked the lock, then it will cause the variable "tlb_flush_active" may be changed unexpectedly, we could see this warning log randomly: mtk-iommu 10205000.iommu: Partial TLB flush timed out, falling back to full flush The HW requires tlb_flush/tlb_sync in pairs strictly, this patch adds a new tlb_lock for tlb operations to fix this issue. Fixes: 4d689b619445 ("iommu/io-pgtable-arm-v7s: Convert to IOMMU API TLB sync") Signed-off-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-efi-platform.c')
0 files changed, 0 insertions, 0 deletions