[PATCH v1 2/2] arm64: dts: qcom: kodiak-el2: add LPASS AML IOMMU SIDs for eNPU audio offload
From: Karthik S
Date: Tue Aug 25 2026 - 09:44:43 EST
Add the three LPASS AML stream IDs to remoteproc_adsp in the
kodiak EL2 overlay so that the q6apm-audio-mem-cma child driver
can obtain an IOMMU domain via iommu_get_domain_for_dev(dev).
Without these SIDs the CMA device has no IOMMU domain (has_iommu=0)
and IOCTL_MAP_HYP_ASSIGN falls through to the SCM path, which fails
on RB3Gen2 because Gunyah owns the SMMU.
SID assignments:
0x1860 / mask 0x9 — ML Activation + Weights + Write streams
0x1862 / mask 0x1 — ML Config + Bias streams
0x1864 / mask 0x0 — ML Normalized Data stream
Signed-off-by: Karthik S <karthik.s@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/kodiak-el2.dtso | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/kodiak-el2.dtso b/arch/arm64/boot/dts/qcom/kodiak-el2.dtso
index 8daf7f02fd75..d050857cab31 100644
--- a/arch/arm64/boot/dts/qcom/kodiak-el2.dtso
+++ b/arch/arm64/boot/dts/qcom/kodiak-el2.dtso
@@ -13,7 +13,10 @@ &gpu_zap_shader {
};
&remoteproc_adsp {
- iommus = <&apps_smmu 0x1800 0x0>;
+ iommus = <&apps_smmu 0x1800 0x0>,
+ <&apps_smmu 0x1860 0x9>,
+ <&apps_smmu 0x1862 0x1>,
+ <&apps_smmu 0x1864 0x0>;
};
&remoteproc_cdsp {
--
2.34.1