From: Peng Fan <peng.fan@oss.nxp.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>, Frank Li <frank.li@nxp.com>,
"Joerg Roedel (AMD)" <joro@8bytes.org>,
Jean-Philippe Brucker <jpb@kernel.org>,
linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH RFC 0/4] iommu/arm-smmu-v3: Support shared Stream IDs
Date: Fri, 18 Sep 2026 21:41:29 +0800 [thread overview]
Message-ID: <aq0/iQKcWhgm5wqp@shlinux89> (raw)
In-Reply-To: <20260918121132.GA11599@ziepe.ca>
On Fri, Sep 18, 2026 at 09:11:32AM -0300, Jason Gunthorpe wrote:
>On Fri, Sep 18, 2026 at 07:48:34PM +0800, Peng Fan wrote:
>
>> However, the DMA channel case was just one example - the shared-SID
>> need exists independently of it. Our SoC (i.MX95) has only 64 SIDs
>> total, serving MMC, SD, NET, PCI, DMA, NPU, DSP, DISPLAY and more.
>> Some of these are genuinely separate platform devices (distinct DT
>> nodes, distinct drivers) that share a SID by hardware design because
>> the SID space is exhausted.
>>
>> That cross-IP case cannot be solved by DT restructuring - the devices
>> really are separate. Would you be open to reviewing the shared-SID
>> SMMU support (patches 1-4) on that basis, independent of the DMA
>> channel question?
>
>I think you should revise your commit message/cover letter to focus on
>something that is not a DT abuse and try again
Yes. I will prepare RFC V2 with revised cover letter.
>
>IIRC Robin said the SID aliasing was a PITA on SMMUv2 so it
>really needs to have a strong reason.
Not like sever/data center chips, i.MX95 does not the advanced features,
so in [PATCH RFC 4/4], those advanced features are marked as not supported.
In the chip internal bus, there are only 6 bits are used to carry SID
on the bus, so limited SIDs.
Hope we could move forward to support just simple SID sharing between
platform devices without advancing features.
Thanks,
Peng
>
>Jason
>
>
prev parent reply other threads:[~2026-09-18 13:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 15:12 Peng Fan (OSS)
2026-09-16 15:12 ` [PATCH RFC 1/4] iommu/arm-smmu-v3: Convert streams from RB tree to XArray Peng Fan (OSS)
2026-09-16 15:12 ` [PATCH RFC 2/4] iommu/arm-smmu-v3: Support shared SIDs in insert/remove_master Peng Fan (OSS)
2026-09-16 15:12 ` [PATCH RFC 3/4] iommu/arm-smmu-v3: Group aliasing devices into the same IOMMU group Peng Fan (OSS)
2026-09-16 15:12 ` [PATCH RFC 4/4] iommu/arm-smmu-v3: Wire up shared-SID STE ordering and feature gating Peng Fan (OSS)
2026-09-16 16:10 ` [PATCH RFC 0/4] iommu/arm-smmu-v3: Support shared Stream IDs Jason Gunthorpe
2026-09-17 1:33 ` Peng Fan
2026-09-17 14:48 ` Jason Gunthorpe
2026-09-18 11:48 ` Peng Fan
2026-09-18 12:11 ` Jason Gunthorpe
2026-09-18 13:41 ` Peng Fan [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=aq0/iQKcWhgm5wqp@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=frank.li@nxp.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=jpb@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--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®