[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <41c17006-af5d-19ec-210e-f6f12542eb75@collabora.com>
Date: Mon, 10 Jan 2022 12:42:38 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Dafna Hirschfeld <dafna.hirschfeld@...labora.com>,
iommu@...ts.linux-foundation.org, Yong Wu <yong.wu@...iatek.com>,
Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
"moderated list:MEDIATEK IOMMU DRIVER"
<linux-mediatek@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>, kernel@...labora.com,
linux-media@...r.kernel.org, sebastian.reichel@...labora.com
Subject: Re: [PATCH v2 1/5] iommu/mediatek: Remove for_each_m4u in
tlb_sync_all
Il 08/12/21 13:07, Dafna Hirschfeld ha scritto:
> From: Yong Wu <yong.wu@...iatek.com>
>
> The tlb_sync_all is called from these three functions:
> a) flush_iotlb_all: it will be called for each a iommu HW.
> b) tlb_flush_range_sync: it already has for_each_m4u.
> c) in irq: When IOMMU HW translation fault, Only need flush itself.
>
> Thus, No need for_each_m4u in this tlb_sync_all. Remove it.
>
> Signed-off-by: Yong Wu <yong.wu@...iatek.com>
> Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@...labora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists