From e06d08c3268a4c72ad7ed59939720ca47cea3a81 Mon Sep 17 00:00:00 2001 From: songchai Date: Mon, 16 Dec 2024 22:12:24 -0800 Subject: [PATCH] ARM: dts: msm: add reserved mem for secure_etr Add reserved mem for secure_etr on Kera. Change-Id: Iba7321717cac50b17d85ef03cf3ae16ec407adcc Signed-off-by: songchai --- qcom/kera-coresight.dtsi | 1 + qcom/kera-reserved-memory.dtsi | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/qcom/kera-coresight.dtsi b/qcom/kera-coresight.dtsi index 6570b640..b8bf474c 100644 --- a/qcom/kera-coresight.dtsi +++ b/qcom/kera-coresight.dtsi @@ -2302,6 +2302,7 @@ real-name = "coresight-tmc-etr1"; qdss,buffer-size = <0x2000000>; qcom,secure-component; + memory-region = <&qdss_apps_mem>; coresight-csr = <&csr>; csr-atid-offset = <0x108>; csr-irqctrl-offset = <0x70>; diff --git a/qcom/kera-reserved-memory.dtsi b/qcom/kera-reserved-memory.dtsi index 665a87f6..96bd02e3 100644 --- a/qcom/kera-reserved-memory.dtsi +++ b/qcom/kera-reserved-memory.dtsi @@ -117,6 +117,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 0x3700000>;