mbox series

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

Message ID 20201124180017.2232128-1-kai.vehmanen@linux.intel.com
Headers show
Series ASoC: SOF: Add 'memory_info' file to debugfs | expand

Message

Kai Vehmanen Nov. 24, 2020, 6 p.m. UTC
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

Comments

Mark Brown Nov. 25, 2020, noon UTC | #1
On Tue, 24 Nov 2020 20:00:13 +0200, Kai Vehmanen wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: SOF: ext_manifest: Parse firmware config dictionary
      commit: 7f09f79d5cb13186b0f422cf2e1c711c88c92195
[2/4] ASoC: SOF: Improve code alignment in header.h
      commit: 2e4f3f9141cc626147eaf6fbb8a92f17fd069553
[3/4] ASoC: SOF: Change section comment for SOF_IPC_TEST_
      commit: 6dd958955d3053a9c50353e39671622af4b8fba2
[4/4] ASoC: SOF: Add `memory_info` file to debugfs
      commit: 5b10b62989219aa527ee4fa555d1995a3b70981b

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark