-
Notifications
You must be signed in to change notification settings - Fork 41
fastrpc-test :enable tests on QRB2210, Glymur CRD, and SM8850 #532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anankulk
wants to merge
1
commit into
qualcomm-linux:main
Choose a base branch
from
anankulk:enable_glymur_rb1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,20 +238,11 @@ if [ -z "$DOMAINS_TO_TEST" ]; then | |
| fi | ||
|
|
||
| # -------------------- SoC-specific domain blacklist -------------------- | ||
| # QRB2210: FastRPC not supported - skip entire test | ||
| # QCS9075, QCS8275, QCS8300, QCS9100: GPDSP0 (domain 5) and GPDSP1 (domain 6) not supported currently | ||
| # SM8850: libhap_example HAP_mem DMA not supported - treat as known skip per invocation | ||
| # | ||
| # Do not skip Glymur CRD by SoC name. Newer Glymur/Debian images expose | ||
| # ADSP/CDSP remoteproc instances and FastRPC skeletons, so runtime discovery | ||
| # should decide whether the test can run. | ||
| soc_skip_all=0 | ||
| soc_skip_gpdsp=0 | ||
|
|
||
| case "$SOC_MACHINE" in | ||
| *QRB2210*|*"Glymur CRD"*) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. QRB2210 and Glymur now reach generic discovery, but discover_supported_domains() checks remoteproc/DT presence—not whether the corresponding FastRPC endpoint, libraries, and skeletons are usable. Runtime-layout discovery merely warns when artifacts are absent. |
||
| soc_skip_all=1 | ||
| ;; | ||
| *QCS9075*|*QCS8275*|*QCS8300*|*QCS9100*) | ||
| soc_skip_gpdsp=1 | ||
| ;; | ||
|
|
@@ -433,15 +424,10 @@ for DOMAIN in $DOMAINS_TO_TEST; do | |
| fi | ||
|
|
||
| # Track invocation result immediately | ||
| # SM8850: libhap_example HAP_mem DMA handle not supported - treat as known skip | ||
| if [ "$rc" -eq 0 ] && [ -r "$iter_log" ] && grep -F -q -e "All tests completed successfully" -e "All applicable tests PASSED" "$iter_log"; then | ||
| PASS_COUNT=$((PASS_COUNT+1)) | ||
| combo_pass=$((combo_pass+1)) | ||
| log_pass "$iter_tag: success" | ||
| elif case "$SOC_MACHINE" in *SM8850*) true ;; *) false ;; esac && only_hap_example_failed "$iter_log"; then | ||
| PASS_COUNT=$((PASS_COUNT+1)) | ||
| combo_pass=$((combo_pass+1)) | ||
| log_pass "$iter_tag: success (libhap_example.so HAP_mem skipped on $SOC_MACHINE - DMA handle not supported)" | ||
| else | ||
| combo_fail=$((combo_fail+1)) | ||
| log_warn "$iter_tag: success pattern not found" | ||
|
|
||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
soc_skip_all is initialized to 0 but can no longer become 1.Remove soc_skip_all and its block at lines 251–255 rename the section to describe the remaining GPDSP filter.