Thread (11 messages) 11 messages, 3 authors, 2025-10-20

Re: [PATCH v3 3/5] iommu/mediatek: mt8189: Add APU IOMMUs support

From: Yong Wu (吴勇) <Yong.Wu@mediatek.com>
Date: 2025-10-18 02:29:02
Also in: linux-devicetree, linux-iommu, linux-mediatek, lkml

On Wed, 2025-10-15 at 20:55 +0800, Zhengnan Chen wrote:
quoted hunk ↗ jump to hunk
Add support for mt8189 APU IOMMUs.

Signed-off-by: Zhengnan Chen <redacted>
Reviewed-by: AngeloGioacchino Del Regno <
angelogioacchino.delregno@collabora.com>
---
 drivers/iommu/mtk_iommu.c | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 7af47c59b10b..999f7b858164 100644
--- a/drivers/iommu/mtk_iommu.c
+++ b/drivers/iommu/mtk_iommu.c
@@ -139,6 +139,7 @@
 /* 2 bits: iommu type */
 #define MTK_IOMMU_TYPE_MM		(0x0 << 13)
 #define MTK_IOMMU_TYPE_INFRA		(0x1 << 13)
+#define MTK_IOMMU_TYPE_APU		(0x2 << 13)
 #define MTK_IOMMU_TYPE_MASK		(0x3 << 13)
 /* PM and clock always on. e.g. infra iommu */
 #define PM_CLK_AO			BIT(15)
@@ -172,6 +173,7 @@ enum mtk_iommu_plat {
 	M4U_MT8173,
 	M4U_MT8183,
 	M4U_MT8186,
+	M4U_MT8189,
 	M4U_MT8188,
Move after mt8188.

Reviewed-by: Yong Wu <yong.wu@mediatek.com>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help