public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] ASoC: SOF: IPC path handling and fallback support
@ 2023-11-29 12:53 Peter Ujfalusi
  2023-11-29 12:53 ` [PATCH 01/13] ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from sof-audio.c Peter Ujfalusi
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Peter Ujfalusi @ 2023-11-29 12:53 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: alsa-devel, linux-sound, pierre-louis.bossart, kai.vehmanen,
	ranjani.sridharan

Hi,

The main aim of the series is to provide a mechanism to fallback to 'older' IPC
versions in case the desired one is missing either a firmware or topology file.
It is going to make the life of users and distributions if we are going to
start transition existing IPC3 platforms to IPC4 (CAVS2.5) and we might have
missed some topology file to convert for example.
In that case the kernel will fallback to IPC3 without audio regression.

To be able to support this we needed to change the probe sequence to know the
topology filename earlier and check if it is present in the filesystem.

No functional changes for now, the default IPC versions have not been changed.

Regards,
Peter
---
Peter Ujfalusi (13):
  ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from
    sof-audio.c
  ASoC: SOF: Move sof_machine_* functions from sof-audio.c to core.c
  ASoC: SOF: Add placeholder for platform IPC type and path overrides
  ASoC: SOF: sof-acpi-dev: Save the default IPC type and path overrides
  ASoC: SOF: sof-of-dev: Save the default IPC type and path overrides
  ASoC: SOF: sof-pci-dev: Save the default IPC type and path overrides
  ASoC: SOF: core: Implement firmware, topology path setup in core
  ASoC: SOF: sof-acpi-dev: Rely on core to create the file paths
  ASoC: SOF: sof-of-dev: Rely on core to create the file paths
  ASoC: SOF: sof-pci-dev: Rely on core to create the file paths
  ASoC: SOF: core: Add helper for initialization of paths, ops
  ASoC: SOF: Intel: Do not use resource managed allocation for ipc4_data
  ASoC: SOF: core: Implement IPC version fallback if firmware files are
    missing

 include/sound/sof.h             |  15 ++
 sound/soc/sof/Kconfig           |  11 ++
 sound/soc/sof/Makefile          |   3 +-
 sound/soc/sof/core.c            | 289 +++++++++++++++++++++++-----
 sound/soc/sof/fw-file-profile.c | 322 ++++++++++++++++++++++++++++++++
 sound/soc/sof/intel/apl.c       |   2 +-
 sound/soc/sof/intel/cnl.c       |   2 +-
 sound/soc/sof/intel/hda-dai.c   |   3 +
 sound/soc/sof/intel/icl.c       |   2 +-
 sound/soc/sof/intel/lnl.c       |   2 +-
 sound/soc/sof/intel/mtl.c       |   2 +-
 sound/soc/sof/intel/skl.c       |   2 +-
 sound/soc/sof/intel/tgl.c       |   2 +-
 sound/soc/sof/sof-acpi-dev.c    |  16 +-
 sound/soc/sof/sof-audio.c       | 120 ------------
 sound/soc/sof/sof-of-dev.c      |  36 +++-
 sound/soc/sof/sof-of-dev.h      |   9 +
 sound/soc/sof/sof-pci-dev.c     | 102 ++--------
 sound/soc/sof/sof-priv.h        |   9 +-
 19 files changed, 671 insertions(+), 278 deletions(-)
 create mode 100644 sound/soc/sof/fw-file-profile.c

-- 
2.43.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-11-30 14:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 12:53 [PATCH 00/13] ASoC: SOF: IPC path handling and fallback support Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 01/13] ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from sof-audio.c Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 02/13] ASoC: SOF: Move sof_machine_* functions from sof-audio.c to core.c Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 03/13] ASoC: SOF: Add placeholder for platform IPC type and path overrides Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 04/13] ASoC: SOF: sof-acpi-dev: Save the default " Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 05/13] ASoC: SOF: sof-of-dev: " Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 06/13] ASoC: SOF: sof-pci-dev: " Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 07/13] ASoC: SOF: core: Implement firmware, topology path setup in core Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 08/13] ASoC: SOF: sof-acpi-dev: Rely on core to create the file paths Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 09/13] ASoC: SOF: sof-of-dev: " Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 10/13] ASoC: SOF: sof-pci-dev: " Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 11/13] ASoC: SOF: core: Add helper for initialization of paths, ops Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 12/13] ASoC: SOF: Intel: Do not use resource managed allocation for ipc4_data Peter Ujfalusi
2023-11-29 12:53 ` [PATCH 13/13] ASoC: SOF: core: Implement IPC version fallback if firmware files are missing Peter Ujfalusi
2023-11-30 14:19 ` [PATCH 00/13] ASoC: SOF: IPC path handling and fallback support Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox