[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXCHcCMu47JRHyLt@sumit-xelite>
Date: Wed, 21 Jan 2026 13:29:44 +0530
From: Sumit Garg <sumit.garg@...nel.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
andersson@...nel.org, konradybcio@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, akhilpo@....qualcomm.com,
vikash.garodia@....qualcomm.com, dikshita.agarwal@....qualcomm.com,
robin.clark@....qualcomm.com, lumag@...nel.org,
loic.poulain@....qualcomm.com, jorge.ramirez@....qualcomm.com,
linux-kernel@...r.kernel.org,
Sumit Garg <sumit.garg@....qualcomm.com>
Subject: Re: [PATCH v2 1/3] dt-bindings: display: msm: qcm2290-mdss: Fix
iommus property
On Tue, Jan 20, 2026 at 01:30:13PM +0100, Krzysztof Kozlowski wrote:
> On 20/01/2026 13:16, Sumit Garg wrote:
> >
> >>
> >>>
> >>> 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.
>
> How different? You found some old code and use it as argument that you
> can do the same:
>
> "Here I just followed the approach taken by Adreno GPU bindings for the"
>
> so how I am mixing patchsets in my response above?
You are referring to discussions of which I wasn't part of. The reason I
mentioned Adreno GPU binding here is because I had to drop the secure
bank stream ID for Adreno GPU as well here [1]. But it didn't required
any DT bindings change while the venus and display IOMMU property
required this change.
So how do you justify that GPU iommu DT bindings are correct while the
venus and display iommu DT bindings require update.
Is there any documented behaviour for how the minItems/maxItems need to
be used? Or is this just implementation defined based on mailing list
discussions? And for sure all kernel contributors won't be aware about
all those discussions happening.
[1] https://lore.kernel.org/all/20260116062004.237356-4-sumit.garg@kernel.org/
>
>
> >
> >>
> >> 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
>
> How am I mixing? Exactly same approach was posted for other SoC. I gave
> same comments. Same comments apply here.
I still don't know which other SoC discussions you are reffering too.
Care to provide a link?
>
> > the SMMU stream IDs for Agatti SoC which listed secure bank stream IDs
> > incorrectly.
>
> You explain what you did, but you did not explain why or how I mixed
> anything.
I tried my best to describe the why part in commit descriptions:
"
Fix IOMMU DT propeties for GPU, display and video peripherals via
dropping SMMU stream IDs which relates to secure context bank.
This problem only surfaced when the Gunyah based firmware stack is
ported on Agatti replacing the legacy QHEE based firmware stack. Assigning
Linux kernel (HLOS) VMID to secure context bank stream IDs is treated
as a fault by Gunyah hypervisor which were previously ignored by QHEE
hypervisor.
"
Let me know if the why part is still unclear.
>
> >
> > 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.
>
> I did not say you had discussions before. I said exactly same problems
> were being solved and I give here and there exactly the same feedback.
>
Care to provide link to earlier discussions?
-Sumit
Powered by blists - more mailing lists