Re: [PATCH] arm64: dts: qcom: Add coresight nodes for QCS615

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/4/2024 10:11 PM, Konrad Dybcio wrote:
On 28.10.2024 3:53 AM, Jie Gan wrote:


On 10/28/2024 8:54 AM, Jie Gan wrote:


On 10/26/2024 2:47 AM, Konrad Dybcio wrote:
On 17.10.2024 5:00 AM, Jie Gan wrote:
Add following coresight components on QCS615, EUD, TMC/ETF, TPDM, dynamic
Funnel, TPDA, Replicator and ETM.

Signed-off-by: Jie Gan <quic_jiegan@xxxxxxxxxxx>
---
Already checked by command:dtbs_check W=1.

Dependencies:
1. Depends on qcs615 base dtsi change:
https://lore.kernel.org/all/20240926-add_initial_support_for_qcs615- v3-5-e37617e91c62@xxxxxxxxxxx/
2. Depends on qcs615 AOSS_QMP change:
https://lore.kernel.org/linux-arm-msm/20241017025313.2028120-4- quic_chunkaid@xxxxxxxxxxx/
---
   arch/arm64/boot/dts/qcom/qcs615.dtsi | 1632 ++++++++++++++++++++++++++
   1 file changed, 1632 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/ dts/qcom/qcs615.dtsi
index 856b40e20cf3..87cca5de018e 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -202,6 +202,18 @@ l3_0: l3-cache {
           };
       };
+    dummy_eud: dummy_sink {

Node names (after the ':' and before the '{' signs) can't contain
underscores, use '-' instead.
Sure, will fix it.


[...]

+        stm@6002000 {
+            compatible = "arm,coresight-stm", "arm,primecell";
+            reg = <0x0 0x6002000 0x0 0x1000>,

Please pad the non-zero address part to 8 hex digits with leading
zeroes, across the board
Will fix it.


This looks like a lot of nodes, all enabled by default. Will this run
on a production-fused device?
Yes, usually Coresight nodes are enabled by default. Those nodes can run on the commercial devices.
Sorry, my last clarification is not clearly. The Coresight nodes are enabled by default for commercial devices(fused), but only part of functions can run with commercial devices because it needs check fuse data before running.

If we want enable all debug functions related to coresight nodes on commercial devices, we need APDP override(APPS debug policy override) procedure first. The APDP override procedure will override some fuse data to allow debug sessions.

In other words, will a production fused device boot with this patch
applied?

Yes, a fused device can boot with this patch.

Thanks,
Jie





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux