From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: sophon@radxa.com, Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, dragon@radxa.com
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: add missing Iris IOMMU SID
Date: Fri, 27 Nov 2026 15:21:33 +0100 [thread overview]
Message-ID: <8771620c-3ef4-4d8e-8c7b-cfc7681753c4@oss.qualcomm.com> (raw)
In-Reply-To: <A31EF798FBEB36C7+17454013-501a-429a-8918-1087baefd339@radxa.com>
On 11/27/26 9:31 AM, Xilin Wu wrote:
> On 10/30/2026 8:54 PM, Konrad Dybcio wrote:
>> On 10/29/26 5:14 PM, Xilin Wu wrote:
>>> The Iris VPU on SC8280XP can issue memory transactions using stream ID
>>> 0x2a07. With only the 0x2a00 SID described in the IOMMU list, those
>>> transactions are not attached to the Iris IOMMU domain and can trigger a
>>> non-secure SMMU global fault during video decode.
>>>
>>> This was observed while decoding H.264, where the faulting address fell
>>> inside a DPB buffer mapped for the Iris device.
>>>
>>> Add the missing 0x2a07 stream ID so both Iris access paths are mapped by
>>> the SMMU.
>>>
>>> Note that the issue was observed using Gen2 HFI firmware.
>>>
>>> Signed-off-by: Xilin Wu <sophon@radxa.com>
>>> ---
>>
>> Any chance you're running into this?
>>
>> https://lore.kernel.org/linux-arm-msm/20260926-vpu_iommu_iova_handling-v5-0-0322ca5dc10c@oss.qualcomm.com/
>>
>> Konrad
>
> Sorry for the late reply. But I don't think so. That series is about context faults on the non-pixel stream when an IOVA lands below 0x25800000. What I see is an unidentified stream fault for SID 0x2a07, at an IOVA well above that boundary. This is from the TZ log, captured with a minidump:
>
> SMMU:>> 0x15000000 NonSec Global Fault: NSGFSR=0x80000002, NSGFAR0=0xcfc03000, NSGFSYNR0=0x2, NSGFSYNR1=0x2a072a07, NSCR0=0x280406
> Fatal Error type: TZBSP_ERR_FATAL_SMMU_FAULT
>
> 0x2a07 is the VPU's non-secure pixel stream, the counterpart of 0x1947 on SM8550. The Gen1 firmware sends all non-secure traffic through 0x2a00, but the Gen2 firmware puts pixel traffic on 0x2a07. No SMR covers that stream today, so TZ resets the SoC.
0x2a00 is the video non-protected stream
0x2a07 is the video non-protected pixel stream
I believe the subnodes patch will solve your issue too (and also
guard against the iova limitations)
Konrad
prev parent reply other threads:[~2026-11-27 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 16:14 Xilin Wu
2026-10-30 12:54 ` Konrad Dybcio
2026-11-27 8:31 ` Xilin Wu
2026-11-27 14:21 ` Konrad Dybcio [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=8771620c-3ef4-4d8e-8c7b-cfc7681753c4@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dragon@radxa.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sophon@radxa.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
all inboxes | Powered by JetHome®