Repository navigation
Conversation
Add a fw_modules debugfs file to list the library ID, module ID, UUID and name of the modules in the basefw and the loaded libraries. Example: # cat /sys/kernel/debug/sof/fw_modules lib | module | UUID | name 0 | 0 | 2B79E4F3-4675-F649-89DF-3BC194A91AEB | BRNGUP 0 | 1 | D406D134-C3C1-402C-8AEC-6821C0C2B0E6 | COLD .. 0 | 12 | 0D116EA6-9150-46DE-98B8-B2B3A791DA29 | STFTPROC 1 | 0 | B0CDCD9E-EF8B-404F-8480-0F287FC9D44D | IIR 1 | 1 | 93446E12-1864-4E04-AFE0-3B1D778FFB79 | FIR 1 | 2 | 99F7166D-372C-43EF-81F6-22007AA15F03 | ARIA ... Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
ujfalusi
requested review from
bardliao,
dbaluta,
kv2019i,
lgirdwood,
plbossart and
ranj063
as code owners
November 24, 2026 16:12
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the read-only firmware module diagnostics change.
No open issues 🎉
What changed in this PR
Adds a read-only fw_modules debugfs file to the SOF IPC4 loader, making firmware module information available for diagnostics.
Changes:
- Lists library IDs, module IDs, UUIDs, and names for the base firmware and loaded libraries.
- Registers the file after base firmware initialization and uses the existing SOF debugfs cleanup.
| File | Description |
|---|---|
sound/soc/sof/ipc4-loader.c |
Adds module-list formatting and registers the fw_modules debugfs file. |
Review effort: Balanced
bardliao
approved these changes
Nov 25, 2026
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.
Add a fw_modules debugfs file to list the library ID, module ID, UUID and name of the modules in the basefw and the loaded libraries.
Example: