Commit 5c62c1c6 authored by Yong Wu's avatar Yong Wu Committed by Joerg Roedel
Browse files

iommu/io-pgtable-arm-v7s: Need dma-sync while there is no QUIRK_NO_DMA

Fix the commit 81b3c252

 ("iommu/io-pgtable: Introduce explicit
coherency"). If there is no IO_PGTABLE_QUIRK_NO_DMA, we should call
dma_sync_single_for_device for cache synchronization.

Signed-off-by: default avatarYong Wu <yong.wu@mediatek.com>
Fixes: 81b3c252

 ('iommu/io-pgtable: Introduce explicit coherency')
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent e19b205b
Supports Markdown
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