Home
last modified time | relevance | path

Searched hist:"15672 b6dc5d03a947e9180db1d6564f43b0c6799" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/
H A Dmtk_iommu.cdiff 15672b6dc5d03a947e9180db1d6564f43b0c6799 Wed Dec 08 13:07:43 CET 2021 Yong Wu <yong.wu@mediatek.com> iommu/mediatek: Add tlb_lock in tlb_flush_all

The tlb_flush_all touches the registers controlling tlb operations.
Protect it with the tlb_lock spinlock.
This also require the range_sync func to release that spinlock before
calling tlb_flush_all.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
[refactor commit log]
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211208120744.2415-5-dafna.hirschfeld@collabora.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>