Skip to content

Conversation

@quic-vkatoch
Copy link
Contributor

@quic-vkatoch quic-vkatoch commented Nov 28, 2025

Add DSP_LIBRARY_PATH entries in a new YAML file for the supported machines to enable consistent, machine-specific DSP library resolution.
The machine entries are sorted alphabetically by machine name to ensure maintainability and stability as new properties are added in the future. Also update the test script (check.py) to validate that paths in config.txt are consistent with entries in 00-hexagon-dsp-binaries.yaml, and update the Makefile to install the YAML file to the conf.d directory alongside the DSP binaries.

"Thundercomm Dragonboard 845c":
DSP_LIBRARY_PATH: "/sdm845/Thundercomm/db845c/"
"Qualcomm Technologies, Inc. Robotics RB5":
DSP_LIBRARY_PATH: "sm8250/Thundercomm/RB5/"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is not consistent with the rest of them. Why do we need the leading and trailing slash characters?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

"Qualcomm Technologies, Inc. QCS8300 Ride":
DSP_LIBRARY_PATH: "/qcs8300/Qualcomm/QCS8300-RIDE/"
"Qualcomm SA8775P Ride":
DSP_LIBRARY_PATH: "/sa8775p/Qualcomm/SA8775P-RIDE/" No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing EoL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

DSP_LIBRARY_PATH: "/qrb4210/Thundercomm/RB2/"
"Qualcomm Technologies, Inc. Robotics RB3gen2":
DSP_LIBRARY_PATH: "/qcm6490/Thundercomm/RB3gen2/"
"Qualcomm QCS9100 Ride Rev3":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed IQ boards which are also supported by the release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, updated.

@quic-vkatoch quic-vkatoch requested a review from lumag December 5, 2025 05:44
@quic-vkatoch quic-vkatoch marked this pull request as ready for review December 5, 2025 07:14
@lumag
Copy link
Collaborator

lumag commented Dec 5, 2025

This can very quickly become unmanageable. Could you please sort them (e.g. by the DSP path) and add a comment describing sorting order? Also please extend testing scripts. New DSP subdirs must have an entry in the config file.

@ekanshibu
Copy link

Can you also add make install rules for this file?

@quic-vkatoch
Copy link
Contributor Author

This can very quickly become unmanageable. Could you please sort them (e.g. by the DSP path) and add a comment describing sorting order? Also please extend testing scripts. New DSP subdirs must have an entry in the config file.

Ack, I’ll sort them based on machine names so that other properties can be added if needed. I’ll also update the test scripts.

@quic-vkatoch
Copy link
Contributor Author

Can you also add make install rules for this file?

Sure, will update.

@quic-vkatoch quic-vkatoch force-pushed the add-dsp-lib-paths branch 2 times, most recently from 1d3d217 to e4f55c4 Compare December 8, 2025 08:37
Makefile Outdated

install:
./scripts/install.sh config.txt ${DESTDIR}/${DSPDIR}
install -D -m 0644 machine_dsp_paths.yml ${DESTDIR}/${DSPDIR}/conf.d/machine_dsp_paths.yml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

00-hexagon-dsp-binaries.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, renamed file to 00-hexagon-dsp-binaries.yaml and updated Makefile and check.py accordingly.

Add DSP_LIBRARY_PATH entries in a new YAML file for the
supported machines to enable consistent, machine-specific
DSP library resolution.

The machine entries are sorted alphabetically by machine name
to ensure maintainability and stability as new properties are
added in the future.

Update the Makefile to install the YAML file to the conf.d
directory alongside the DSP binaries.

Signed-off-by: Vinayak Katoch <[email protected]>
Add validation to ensure paths in config.txt exist in
00-hexagon-dsp-binaries.yaml, reporting each missing path once.

Signed-off-by: Vinayak Katoch <[email protected]>
@lumag lumag enabled auto-merge December 9, 2025 06:17
@lumag lumag merged commit 3a32569 into linux-msm:trunk Dec 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants