Skip to content

ASoC: SOF: Add 'memory_info' file to debugfs

Kai Vehmanen alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: SOF: ext_manifest: Parse firmware config dictionaryinclude/sound/sof/ext_manifest.h sound/soc/sof/loader.c+60 -00 replies
2/4ASoC: SOF: Improve code alignment in header.hinclude/sound/sof/header.h+3 -30 replies
3/4ASoC: SOF: Change section comment for SOF_IPC_TEST_include/sound/sof/header.h+1 -10 replies
4/4ASoC: SOF: Add `memory_info` file to debugfsinclude/sound/sof/debug.h include/sound/sof/ext_manifest.h include/sound/sof/header.h +5 more+185 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPierre-Louis BossartKai Vehmanen
1/4R-b
2/4R-b R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: SOF: Add 'memory_info' file to debugfs

Series that adds a new debugfs entry to query status of SOF FW memory allocation at runtime. Information on used and free memory is shown separately for each zone. A new IPC message is added for this purpose and ABI minor revision is bumped accordingly to 3.18.

To implement this, additional FW configuration data needs to be parsed from the firmware file and this is done in the first patch.

A few cleanups to surrounding code is done in separate patches.

Karol Trzcinski (4):
ASoC: SOF: ext_manifest: Parse firmware config dictionary
ASoC: SOF: Improve code alignment in header.h
ASoC: SOF: Change section comment for SOF_IPC_TEST_
ASoC: SOF: Add memory_info file to debugfs

 include/sound/sof/debug.h        |  41 +++++++++++
 include/sound/sof/ext_manifest.h |  20 ++++++
 include/sound/sof/header.h       |  10 ++-
 include/uapi/sound/sof/abi.h     |   2 +-
 sound/soc/sof/debug.c            | 117 +++++++++++++++++++++++++++++++
 sound/soc/sof/ipc.c              |   9 +++
 sound/soc/sof/loader.c           |  51 ++++++++++++++
 sound/soc/sof/sof-priv.h         |   2 +
 8 files changed, 248 insertions(+), 4 deletions(-)
 create mode 100644 include/sound/sof/debug.h
Signature · 1 line
2.28.0