Skip to content

test: verify SYSTEM_RESET callback behavior#92

Merged
avpatel merged 1 commit into
mainfrom
stack/slingapp_tests2/pr-2-system-reset-tests
Jun 18, 2026
Merged

test: verify SYSTEM_RESET callback behavior#92
avpatel merged 1 commit into
mainfrom
stack/slingapp_tests2/pr-2-system-reset-tests

Conversation

@slingappa

@slingappa slingappa commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

This PR adds focused SYSTEM_RESET callback behavior coverage.

Stack

Depends on: PR-1

Changes

  • Extend existing SYSTEM_RESET coverage for:
    • Callback count/type validation
    • Cold reboot and shutdown reset paths
    • Unsupported reset type behavior
    • Posted-request no-ACK behavior

Validation

  • make LIBRPMI_TEST=y CROSS_COMPILE= && make check CROSS_COMPILE=

Track reset callback invocation count and reset type so posted
SYSTEM_RESET requests are validated beyond response payload checks.

Cover both configured reset types, shutdown and cold reboot, and add
an unsupported reset-type posted request to verify the platform callback
is not invoked. The shared harness also verifies that posted requests do
not generate acknowledgements.

Signed-off-by: Subrahmanya Lingappa <subrahmanya.lingappa@qti.qualcomm.com>
@slingappa slingappa force-pushed the stack/slingapp_tests2/pr-2-system-reset-tests branch from 489a78f to b176c51 Compare June 17, 2026 04:33
@slingappa

Copy link
Copy Markdown
Collaborator Author

@avpatel please review

@avpatel

avpatel commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Looks good to me.

@avpatel avpatel marked this pull request as ready for review June 18, 2026 16:23
@avpatel avpatel merged commit c797d98 into main Jun 18, 2026
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