Home
last modified time | relevance | path

Searched hist:d2e9a1102cfc22c08450875faa667a60f0b1b1f6 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/
H A Dmtk_iommu.cdiff d2e9a1102cfc22c08450875faa667a60f0b1b1f6 Tue May 03 09:14:08 CEST 2022 Yong Wu <yong.wu@mediatek.com> iommu/mediatek: Contain MM IOMMU flow with the MM TYPE

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.

The device link between iommu consumer device and smi-larb device only
is needed in MM iommu case.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20220503071427.2285-18-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>