commit | 5c62c1c67903621cfa715d6f690548ee53301620 | [log] [tgz] |
---|---|---|
author | Yong Wu <yong.wu@mediatek.com> | Mon Sep 25 17:28:47 2017 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Sep 27 16:56:17 2017 +0200 |
tree | 80685b02a9ac4983079d24f489563ff6077372d5 | |
parent | e19b205be43d11bff638cad4487008c48d21c103 [diff] |
iommu/io-pgtable-arm-v7s: Need dma-sync while there is no QUIRK_NO_DMA Fix the commit 81b3c2521844 ("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: Yong Wu <yong.wu@mediatek.com> Fixes: 81b3c2521844 ('iommu/io-pgtable: Introduce explicit coherency') Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>