Build per-domain DSP search path cache with ARCH_VER#328
Open
Vinayak Katoch (quic-vkatoch) wants to merge 1 commit into
Open
Build per-domain DSP search path cache with ARCH_VER#328Vinayak Katoch (quic-vkatoch) wants to merge 1 commit into
Vinayak Katoch (quic-vkatoch) wants to merge 1 commit into
Conversation
f7bb9c9 to
44cd9f5
Compare
44cd9f5 to
ab6d8e4
Compare
Anandu Krishnan E (quic-anane)
approved these changes
Jun 1, 2026
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>
ab6d8e4 to
be04fe3
Compare
|
qualcomm/fastrpc.triage This pull request has been marked as stale due to 30 days of inactivity. |
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.
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:
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().