Re: [PATCH] arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent

Abhishek Chauhan (ABC)
2024-04-25T23:21:04Z

On 4/25/2024 4:07 PM, Sagar Cheluvegowda wrote:
> Ethernet devices are cache coherent, mark it as such in the dtsi.
>
> Change-Id: Id180fae617f2e348c0a80c6664b131cc57fcb4d6
Remove internal change id.
Not required for upstreaming any changes.
> Signed-off-by: Sagar Cheluvegowda <quic_scheluve@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> index 231cea1f0fa8..5ab4ca978837 100644
> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> @@ -2504,6 +2504,7 @@ ethernet1: ethernet@23000000 {
> phy-names = "serdes";
>
> iommus = <&apps_smmu 0x140 0xf>;
> + dma-coherent;
>
> snps,tso;
> snps,pbl = <32>;
> @@ -2538,6 +2539,7 @@ ethernet0: ethernet@23040000 {
> phy-names = "serdes";
>
> iommus = <&apps_smmu 0x120 0xf>;
> + dma-coherent;
>
> snps,tso;
> snps,pbl = <32>;
>
> ---
> base-commit: a93289b830ce783955b22fbe5d1274a464c05acf
> change-id: 20240425-mark_ethernet_devices_dma_coherent-6c6154b84165
>
> Best regards,