Re: [PATCH v3 17/33] iommu/mediatek: Contain MM IOMMU flow with the MM TYPE

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


Il 23/09/21 13:58, Yong Wu ha scritto:
Prepare for supporting INFRA_IOMMU, and APU_IOMMU later.

For Infra IOMMU/APU IOMMU, it doesn't have the "larb""port". thus, Use
the MM flag contain the MM_IOMMU special flow, Also, it moves a big
chunk code about parsing the mediatek,larbs into a function, this is
only needed for MM IOMMU. and all the current SoC are MM_IOMMU.

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



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