From 94d754d895c53bee8f522c156f11312b0467a214 Mon Sep 17 00:00:00 2001 From: songchai Date: Mon, 25 Nov 2024 15:53:20 +0800 Subject: [PATCH] ARM: dts: msm: add reserved mem for secure_etr Add reserved mem for secure_etr. Change-Id: I0c6828e68b6793878369cd51c865aac4c310a524 Signed-off-by: songchai --- qcom/tuna-coresight.dtsi | 2 +- qcom/tuna-reserved-memory.dtsi | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/qcom/tuna-coresight.dtsi b/qcom/tuna-coresight.dtsi index a43b3421..f732d799 100644 --- a/qcom/tuna-coresight.dtsi +++ b/qcom/tuna-coresight.dtsi @@ -3898,7 +3898,7 @@ real-name = "coresight-tmc-etr1"; qdss,buffer-size = <0x2000000>; qcom,secure-component; - /* memory-region = <&qdss_apps_mem>;*/ + memory-region = <&qdss_apps_mem>; coresight-csr = <&csr>; csr-atid-offset = <0x108>; csr-irqctrl-offset = <0x70>; diff --git a/qcom/tuna-reserved-memory.dtsi b/qcom/tuna-reserved-memory.dtsi index a0c6bbdf..c7654d6d 100644 --- a/qcom/tuna-reserved-memory.dtsi +++ b/qcom/tuna-reserved-memory.dtsi @@ -122,6 +122,12 @@ reg = <0x0 0x82700000 0x0 0x100000>; }; + qdss_apps_mem: qdss_apps_region@82800000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x82800000 0x0 0x2000000>; + reusable; + }; + dsm_partition_1_mem: dsm_partition_1_region@84a00000 { no-map; reg = <0x0 0x84a00000 0x0 0x4900000>;