mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Zhengnan Chen (陈征南)" <Zhengnan.Chen@mediatek.com>
To: "Yong Wu (吴勇)" <Yong.Wu@mediatek.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"robin.murphy@arm.com" <robin.murphy@arm.com>,
	"joro@8bytes.org" <joro@8bytes.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	Project_Global_Chrome_Upstream_Group
	<Project_Global_Chrome_Upstream_Group@mediatek.com>,
	"robh@kernel.org" <robh@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"iommu@lists.linux.dev" <iommu@lists.linux.dev>,
	"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	"will@kernel.org" <will@kernel.org>
Subject: Re: [PATCH v3 3/5] iommu/mediatek: mt8189: Add APU IOMMUs support
Date: Sat, 18 Oct 2025 13:04:10 +0000	[thread overview]
Message-ID: <903ccd6ee71f179a71a20cead597709dc3e9f507.camel@mediatek.com> (raw)
In-Reply-To: <e7bd34b9bb34e9bd9538b2ce493e271d4688f4c5.camel@mediatek.com>

On Sat, 2025-10-18 at 02:28 +0000, Yong Wu (吴勇) wrote:
> On Wed, 2025-10-15 at 20:55 +0800, Zhengnan Chen wrote:
> > Add support for mt8189 APU IOMMUs.
> > 
> > Signed-off-by: Zhengnan Chen <zhengnan.chen@mediatek.com>
> > 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.
> 
ok, it will be fixed in the next version.
> Reviewed-by: Yong Wu <yong.wu@mediatek.com>
> 
> Thanks.

  reply	other threads:[~2025-10-18 13:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-15 12:55 [PATCH v3 0/5] MT8189 IOMMU SUPPORT Zhengnan Chen
2025-10-15 12:55 ` [PATCH v3 1/5] dt-bindings: mediatek: mt8189: Add bindings for MM & APU & INFRA IOMMU Zhengnan Chen
2025-10-20  6:57   ` Krzysztof Kozlowski
2025-10-15 12:55 ` [PATCH v3 2/5] iommu/mediatek: Add a flag DL_WITH_MULTI_LARB Zhengnan Chen
2025-10-15 12:55 ` [PATCH v3 3/5] iommu/mediatek: mt8189: Add APU IOMMUs support Zhengnan Chen
2025-10-18  2:28   ` Yong Wu (吴勇)
2025-10-18 13:04     ` Zhengnan Chen (陈征南) [this message]
2025-10-15 12:55 ` [PATCH v3 4/5] iommu/mediatek: mt8189: Add INFRA " Zhengnan Chen
2025-10-18  2:28   ` Yong Wu (吴勇)
2025-10-15 12:55 ` [PATCH v3 5/5] iommu/mediatek: mt8189: Add MM " Zhengnan Chen
2025-10-18  2:28   ` Yong Wu (吴勇)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=903ccd6ee71f179a71a20cead597709dc3e9f507.camel@mediatek.com \
    --to=zhengnan.chen@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=Yong.Wu@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®