mbox series

[0/4] ASoC: SOF: ipc4/Intel: Implement split fw library loading

Message ID 20230915114018.1701-1-peter.ujfalusi@linux.intel.com
Headers show
Series ASoC: SOF: ipc4/Intel: Implement split fw library loading | expand

Message

Peter Ujfalusi Sept. 15, 2023, 11:40 a.m. UTC
Hi,

This series implements support for split library loading to comply with the HDA
DMA programming sequence recommendation, which is:
1. DSP side DMA programming and GEN bit set to 1
2. host side DMA programming and RUN bit set to 1

The SOF support for library loading is based on this sequence, backwards
compatibility with older reference firmware is supported (where only the
LOAD_LIBRARY message is supported).

Regards,
Peter
---
Peter Ujfalusi (4):
  ASoC: SOF: ipc4: Convert status code 2 and 15 to -EOPNOTSUPP
  ASoC: SOF: Intel: hda: Add definition for SDxFIFOS.FIFOS mask
  ASoC: SOF: ipc4: Add new message type:
    SOF_IPC4_GLB_LOAD_LIBRARY_PREPARE
  ASoC: SOF: Intel: hda-loader: Add support for split library loading

 include/sound/sof/ipc4/header.h  | 15 +++++++++---
 sound/soc/sof/intel/hda-loader.c | 42 ++++++++++++++++++++++++++++++--
 sound/soc/sof/intel/hda-stream.c |  2 +-
 sound/soc/sof/intel/hda.h        |  3 +++
 sound/soc/sof/ipc4.c             |  5 ++++
 5 files changed, 60 insertions(+), 7 deletions(-)

Comments

Mark Brown Sept. 16, 2023, 1:11 a.m. UTC | #1
On Fri, 15 Sep 2023 14:40:14 +0300, Peter Ujfalusi wrote:
> This series implements support for split library loading to comply with the HDA
> DMA programming sequence recommendation, which is:
> 1. DSP side DMA programming and GEN bit set to 1
> 2. host side DMA programming and RUN bit set to 1
> 
> The SOF support for library loading is based on this sequence, backwards
> compatibility with older reference firmware is supported (where only the
> LOAD_LIBRARY message is supported).
> 
> [...]

Applied to

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

Thanks!

[1/4] ASoC: SOF: ipc4: Convert status code 2 and 15 to -EOPNOTSUPP
      commit: c2d8f17ed0c70816737cbf8f530d2178ee6affbb
[2/4] ASoC: SOF: Intel: hda: Add definition for SDxFIFOS.FIFOS mask
      commit: 369ea9f82c279e88a52217b56dc1f973de57ac56
[3/4] ASoC: SOF: ipc4: Add new message type: SOF_IPC4_GLB_LOAD_LIBRARY_PREPARE
      commit: 4f0f3c774947fdd3c4236cef9372b329c276845c
[4/4] ASoC: SOF: Intel: hda-loader: Add support for split library loading
      commit: 5a8a9d70ecac3acbd49e70ad8f85153c0315643e

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