From 630c7769b38f56fa761095c34bb9314f3a0d5098 Mon Sep 17 00:00:00 2001 From: gururaj chalgeri Date: Mon, 24 Aug 2020 16:31:39 +0530 Subject: [PATCH 1/2] ARM: dts: msm: Add QOS core list and CDSP loader Add cdsp loader in dtsi and QOS core list property to the device tree, to dynamically enable silver cores for fastRPC Driver. Change-Id: I9ea99c8be35867e3a9d77060fc3b2bf088948641 --- qcom/shima.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 9d8d1697306f..64c008915694 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -1737,6 +1737,11 @@ mbox-names = "cdsp-pil"; }; + qcom,msm-cdsp-loader { + compatible = "qcom,cdsp-loader"; + qcom,proc-img-to-load = "cdsp"; + }; + qcom,msm-adsprpc-mem { compatible = "qcom,msm-adsprpc-mem-region"; memory-region = <&adsp_mem>; @@ -1786,6 +1791,8 @@ qcom,fastrpc-adsp-audio-pdr; qcom,fastrpc-adsp-sensors-pdr; qcom,rpc-latency-us = <235>; + qcom,fastrpc-gids = <2908>; + qcom,qos-cores = <0 1 2 3>; qcom,msm_fastrpc_compute_cb1 { compatible = "qcom,msm-fastrpc-compute-cb"; From f3184ed58e07147802211a1847efa34725fe975c Mon Sep 17 00:00:00 2001 From: gururaj chalgeri Date: Fri, 28 Aug 2020 23:43:21 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Add secure carveout ION heaps for Shima Add the secure carveout ION heaps for shima. Change-Id: I77a939c1bcec9b36eb154e679f46173b2f1e109a --- qcom/shima-ion.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qcom/shima-ion.dtsi b/qcom/shima-ion.dtsi index 36e12a2b0e7d..a45eccd08e95 100644 --- a/qcom/shima-ion.dtsi +++ b/qcom/shima-ion.dtsi @@ -16,6 +16,15 @@ qcom,ion-heap-type = "SYSTEM_SECURE"; }; + qcom,ion-heap@14 { /* SECURE CARVEOUT HEAP */ + reg = ; + qcom,ion-heap-type = "SECURE_CARVEOUT"; + cdsp { + memory-region = <&cdsp_secure_heap_mem>; + token = <0x20000000>; + }; + }; + qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */ reg = ; memory-region = <&secure_display_memory>;