Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 922111f5 authored by Vishwanath Raju K's avatar Vishwanath Raju K
Browse files

ARM: dts: msm: disable "dma-coherent" on qcs605-lc variant



Disable "dma-coherent" for fastrpc context banks on qcs605-lc
variant to avoid random memory crashes.

Change-Id: Ia13ef81317a75545cf8143d0016f49dccba02a48
Signed-off-by: default avatarVishwanath Raju K <vishk@codeaurora.org>
parent 6aa7d9ee
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
@@ -411,3 +411,51 @@
&apps_smmu {
	/delete-property/ qcom,actlr;
};

&msm_fastrpc_compute_cb1 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb2 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb3 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb4 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb5 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb6 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb7 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb8 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb9 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb10 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb11 {
	/delete-property/ dma-coherent;
};

&msm_fastrpc_compute_cb12 {
	/delete-property/ dma-coherent;
};
+13 −13
Original line number Diff line number Diff line
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2493,75 +2493,75 @@
		qcom,fastrpc-adsp-audio-pdr;
		qcom,fastrpc-adsp-sensors-pdr;

		qcom,msm_fastrpc_compute_cb1 {
		msm_fastrpc_compute_cb1: qcom,msm_fastrpc_compute_cb1 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1421 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb2 {
		msm_fastrpc_compute_cb2: qcom,msm_fastrpc_compute_cb2 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1422 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb3 {
		msm_fastrpc_compute_cb3: qcom,msm_fastrpc_compute_cb3 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1423 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb4 {
		msm_fastrpc_compute_cb4: qcom,msm_fastrpc_compute_cb4 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1424 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb5 {
		msm_fastrpc_compute_cb5: qcom,msm_fastrpc_compute_cb5 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1425 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb6 {
		msm_fastrpc_compute_cb6: qcom,msm_fastrpc_compute_cb6 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			iommus = <&apps_smmu 0x1426 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb7 {
		msm_fastrpc_compute_cb7: qcom,msm_fastrpc_compute_cb7 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			qcom,secure-context-bank;
			iommus = <&apps_smmu 0x1429 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb8 {
		msm_fastrpc_compute_cb8: qcom,msm_fastrpc_compute_cb8 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "cdsprpc-smd";
			qcom,secure-context-bank;
			iommus = <&apps_smmu 0x142A 0x30>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb9 {
		msm_fastrpc_compute_cb9: qcom,msm_fastrpc_compute_cb9 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "adsprpc-smd";
			iommus = <&apps_smmu 0x1803 0x0>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb10 {
		msm_fastrpc_compute_cb10: qcom,msm_fastrpc_compute_cb10 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "adsprpc-smd";
			iommus = <&apps_smmu 0x1804 0x0>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb11 {
		msm_fastrpc_compute_cb11: qcom,msm_fastrpc_compute_cb11 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "adsprpc-smd";
			iommus = <&apps_smmu 0x1805 0x0>;
			dma-coherent;
		};
		qcom,msm_fastrpc_compute_cb12 {
		msm_fastrpc_compute_cb12: qcom,msm_fastrpc_compute_cb12 {
			compatible = "qcom,msm-fastrpc-compute-cb";
			label = "adsprpc-smd";
			iommus = <&apps_smmu 0x1806 0x0>;