mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 09:02:17 +00:00
e5cd20e0d6
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com> From the kernel point of view there are only few ops that needs to be exposed: Hi, SOF is using dma-trace (or dtrace) as a firmware tracing method, which is only supported with IPC3 and it is not applicable for IPC4. Currently the dtrace is 'open managed' regardless of IPC version (we do force disable it for IPC4, but the dtrace calls remain in place). From the kernel point of view there are only few ops that needs to be exposed by the firmware tracing support and everything else is IPC private, should not be known by the core. This series converts the current dma-trace as ipc3 specific firmware tracing sub-component and moves all private data out from generic code. Regards, Peter --- Peter Ujfalusi (8): ASoC: SOF: Introduce IPC independent ops for firmware tracing support ASoC: SOF: Rename dtrace_is_supported flag to fw_trace_is_supported ASoC: SOF: Clone the trace code to ipc3-dtrace as fw_tracing implementation ASoC: SOF: Switch to IPC generic firmware tracing ASoC: SOF: ipc3-dtrace: Move host ops wrappers from generic header to private ASoC: SOF: Modify the host trace_init parameter list to include dmab ASoC: SOF: Introduce opaque storage of private data for firmware tracing ASoC: SOF: ipc3-dtrace: Move dtrace related variables local from sof_dev sound/soc/sof/Makefile | 1 + sound/soc/sof/amd/acp-trace.c | 4 +- sound/soc/sof/amd/acp.h | 2 +- sound/soc/sof/core.c | 13 +- sound/soc/sof/debug.c | 2 +- sound/soc/sof/intel/hda-dsp.c | 2 +- sound/soc/sof/intel/hda-trace.c | 4 +- sound/soc/sof/intel/hda.h | 2 +- sound/soc/sof/ipc.c | 6 + sound/soc/sof/ipc3-dtrace.c | 649 ++++++++++++++++++++++++++++++++ sound/soc/sof/ipc3-priv.h | 38 ++ sound/soc/sof/ipc3.c | 3 +- sound/soc/sof/ops.c | 2 +- sound/soc/sof/ops.h | 26 -- sound/soc/sof/pm.c | 8 +- sound/soc/sof/sof-priv.h | 53 +-- sound/soc/sof/trace.c | 621 ++---------------------------- 17 files changed, 767 insertions(+), 669 deletions(-) create mode 100644 sound/soc/sof/ipc3-dtrace.c -- 2.36.1 |
||
---|---|---|
.. | ||
amd | ||
imx | ||
intel | ||
mediatek | ||
xtensa | ||
compress.c | ||
control.c | ||
core.c | ||
debug.c | ||
iomem-utils.c | ||
ipc3-control.c | ||
ipc3-dtrace.c | ||
ipc3-loader.c | ||
ipc3-pcm.c | ||
ipc3-priv.h | ||
ipc3-topology.c | ||
ipc3.c | ||
ipc4-loader.c | ||
ipc4-priv.h | ||
ipc4.c | ||
ipc.c | ||
Kconfig | ||
loader.c | ||
Makefile | ||
nocodec.c | ||
ops.c | ||
ops.h | ||
pcm.c | ||
pm.c | ||
sof-acpi-dev.c | ||
sof-acpi-dev.h | ||
sof-audio.c | ||
sof-audio.h | ||
sof-client-ipc-flood-test.c | ||
sof-client-ipc-msg-injector.c | ||
sof-client-probes.c | ||
sof-client-probes.h | ||
sof-client.c | ||
sof-client.h | ||
sof-of-dev.c | ||
sof-of-dev.h | ||
sof-pci-dev.c | ||
sof-pci-dev.h | ||
sof-priv.h | ||
sof-utils.c | ||
sof-utils.h | ||
stream-ipc.c | ||
topology.c | ||
trace.c |