Re: [PATCH v3] arm64: dts: qcom: sc8280xp: Mark FastRPC context banks as dma-coherent
From: Konrad Dybcio
Date: Wed Sep 09 2026 - 09:36:28 EST
On 9/9/26 10:08 AM, Xilin Wu wrote:
> The FastRPC context banks are DMA-coherent on SC8280XP. Describe this in
> the device tree so that the DMA API uses the appropriate coherency
> attributes for their mappings.
>
> When FastRPC allocates shared buffers from the system DMA heap, the
> missing property can cause intermittent failures while loading DSP
> libraries. Both fastrpc_test and the QAIRT platform validator can fail
> with DSP loader errors such as "mmap hdrs failed" and "bad address".
>
> Mark the ADSP, CDSP and SLPI FastRPC context banks as dma-coherent to fix
> these failures and allow QAIRT applications to run on the CDSP. It also
> matches the behavior of the Windows driver.
>
> Signed-off-by: Xilin Wu <sophon@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad