Skip to content

Added QDSS-ETM scripts#306

Open
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-etm
Open

Added QDSS-ETM scripts#306
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-etm

Conversation

@Rohan-in-Qualcomm

Copy link
Copy Markdown
Contributor

This PR introduces two new standalone test cases for the Embedded Trace Macrocell (ETM) drivers. These tests validate the ETM low-power mode toggling and the full trace data path enablement through standard sinks.

@Rohan-in-Qualcomm Rohan-in-Qualcomm changed the title Debug etm scripts Added Debug ETM scripts Feb 20, 2026
@smuppand

smuppand commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

@Rohan-in-Qualcomm Please provide a clear commit message explaining the reason for your changes. Also, rebase your patch, as it currently shows commits from others. #304

Please also resolve the issues identified by shelllint and ensure that the execute bit permissions are set correctly.

Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/run.sh
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/run.sh
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/ETM-Test-Mode.yaml Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/ETM-Trace.yaml Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/run.sh Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/run.sh Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/run.sh Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/run.sh Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/run.sh Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/README.md Outdated
@Rohan-in-Qualcomm Rohan-in-Qualcomm force-pushed the debug-etm branch 3 times, most recently from fbd6122 to 2245cb4 Compare March 5, 2026 12:13
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/ETM-Test-Mode.yaml Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Test-Mode/ETM-Test-Mode.yaml Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/ETM-Trace.yaml Outdated
Comment thread Runner/suites/Kernel/DEBUG/ETM-Trace/ETM-Trace.yaml Outdated
@Rohan-in-Qualcomm Rohan-in-Qualcomm force-pushed the debug-etm branch 3 times, most recently from 993660d to 586e5fc Compare March 18, 2026 04:39
@Rohan-in-Qualcomm Rohan-in-Qualcomm changed the title Added Debug ETM scripts Added QDSS-ETM scripts Apr 7, 2026
- ETM-Test-Mode: validates ETM programming and test mode configuration
- ETM-Trace: verifies ETM trace capture and data integrity

Signed-off-by: Rohan Dutta <rohadutt@qti.qualcomm.com>

@vnarapar vnarapar 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

@vnarapar vnarapar 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

@smuppand smuppand 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.

This ETM PR should be reviewed together with the CoreSight/QDSS helper stack.

Before merging, please align it with #389 so ETM low-power and trace-path validation reuse the common helper for CoreSight/debugfs discovery, source/sink setup, enable/disable, trace capture, cleanup, and SKIP handling.

This PR adds a large amount of standalone logic, so I would prefer to avoid merging it separately if the same discovery/setup/cleanup code will later be replaced by the shared helper. Please rebase after #389 is finalized and provide validation logs from a supported target.

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