Enhance fastrpc_test for multi-domain and multi-PD execution#406
Open
anankulk wants to merge 1 commit intoqualcomm-linux:mainfrom
Open
Enhance fastrpc_test for multi-domain and multi-PD execution#406anankulk wants to merge 1 commit intoqualcomm-linux:mainfrom
anankulk wants to merge 1 commit intoqualcomm-linux:mainfrom
Conversation
Enhance fastrpc_test to discover and test all supported DSP domains at runtime instead of hardcoding a single domain. Changes: - Runtime domain discovery via dt_has_remoteproc_fw() - Support for CDSP1, GPDSP0, GPDSP1 in addition to existing domains - Domain-aware PD execution (ADSP/MDSP/SDSP: signed only; CDSP/GPDSP: both signed and unsigned) - Tabular summary showing per-domain, per-PD test results Default behavior now tests all discovered domains with appropriate PD modes. Single-domain execution still supported via --domain-mode option. Signed-off-by: Anand Kulkarni <anankulk@qti.qualcomm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds runtime domain discovery to fastrpc_test, enabling looped execution across all supported DSP domains and PD modes without target-specific hardcoding.
Change Summary
Runtime fetch : Detects available domains via remoteproc/DT
Extended domain support: CDSP1, GPDSP0, GPDSP1
Domain-aware PD execution:
ADSP/MDSP/SDSP: signed only
CDSP/GPDSP: both signed and unsigned
Enhanced reporting: Tabular per-domain, per-PD summary
Expected Sample Output : (qcs9100-ride-sx)
Domain | PD Mode | Pass | Fail | Status
ADSP | Signed | 1 | 0 | PASS
CDSP | Signed | 1 | 0 | PASS
CDSP | Unsigned | 1 | 0 | PASS
CDSP1 | Signed | 1 | 0 | PASS
CDSP1 | Unsigned | 1 | 0 | PASS
GPDSP0 | Signed | 1 | 0 | PASS
GPDSP0 | Unsigned | 1 | 0 | PASS
GPDSP1 | Signed | 1 | 0 | PASS
GPDSP1 | Unsigned | 1 | 0 | PASS
Overall: Total runs: 9 | Passed: 9 | Failed: 0
Backward Compatibility
Explicit domain/PD overrides preserved via --domain, --domain-name, --pd-mode, and environment variables.
Impact
Coverage: Tests all available domains/PDs automatically
Maintenance: No target-specific configuration needed
Execution time: Increases proportionally to domain count (expected)