[PATCH v2 4/5] iommu/mediatek: Add tlb_lock in tlb_flush_all
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Jan 10 03:44:14 PST 2022
Il 08/12/21 13:07, Dafna Hirschfeld ha scritto:
> From: Yong Wu <yong.wu at mediatek.com>
>
> 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 at mediatek.com>
> [refactor commit log]
> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld at collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list