]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sa8775p: Mark APPS and PCIe SMMUs as DMA coherent
authorQingqing Zhou <quic_qqzhou@quicinc.com>
Thu, 25 Jul 2024 07:21:17 +0000 (12:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:33:40 +0000 (16:33 +0200)
commit 421688265d7f5d3ff4211982e7231765378bb64f upstream.

The SMMUs on sa8775p are cache-coherent. GPU SMMU is marked as such,
mark the APPS and PCIe ones as well.

Fixes: 603f96d4c9d0 ("arm64: dts: qcom: add initial support for qcom sa8775p-ride")
Fixes: 2dba7a613a6e ("arm64: dts: qcom: sa8775p: add the pcie smmu node")
Cc: stable@vger.kernel.org
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
Rule: add
Link: https://lore.kernel.org/stable/20240723075948.9545-1-quic_qqzhou%40quicinc.com
Link: https://lore.kernel.org/r/20240725072117.22425-1-quic_qqzhou@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index 490e0369f529931e637e4de9111cff6b1bb3b8c4..3a51e79af1bb6ce83a56a1d2eb55b2d9f5a429c6 100644 (file)
                        reg = <0x0 0x15000000 0x0 0x100000>;
                        #iommu-cells = <2>;
                        #global-interrupts = <2>;
+                       dma-coherent;
 
                        interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
                        reg = <0x0 0x15200000 0x0 0x80000>;
                        #iommu-cells = <2>;
                        #global-interrupts = <2>;
+                       dma-coherent;
 
                        interrupts = <GIC_SPI 920 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 921 IRQ_TYPE_LEVEL_HIGH>,