Re: [PATCH v3 10/33] iommu/mediatek: Add tlb_lock in tlb_flush_all

From: AngeloGioacchino Del Regno
Date: Tue Jan 04 2022 - 10:55:47 EST


Il 23/09/21 13:58, Yong Wu ha scritto:
The tlb_flush_all also touches the registers about tlb operations.
Add spinlock in it to protect the tlb registers. since the tlb_range
already hold the spinlock, move it a bit outside the spinlock to
print log.

Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>