From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Xueqi Zhang <xueqi.zhang@mediatek.com>,
Yong Wu <yong.wu@mediatek.com>, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Joerg Roedel <joro@8bytes.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: Project_Global_Chrome_Upstream_Group@mediatek.com,
Ning li <ning.li@mediatek.com>,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
iommu@lists.linux.dev
Subject: Re: [RFC PATCH 0/8] Add mt8196 SMMU support
Date: Thu, 18 Sep 2025 13:37:34 +0200 [thread overview]
Message-ID: <b32f4afd-5683-4eec-8da7-a21a9a4950c1@collabora.com> (raw)
In-Reply-To: <20250616025628.25454-1-xueqi.zhang@mediatek.com>
Il 16/06/25 04:56, Xueqi Zhang ha scritto:
> This patchset add mt8196 SMMU support.
> 1. Mediatek SMMU interrupt is low level active rather than the
> standard edge. Process Mediatek SMMU wrapper interrupt and dump
> detailed information when a translation fault occurs.
> 2. In some projects, Mediatek also have EL2 driver, so put the pm
> operation in TFA(EL3), then all the kernel and EL2 could control
> the pm. Thus implement rpm get/put function which send smc call to
> TFA to get/put SMMU power.
>
> Xueqi Zhang (8):
> dt-bindings: iommu: mediatek: Add mt8196 support
> iommu/arm-smmu-v3: Add SMMU implementation
> iommu/arm-smmu-v3: Add implementation for MT8196 MM SMMU
> iommu/arm-smmu-v3: Add implementation for MT8196 APU SMMU
> iommu/arm-smmu-v3: Add IRQ handle for smmu impl
> iommu/arm-smmu-v3: mediatek: Add wrapper handle for IRQ
> iommu/arm-smmu-v3: Invoke rpm operation before accessing the hw
> iommu/arm-smmu-v3: mediatek: Implement rpm get/put function
>
> .../bindings/iommu/arm,smmu-v3.yaml | 24 +-
> drivers/iommu/arm/Kconfig | 7 +
> drivers/iommu/arm/arm-smmu-v3/Makefile | 3 +-
> .../iommu/arm/arm-smmu-v3/arm-smmu-v3-impl.c | 16 +
> .../arm/arm-smmu-v3/arm-smmu-v3-mediatek.c | 536 ++++++++++++++++++
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 96 +++-
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 14 +
> 7 files changed, 691 insertions(+), 5 deletions(-)
> create mode 100644 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-impl.c
> create mode 100644 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-mediatek.c
>
Xueqi, any followup on this series?
All of the multimedia blocks (including display) become unusable without an IOMMU
on MT8196, MT6991 and newer.
Regards,
Angelo
prev parent reply other threads:[~2025-09-18 11:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-16 2:56 [RFC PATCH 0/8] Add mt8196 SMMU support Xueqi Zhang
2025-06-16 2:56 ` [RFC PATCH 1/8] dt-bindings: iommu: mediatek: Add mt8196 support Xueqi Zhang
2025-06-16 4:40 ` Rob Herring (Arm)
2025-06-16 14:27 ` Rob Herring
2025-06-17 6:28 ` Krzysztof Kozlowski
2025-06-16 2:56 ` [RFC PATCH 2/8] iommu/arm-smmu-v3: Add SMMU implementation Xueqi Zhang
2025-06-16 21:17 ` Pranjal Shrivastava
2025-06-16 2:56 ` [RFC PATCH 3/8] iommu/arm-smmu-v3: Add implementation for MT8196 MM SMMU Xueqi Zhang
2025-06-16 2:56 ` [RFC PATCH 4/8] iommu/arm-smmu-v3: Add implementation for MT8196 APU SMMU Xueqi Zhang
2025-06-16 2:56 ` [RFC PATCH 5/8] iommu/arm-smmu-v3: Add IRQ handle for smmu impl Xueqi Zhang
2025-06-16 21:32 ` Pranjal Shrivastava
2025-06-16 2:56 ` [RFC PATCH 6/8] iommu/arm-smmu-v3: mediatek: Add wrapper handle for IRQ Xueqi Zhang
2025-06-24 11:22 ` Will Deacon
2025-06-25 16:54 ` Marc Zyngier
2025-06-16 2:56 ` [RFC PATCH 7/8] iommu/arm-smmu-v3: Invoke rpm operation before accessing the hw Xueqi Zhang
2025-06-16 20:54 ` Pranjal Shrivastava
2025-06-16 2:56 ` [RFC PATCH 8/8] iommu/arm-smmu-v3: mediatek: Implement rpm get/put function Xueqi Zhang
2025-09-18 11:37 ` AngeloGioacchino Del Regno [this message]
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=b32f4afd-5683-4eec-8da7-a21a9a4950c1@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.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=ning.li@mediatek.com \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
--cc=xueqi.zhang@mediatek.com \
--cc=yong.wu@mediatek.com \
/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