diff options
author | 2021-12-08 14:07:43 +0200 | |
---|---|---|
committer | 2022-03-04 11:04:45 +0100 | |
commit | 15672b6dc5d03a947e9180db1d6564f43b0c6799 (patch) | |
tree | 04e7dc3614d0763eb03fcde632f9d9936b9ae4ca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | iommu/mediatek: Remove the power status checking in tlb flush all (diff) | |
download | wireguard-linux-15672b6dc5d03a947e9180db1d6564f43b0c6799.tar.xz wireguard-linux-15672b6dc5d03a947e9180db1d6564f43b0c6799.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions