Re: [PATCH] arm64: dts: qcom: x1: split PAS remoteproc iommus out of x1-el2
From: Abel Vesa
Date: Tue Sep 15 2026 - 06:34:24 EST
On 26-09-14 21:42:21, Jens Glathe wrote:
> The shared x1-el2 overlay currently attaches apps_smmu streams to
> remoteproc_adsp/cdsp so Linux can program those SIDs when PAS is
> used to authenticate and reset the DSPs.
>
> That is wrong for the common WoA EL2 path (slbounce + shipping
> UEFI). There the DSPs are already running from the bootloader and
> the SMMU probe path leaves their SIDs in bypass. Describing iommus
> on the remoteproc nodes replaces that bypass with a translated
> context that is never set up, and boot dies in an SMMU fault storm
> on SID 0x1000 before userspace.
>
> Move the remoteproc iommus into a new x1-el2-pas overlay and apply
> it only on hamoa-iot-evk, which is the platform that actually needs
> PAS-managed remoteproc under EL2. Other x1e/x1p -el2 DTBs stay on
> the generic overlay.
>
> Tested on:
> Lenovo Yoga Slim 7x (83ED, BIOS NHCN62WW) by Birk
> Lenovo Thinkpad T14s G6 (21N1, Hamoa)
> Lenovo IdeaCentre Mini 01q8x10 (91B6, Purwa)
> Lenovo Ideapad 5 2in1 14Q8X9 (83GH, Purwa)
>
> Fixes: 47c88db49f6c ("arm64: dts: qcom: hamoa: Add remoteproc IOMMUS in EL2 device trees")
> Link: https://lore.kernel.org/all/20260130073113.3091884-1-xin.liu@xxxxxxxxxxxxxxxx/
> Suggested-by: Nikita Travkin <nikita@xxxxxxx>
> Assisted-by: Grok(xAI):4.6
> Tested-by: Birk Skyum <birk.skyum@xxxxx>
> Signed-off-by: Jens Glathe <jens.glathe@xxxxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>