Messages in this thread | | | Subject | Re: [PATCH v2 4/5] iommu/mediatek: Add tlb_lock in tlb_flush_all | From | AngeloGioacchino Del Regno <> | Date | Mon, 10 Jan 2022 12:44:14 +0100 |
| |
Il 08/12/21 13:07, Dafna Hirschfeld ha scritto: > From: Yong Wu <yong.wu@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@mediatek.com> > [refactor commit log] > Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
| |