Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions Runner/suites/Multimedia/CDSP/fastrpc_test/fastrpc_test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
metadata:
name: fastrpc-test
format: "Lava-Test Test Definition 1.0"
description: "The **fastrpc_test** runner validates FastRPC (Fast Remote Procedure Call) on Qualcomm targets, offloading work to DSP domains (e.g., **CDSP**)."
description: |
The **fastrpc_test** runner validates FastRPC (Fast Remote Procedure Call) on Qualcomm targets.

**Enhanced Test Coverage**:
- Now tests ALL supported DSP domains detected at runtime (ADSP, MDSP, SDSP, CDSP, CDSP1, GPDSP0, GPDSP1)
- Tests BOTH signed (system) and unsigned (user) Protection Domains where hardware supports them
- ADSP/MDSP/SDSP: signed PD only; CDSP/CDSP1/GPDSP: both signed and unsigned PDs
- For single-domain testing: set DOMAIN_MODE="single" and specify DOMAIN or DOMAIN_NAME
os:
- linux
scope:
Expand All @@ -10,17 +17,19 @@ metadata:
params:
ARCH: "" # Architecture (only if explicitly provided)
BIN_DIR: "/usr/bin" # Directory containing 'fastrpc_test' (default: /usr/bin)
DOMAIN: "0" # <0|1|2|3> DSP domain: 0=ADSP, 1=MDSP, 2=SDSP, 3=CDSP
DOMAIN_NAME: "adsp" # DSP domain by name: adsp|mdsp|sdsp|cdsp
USER_PD: 0 # Use '-U 1' (user/unsigned PD). Default is '-U 0'.
DOMAIN_MODE: "all-supported" # all-supported|single (default: all-supported - tests all detected domains)
DOMAIN: "" # Optional explicit domain id in single-domain mode
DOMAIN_NAME: "" # Optional explicit domain name in single-domain mode
PD_MODE: "both" # both|signed-only|unsigned-only (default: both - tests both PDs where supported)
UNSIGNED_PD: "" # If set to non-zero, runs only unsigned PD mode (-U 1)
REPEAT: 1 # Number of repetitions (default: 1)
TIMEOUT: "" # Timeout for each run (no timeout if omitted)

run:
steps:
- REPO_PATH=$PWD
- cd Runner/suites/Multimedia/CDSP/fastrpc_test
- USER_PD_PARAM=""
- if [ "${USER_PD}" != 0 ]; then USER_PD_PARAM="--user-pd"; fi
- ./run.sh --arch "${ARCH}" --bin-dir "${BIN_DIR}" --domain "${DOMAIN}" --domain-name "${DOMAIN_NAME}" --repeat "${REPEAT}" --timeout "${TIMEOUT}" $USER_PD_PARAM || true
- UNSIGNED_PD_PARAM=""
- if [ -n "${UNSIGNED_PD}" ] && [ "${UNSIGNED_PD}" != 0 ]; then UNSIGNED_PD_PARAM="--unsigned-pd"; fi
- ./run.sh --arch "${ARCH}" --bin-dir "${BIN_DIR}" --domain-mode "${DOMAIN_MODE}" --domain "${DOMAIN}" --domain-name "${DOMAIN_NAME}" --pd-mode "${PD_MODE}" --repeat "${REPEAT}" --timeout "${TIMEOUT}" $UNSIGNED_PD_PARAM || true
- $REPO_PATH/Runner/utils/send-to-lava.sh fastrpc_test.res || true
Loading