From: Sumit Garg <sumit.garg@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
akhilpo@oss.qualcomm.com, vikash.garodia@oss.qualcomm.com,
dikshita.agarwal@oss.qualcomm.com, robin.clark@oss.qualcomm.com,
lumag@kernel.org, loic.poulain@oss.qualcomm.com,
jorge.ramirez@oss.qualcomm.com, linux-kernel@vger.kernel.org,
Sumit Garg <sumit.garg@oss.qualcomm.com>
Subject: Re: [PATCH v2 1/3] dt-bindings: display: msm: qcm2290-mdss: Fix iommus property
Date: Tue, 20 Jan 2026 17:46:08 +0530 [thread overview]
Message-ID: <aW9yCK0rPjRcqplk@sumit-xelite> (raw)
In-Reply-To: <6020af2a-5baa-4594-8cbc-bf7241f0128e@kernel.org>
On Fri, Jan 16, 2026 at 02:15:02PM +0100, Krzysztof Kozlowski wrote:
> On 16/01/2026 13:53, Sumit Garg wrote:
> > On Fri, Jan 16, 2026 at 09:46:54AM +0100, Krzysztof Kozlowski wrote:
> >> On Fri, Jan 16, 2026 at 11:50:02AM +0530, Sumit Garg wrote:
> >>> From: Sumit Garg <sumit.garg@oss.qualcomm.com>
> >>>
> >>> Fix IOMMU DT propety for display via dropping SMMU stream IDs which
> >>> relates to secure context bank. Assigning Linux kernel (HLOS) VMID
> >>> to secure context bank stream IDs is incorrect.
> >>>
> >>> The min value is added for iommus property to ensure in future when
> >>> secure context bank stream IDs are properly supported then the iommus
> >>> property is extensible.
> >>>
> >>> These DT bindings changes should be backwards compatible.
> >>>
> >>> Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
> >>> ---
> >>> .../devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml | 5 ++---
> >>> 1 file changed, 2 insertions(+), 3 deletions(-)
> >>>
> >>> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml
> >>> index f0cdb5422688..5c888f07bc0b 100644
> >>> --- a/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml
> >>> +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml
> >>> @@ -33,6 +33,7 @@ properties:
> >>> - const: core
> >>>
> >>> iommus:
> >>> + minItems: 1
> >>
> >> Same comment as other changes like that, which I already gave guideline
> >> - you need to list the items (minItems stay), because you now claim the
> >> order matters and is strictly defined.
> >
> > Not sure if I claimed that order matters now but rather the secure bank
> > stream IDs were incorrectly represented earlier in the DT.
>
> The code claims this by saying that one specific entry is allowed, so
> that entry is somehow distinctive, special, different than the other entry.
If that's the implicit understanding then I will rather just modify
maxItems here to say only the supported non-secure stream IDs. The
secure bank stream IDs can come later once a proper DT description comes
in place.
>
> >
> > There has been ongoing disscusion related to how stream ID associated
> > with different translation context can be represented in DT here [1].
> > With that only the secure bank stream IDs can be properly represented.
> >
> > Here I just followed the approach taken by Adreno GPU bindings for the
> > iommus property [2].
> >
> > [2] Documentation/devicetree/bindings/display/msm/gpu.yaml +82
>
> Such justifications are pointless. What about commit msg which explains
> why this was added? What about entire public discussion happening with
> this patch? What about all previous revisions of that patch and
> discussions leading to this piece of code? So you just found few lines
> of code, ignored entire background and any other arguments, and copied
> it here.
Looks like you are mixing other patch-set with this one.
>
> That's the approach - I found a piece of some buggy code, so I can do
> the same.
>
> Again, we discussed it 2-3 months ago for the same patch and I gave
> exactly same reason why this patch is incomplete.
Sorry you are just mixing different discussions here. I am trying to fix
the SMMU stream IDs for Agatti SoC which listed secure bank stream IDs
incorrectly.
And this is the first version of this patch only for DT bindings fix for
Agatti, there are no prior discussions I had on this aspect upstream.
-Sumit
next prev parent reply other threads:[~2026-01-20 12:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 6:20 [PATCH v2 0/3] arm64: dts: qcom: agatti: Fix IOMMU DT properties Sumit Garg
2026-01-16 6:20 ` [PATCH v2 1/3] dt-bindings: display: msm: qcm2290-mdss: Fix iommus property Sumit Garg
2026-01-16 8:46 ` Krzysztof Kozlowski
2026-01-16 12:53 ` Sumit Garg
2026-01-16 13:15 ` Krzysztof Kozlowski
2026-01-20 12:16 ` Sumit Garg [this message]
2026-01-20 12:30 ` Krzysztof Kozlowski
2026-01-21 7:59 ` Sumit Garg
2026-01-16 6:20 ` [PATCH v2 2/3] media: dt-bindings: venus: " Sumit Garg
2026-01-16 8:47 ` Krzysztof Kozlowski
2026-01-16 6:20 ` [PATCH v2 3/3] arm64: dts: qcom: agatti: Fix IOMMU DT properties Sumit Garg
2026-01-16 8:40 ` Dmitry Baryshkov
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=aW9yCK0rPjRcqplk@sumit-xelite \
--to=sumit.garg@kernel.org \
--cc=akhilpo@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dikshita.agarwal@oss.qualcomm.com \
--cc=jorge.ramirez@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=lumag@kernel.org \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sumit.garg@oss.qualcomm.com \
--cc=vikash.garodia@oss.qualcomm.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