Skip to content

Added QDSS STM and TMC Support in DEBUG Suite - #304

Merged
Srikanth Muppandam (smuppand) merged 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug
May 22, 2026
Merged

Added QDSS STM and TMC Support in DEBUG Suite#304
Srikanth Muppandam (smuppand) merged 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug

Conversation

@Rohan-in-Qualcomm

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Please check the commit, i see old commit aswell

This was referenced Feb 22, 2026

Copy link
Copy Markdown
Contributor

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.

Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/MultiSource-STM-ETM.yaml Outdated
Comment threadRunner/suites/Kernel/DEBUG/STM-HWE-PORT-SWITCH/STM-HWE-PORT-SWITCH.yaml Outdated
Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/README.md Outdated
Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/run.sh Outdated
Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/run.sh Outdated
Comment threadRunner/suites/Kernel/DEBUG/STM-Source-Enable-Disable/run.sh Outdated
Comment threadRunner/suites/Kernel/DEBUG/STM-Source-Enable-Disable/run.sh
Comment threadRunner/suites/Kernel/DEBUG/STM-Source-Enable-Disable/run.sh Outdated
@Rohan-in-Qualcomm
Rohan-in-Qualcommforce-pushed the debug branch 5 times, most recently from aab5563 to 80aff63CompareMarch 5, 2026 11:46
@Rohan-in-Qualcomm
Rohan-in-Qualcommforce-pushed the debug branch 3 times, most recently from e4d2204 to 00cc275CompareMarch 17, 2026 04:40
@Rohan-in-QualcommRohan-in-Qualcomm changed the title Add QDSS STM and TMC Support in DEBUG SuiteAdded QDSS STM and TMC Support in DEBUG SuiteApr 7, 2026
@vnarapar
vnarapar self-requested a review May 4, 2026 08:45
vnarapar
vnarapar previously approved these changes May 4, 2026

@vnaraparvnarapar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please fix the shellcheck reported fixes.

Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/run.sh Outdated
Comment threadRunner/suites/Kernel/DEBUG/MultiSource-STM-ETM/run.sh Outdated
- 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>

@vnaraparvnarapar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@smuppand
Srikanth Muppandam (smuppand) merged commit a72b8f1 into qualcomm-linux:mainMay 22, 2026
12 checks passed
Sign up for freeto 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

@Rohan-in-Qualcomm@vnarapar@smuppand