Re: [PATCH] misc: fastrpc: map ADSP remote heap into remoteproc IOMMU domain

From: Srinivas Kandagatla

Date: Mon Nov 16 2026 - 05:10:48 EST



On Thu, 18 Jun 2026 15:21:21 +0530, Anandu Krishnan E wrote:
> On KVM-based targets the kernel runs at EL2 without a separate
> hypervisor to manage inter-VM memory access control. In this
> configuration the remoteproc is assigned its own IOMMU domain, and
> any memory carveout the DSP must access requires an explicit mapping
> into that domain before the DSP can reach it.
>
> The existing code calls qcom_scm_assign_mem() to transfer ownership
> of the ADSP remote heap carveout from HLOS to the DSP VM. This SCM
> call is only meaningful when a separate hypervisor (e.g. Gunyah) is
> present to enforce inter-VM memory access control. On KVM-based
> targets no such hypervisor exists, so the carveout must instead be
> mapped into the remoteproc's IOMMU domain via an identity mapping
> (IOVA == PA) using iommu_map(). Without this mapping the DSP
> triggers an SMMU translation fault when accessing the remote heap
> during audio PD static process creation.
>
> [...]

Applied, thanks!

[1/1] misc: fastrpc: map ADSP remote heap into remoteproc IOMMU domain
commit: f914df45c32280850dd7aaaaacb1b356087e5a09

Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>