Re: [PATCH] remoteproc: qcom_q6v5_adsp: Fix iommu_unmap() usage
From: Bjorn Andersson
Date: Mon Aug 31 2026 - 15:45:48 EST
On Thu, 27 Aug 2026 20:30:55 +0000, Mostafa Saleh wrote:
> During adsp_map_carveout, the IOVA is computed by combining the
> physical address and the SID:
> iova = adsp->mem_phys | (sid << 32);
>
> However, adsp_unmap_carveout() uses the physical address and not
> the IOVA in iommu_unmap(), causing the unmap to fail or leak
> mappings because the address doesn't match the original IOVA.
>
> [...]
Applied, thanks!
[1/1] remoteproc: qcom_q6v5_adsp: Fix iommu_unmap() usage
commit: 0d8e2195bce6f08c1c53c5ef4d7347fe46418101
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>