From: Krzysztof Kozlowski <krzk@kernel.org>
To: Vikash Garodia <vikash.garodia@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Bryan O'Donoghue <bod@kernel.org>
Cc: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Subject: Re: [RFC PATCH 07/11] arm64: dts: qcom: hamoa: Move Iris IOMMUs to sub nodes
Date: Wed, 29 Jul 2026 12:10:53 +0200 [thread overview]
Message-ID: <2b0ea2a2-c3ef-4147-801b-af41733fba7b@kernel.org> (raw)
In-Reply-To: <3128bff0-98a6-44d7-a390-27537e74e9fc@oss.qualcomm.com>
On 16/07/2026 11:07, Vikash Garodia wrote:
> Hi Krzysztof,
>
> On 7/13/2026 11:32 AM, Vikash Garodia wrote:
>>
>> On 7/12/2026 5:49 PM, Dmitry Baryshkov wrote:
>>> On Fri, Jul 10, 2026 at 11:46:58PM +0100, Bryan O'Donoghue wrote:
>>>> On 09/07/2026 13:35, Vikash Garodia wrote:
>>>>> The Iris VPU has separate streams with different IOVA constraints. The
>>>>> non-pixel stream must be limited to the 0-600 MB IOVA range, while the
>>>>> pixel stream can use the full IOVA space.
>>>>
>>>>
>>>>> Using a single set of IOMMU entries for the Iris node does not describe
>>>>> these per-stream limits and can allow accesses outside the supported
>>>>> range, which may lead to device crashes. One such issue was reported
>>>>> at:
>>>>> https://gitlab.freedesktop.org/drm/msm/-/work_items/100
>>>>>
>>>>> Add non-pixel and pixel child nodes, move each stream ID to its
>>>>> corresponding child node, and add a reserved IOVA range for the
>>>>> non-pixel stream.
>>>>>
>>>>> Co-developed-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
>>>>> Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
>>>>> Signed-off-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
>>>> The thing of it is, this _is_ a bugfix - perhaps its not one that can be
>>>> backported, actually scratch that, this isn't possible to land in -
>>>> stable
>>>> realistically.
>>>>
>>>> So what is needed here is a strategy for fixing -stable.
>>>
>>> I think, we need to start with defining, which platforms are affected.
>>> sm8150+? SM8250+? SDM845+? MSM8996+?
>>
>> All platforms, including venus.
>>
>>>
>>>>
>>>> That could be apply Daniel's patch and backport it with Fixes: - with
>>>> mainline then say applying this change and reverting Daniel's patch
>>>>
>>>> or
>>>>
>>>> That could mean some other solution for -stable - up for debate -
>>>> what's not
>>>> up for debate is this series needs to _address_ what happens to
>>>> stable for
>>>> all of the target platforms - and then transition mainline to the new
>>>> and
>>>> shiny way.
>>>>
>>>> That could mean
>>>>
>>>> - Applying Daniel's fix with Fixes: and cc-stable
>>>> - That patch needs to be extended to _each_ Iris platform containing
>>>> this bug... all of them I think.
>>>> - Updating bindings
>>>> - Updating DT with new method simultaneously reverting Daniel's fix
>>>>
>>
>> Ack. The proposal seems a good way to me addressing stable, i can work
>> towards this.
>>
>> Will wait for couple of days if there are any alternate suggestion on this.
>>
>
> I would like to seek you suggestion on handling for the -stable branch.
> The approach proposed here is;
>
> 1. Pick the workaround from Daniel, and mark it as Fixes: and cc-stable.
> I have the series ready to post considering for all _iris_ platforms.
>
> 2. Update the bindings with subnode, and at the same time, *reverting*
> Daniel's fix on mainline.
>
> This is due to the fact that #2 might not be easy to apply to all stable
> branches, #1 would serve as workaround to fix the bug in --stable trees.
>
> Please suggest if this is fine with you or any other way you would like
> me to pursue.
Sorry guys, but the logic here is not correct. We do not develop
mainline kernel in a way that satisfies backports. IOW, we do not
organize the commit history in any other way than the mainline
development purpose.
Whatever you try to do, add some semi-correct fixes, then revert them so
backport will work, all this is just wrong.
There is NO DISCUSSION about stable here at all. None.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-07-29 10:11 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7GAZnP6jPoRrcDnaVzeaB98cONLhtvbiEXV1yD5MJJrA9pCnC9lmlSiCGA8vlDezSXADjmFiqo3ZdClO5SxCFA==@protonmail.internalid>
2026-07-09 12:35 ` [RFC PATCH 00/11] : media: iris: Migrate iommus to iris sub nodes Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 01/11] dt-bindings: media: qcom,sm8550-iris: Add vpu " Vikash Garodia
2026-07-09 12:46 ` sashiko-bot
2026-07-09 12:50 ` Dmitry Baryshkov
2026-07-10 6:02 ` Vikash Garodia
2026-07-10 15:53 ` Dmitry Baryshkov
2026-07-11 5:46 ` Vikash Garodia
2026-07-10 22:02 ` Bryan O'Donoghue
2026-07-24 11:15 ` Dmitry Baryshkov
2026-07-24 11:38 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 02/11] media: iris: Add hooks to initialize and tear down context banks Vikash Garodia
2026-07-09 12:57 ` sashiko-bot
2026-07-09 12:35 ` [RFC PATCH 03/11] media: iris: Add helper to create a context bank device Vikash Garodia
2026-07-09 13:10 ` sashiko-bot
2026-07-14 13:49 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 04/11] media: iris: Add helper to select relevant " Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 05/11] media: iris: Skip DMA mask setting to core device when IOMMU is not mapped Vikash Garodia
2026-07-09 13:10 ` Dmitry Baryshkov
2026-07-09 13:43 ` sashiko-bot
2026-07-14 13:48 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 06/11] media: iris: Add hooks for pixel and non-pixel context banks Vikash Garodia
2026-07-09 13:14 ` Dmitry Baryshkov
2026-07-10 6:32 ` Vikash Garodia
2026-07-10 16:03 ` Dmitry Baryshkov
2026-07-09 13:54 ` sashiko-bot
2026-07-10 16:12 ` Dmitry Baryshkov
2026-07-14 7:23 ` Vikash Garodia
2026-07-14 13:39 ` Vikash Garodia
2026-07-14 13:43 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 07/11] arm64: dts: qcom: hamoa: Move Iris IOMMUs to sub nodes Vikash Garodia
2026-07-09 13:03 ` Dmitry Baryshkov
2026-07-10 6:05 ` Vikash Garodia
2026-07-10 21:05 ` Dmitry Baryshkov
2026-07-09 14:10 ` sashiko-bot
2026-07-14 13:02 ` Vikash Garodia
2026-07-10 10:48 ` Bryan O'Donoghue
2026-07-10 22:46 ` Bryan O'Donoghue
2026-07-12 12:19 ` Dmitry Baryshkov
2026-07-13 6:02 ` Vikash Garodia
2026-07-16 9:07 ` Vikash Garodia
2026-07-29 10:10 ` Krzysztof Kozlowski [this message]
2026-07-09 12:35 ` [RFC PATCH 08/11] arm64: dts: qcom: sm8550: Move Iris IOMMUs to child nodes Vikash Garodia
2026-07-09 14:30 ` sashiko-bot
2026-07-14 13:01 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 09/11] arm64: dts: qcom: lemans: " Vikash Garodia
2026-07-09 14:44 ` sashiko-bot
2026-07-14 11:08 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 10/11] arm64: dts: qcom: monaco: " Vikash Garodia
2026-07-09 15:03 ` sashiko-bot
2026-07-14 11:07 ` Vikash Garodia
2026-07-09 12:35 ` [RFC PATCH 11/11] arm64: dts: qcom: sm8650: " Vikash Garodia
2026-07-09 15:29 ` sashiko-bot
2026-07-14 11:06 ` Vikash Garodia
2026-07-10 10:35 ` [RFC PATCH 00/11] : media: iris: Migrate iommus to iris sub nodes Bryan O'Donoghue
2026-07-10 13:36 ` Vikash Garodia
2026-07-10 13:38 ` Bryan O'Donoghue
2026-07-10 14:02 ` Vikash Garodia
2026-07-12 12:24 ` Dmitry Baryshkov
2026-07-13 5:59 ` Vikash Garodia
2026-07-12 11:51 ` Daniel J Blueman
2026-07-13 5:53 ` Vikash Garodia
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=2b0ea2a2-c3ef-4147-801b-af41733fba7b@kernel.org \
--to=krzk@kernel.org \
--cc=abhinav.kumar@linux.dev \
--cc=andersson@kernel.org \
--cc=bod@kernel.org \
--cc=busanna.reddy@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dikshita.agarwal@oss.qualcomm.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.