Skip to content

Build per-domain DSP search path cache with ARCH_VER#328

Open
Vinayak Katoch (quic-vkatoch) wants to merge 1 commit into
qualcomm:developmentfrom
quic-vkatoch:arch-ver
Open

Build per-domain DSP search path cache with ARCH_VER#328
Vinayak Katoch (quic-vkatoch) wants to merge 1 commit into
qualcomm:developmentfrom
quic-vkatoch:arch-ver

Conversation

@quic-vkatoch

@quic-vkatoch Vinayak Katoch (quic-vkatoch) commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Replace the global DSP_LIBS_LOCATION in get_dsp_search_path() with a per-domain DSP_SEARCH_PATHS_CACHE[], built lazily in domain_init().

Arch path resolved in priority order:

  • fastrpc_get_cap(ARCH_VER) low byte -> /usr/share/qcom/hexagon/v<XY>
  • Per-domain YAML key (ADSP_ARCH..GDSP1_ARCH) -> /usr/share/qcom/hexagon/<val>
  • DSP_LIBS_LOCATION only (fallback)

Add optional *_ARCH keys to the config schema and parse them into DSP_ARCH_FROM_YAML[] in fastrpc_config_parser.c, exposed via get_dsp_arch_from_yaml().

Comment thread src/fastrpc_apps_user.c
Replace the global DSP_LIBS_LOCATION in get_dsp_search_path() with a
per-domain DSP_SEARCH_PATHS_CACHE[], built lazily in domain_init().

Arch path resolved in priority order:
  1. fastrpc_get_cap(ARCH_VER) low byte -> /usr/share/qcom/hexagon/v<XY>
  2. Per-domain YAML key (ADSP_ARCH..GDSP1_ARCH) -> /usr/share/qcom/hexagon/<val>
  3. DSP_LIBS_LOCATION only (fallback)

Add optional *_ARCH keys to the config schema and parse them into
DSP_ARCH_FROM_YAML[] in fastrpc_config_parser.c, exposed via
get_dsp_arch_from_yaml().

Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

qualcomm/fastrpc.triage This pull request has been marked as stale due to 30 days of inactivity.

@github-actions github-actions Bot added the Stale label Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants