The audio ML offload use case on Lemans requires a dedicated contiguous memory region shared with the audio DSP/SPF as well as corresponding SMMU stream ID mappings under the EL2 configuration.
This series adds a dedicated CMA pool for audio ML buffers and associates it with the q6apm audio subsystem. It also updates the ADSP SMMU configuration in the EL2 overlay to include the ML-related stream IDs required for DMA transactions during model offload. Without these changes, audio ML workloads may fail due to unavailable contiguous memory or SMMU faults caused by unmapped stream IDs. changes in v2: - fixed dt binding issue for iommu. - v1 link: https://lore.kernel.org/all/[email protected]/ Pratyush Meduri (3): dt-bindings: remoteproc: qcom,pas-common: allow up to 3 iommus arm64: dts: qcom: lemans: enable audio ML offload memory and SMMU mappings arm64: dts: qcom: monaco: enable audio ML offload memory and SMMU mappings .../devicetree/bindings/remoteproc/qcom,pas-common.yaml | 3 ++- arch/arm64/boot/dts/qcom/lemans-el2.dtso | 4 +++- arch/arm64/boot/dts/qcom/lemans.dtsi | 9 +++++++++ arch/arm64/boot/dts/qcom/monaco-el2.dtso | 4 +++- arch/arm64/boot/dts/qcom/monaco.dtsi | 9 +++++++++ 5 files changed, 26 insertions(+), 3 deletions(-) base-commit: b8809969e1d7a591e0f49dd464a5d04b3cf02ab1 -- 2.34.1

