Skip to content

Add QDSS STM and TMC Support in DEBUG Suite#304

Open
Rohan-in-Qualcomm wants to merge 1 commit intoqualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug
Open

Add QDSS STM and TMC Support in DEBUG Suite#304
Rohan-in-Qualcomm wants to merge 1 commit intoqualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug

Conversation

@Rohan-in-Qualcomm
Copy link

This PR adds support for QDSS STM and TMC configuration within the DEBUG suite.

Key Changes

  • Added DEBUG folder with initial scripts.
  • Integrated QDSS STM configuration logic.
  • Added TMC handling for trace capture.
  • Updated run scripts to ensure proper initialization and loading of QDSS debug components.

@vnarapar
Copy link
Contributor

Please check the commit, i see old commit aswell

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please factor out common Coresight reset/discovery helpers instead of duplicating similar reset_source_sink / sink discovery logic in multiple files. Right now the DEBUG suite is adding several near-duplicate implementations.

@Rohan-in-Qualcomm Rohan-in-Qualcomm force-pushed the debug branch 5 times, most recently from aab5563 to 80aff63 Compare March 5, 2026 11:46
- MultiSource-STM-ETM: validates STM and ETM multi-source trace configuration
- Sink-Status-STM-Toggle: tests STM sink status and toggle functionality
- STM-HWE-PORT-SWITCH: verifies STM hardware event port switching
- STM-Source-Enable-Disable: tests STM source enable/disable via sysfs
- Added coresight_common.sh utility for shared functions

Signed-off-by: Rohan Dutta <rohadutt@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants