Re: [PATCH] arm64: dts: qcom: sm8650: set ufs as dma coherent

From: Krzysztof Kozlowski

Date: Tue Oct 07 2025 - 22:57:13 EST


On 08/10/2025 03:53, Neil Armstrong wrote:
> The UFS device is ovbiously dma coherent like the other IOMMU devices
> like usb, mmc, ... let's fix this by adding the flag.
>
> To be sure an extensive test has been performed to be sure it's
> safe, as downstream uses this flag for UFS as well.
>
> As an experiment, I checked how the dma-coherent could impact
> the UFS bandwidth, and it happens the max bandwidth on cached
> write is slighly highter (up to 10%) while using less cpu time
> since cache sync/flush is skipped.
>
> Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes")
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof