]> www.infradead.org Git - nvme.git/commit
ASoC: SOF: debug: show firmware/topology prefix/names
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 8 Apr 2024 19:41:47 +0000 (14:41 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 13:03:35 +0000 (14:03 +0100)
commit17f4041244e66a417c646c8a90bc6747d5f1de1e
tree821bac5d530b61a1113e3cc87819fb852be15315
parent90a2353080eedec855d63f6aadfda14104ee9b06
ASoC: SOF: debug: show firmware/topology prefix/names

The SOF driver has multiple profiles to select firmware/topology
prefix/names depending on the platform and ipc_type, and each of those
fields can be overridden with kernel parameters. This results in some
cases in confusion on what configuration is actually used in a given
test.

We currently log the firmware and topology names in the kernel logs,
but there's been an ask to add the information in debugfs to simplify
test scripts used by developers and CI.

This isn't meant to be a stable ABI used by apps, changes will be
allowed as needed.

Closes: https://github.com/thesofproject/linux/issues/3867
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20240408194147.28919-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/debug.c