Skip to content

Added TGU Enable/Disable Validation Script#371

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

Added TGU Enable/Disable Validation Script#371
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-ipcb

Conversation

@Rohan-in-Qualcomm

Copy link
Copy Markdown
Contributor
  • TGU-Enable-Disable: This script validates the state transtions of Coresight TGU devices. It dynamically discovers all the nodes and tries to toggle them on (1) or off (0) and checks for errors.

* TGU-Enable-Disable: This script validates the state transtions of Coresight TGU devices.
It dynamically discovers all the nodes and tries to toggle them on (1) or off (0) and checks for errors.

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

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

The TGU enable/disable validation should align with the common CoreSight helper direction from #389.

Please rebase after #389 is finalized and reuse the shared helper where possible for node discovery, state read/write, cleanup, and result reporting.

Since this test toggles hardware/debug nodes, please add robust cleanup traps and restore original state on EXIT/INT/TERM. Missing TGU/CoreSight/debugfs nodes should SKIP cleanly rather than FAIL on unsupported platforms.

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.

2 participants