diff options
author | Yong Wu <yong.wu@mediatek.com> | 2021-12-08 14:07:43 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-03-04 11:04:45 +0100 |
commit | 15672b6dc5d03a947e9180db1d6564f43b0c6799 (patch) | |
tree | 04e7dc3614d0763eb03fcde632f9d9936b9ae4ca /fs/nilfs2 | |
parent | ad5042ecbe944bd34d0bdd23f3b728a7e92c0e12 (diff) | |
download | linux-15672b6dc5d03a947e9180db1d6564f43b0c6799.tar.bz2 |
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>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions