mbox series

[00/14] ASoC: SOF: Intel: improve HDaudio DAI support

Message ID 20220421203201.1550328-1-pierre-louis.bossart@linux.intel.com
Headers show
Series ASoC: SOF: Intel: improve HDaudio DAI support | expand

Message

Pierre-Louis Bossart April 21, 2022, 8:31 p.m. UTC
The SOF CI and daily tests exposed a number of issues with corner
cases on platforms using the HDaudio DAI, such as UpExtreme boards or
usual HDaudio+DMIC laptops.

This patchset provides improvements for pause_push/pause_release,
suspend-resume, mixing use cases and combinations of all three.

The initial patches provide a cleanup, the last patches improve the
state machine and DMA handling.

Pierre-Louis Bossart (12):
  ASOC: SOF: Intel: hda-dai: consistent naming for HDA DAI and HDA link
    DMA
  ASoC: SOF: Intel: hda-dai: simplify hda_dai_widget_update() prototype
  ASoC: SOF: Intel: hda-dai: use snd_soc_dai_get_widget() helper
  ASoC: SOF: Intel: hda-dai: split link DMA and dai operations
  ASoC: SOF: Intel: hda-dai: regroup dai and link DMA operations
  ASoC: SOF: sof-audio: flag errors on pipeline teardown
  ASOC: SOF: Intel: hda-dai: add hda_dai_hw_free_ipc() helper
  ASoC: SOF: Intel: hda-dai: move code to deal with hda dai/dailink
    suspend
  ASoC: SOF: Intel: hda-dai: improve suspend case
  ASoC: SOF: Intel: hda-dai: reset dma_data and release stream
  ASoC: SOF: Intel: add helper for link DMA cleanups
  ASoC: SOF: Intel: hda-dai: protect hw_params against successive calls

Ranjani Sridharan (2):
  ASoC: SOF: remove incorrect clearing of prepared flag
  ASoC: SOF: Intel: Add IPC-specific dai ops for IPC3

 sound/soc/sof/intel/apl.c     |   3 +
 sound/soc/sof/intel/cnl.c     |   3 +
 sound/soc/sof/intel/hda-dai.c | 434 ++++++++++++++++++++++------------
 sound/soc/sof/intel/hda-dsp.c |  42 +---
 sound/soc/sof/intel/hda.h     |   3 +
 sound/soc/sof/intel/icl.c     |   3 +
 sound/soc/sof/intel/tgl.c     |   3 +
 sound/soc/sof/ipc3-topology.c |  12 +
 sound/soc/sof/pm.c            |   2 +-
 sound/soc/sof/sof-audio.c     |  36 ---
 sound/soc/sof/sof-audio.h     |   1 -
 11 files changed, 312 insertions(+), 230 deletions(-)

Comments

Mark Brown April 25, 2022, 10:52 p.m. UTC | #1
On Thu, 21 Apr 2022 15:31:47 -0500, Pierre-Louis Bossart wrote:
> The SOF CI and daily tests exposed a number of issues with corner
> cases on platforms using the HDaudio DAI, such as UpExtreme boards or
> usual HDaudio+DMIC laptops.
> 
> This patchset provides improvements for pause_push/pause_release,
> suspend-resume, mixing use cases and combinations of all three.
> 
> [...]

Applied to

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

Thanks!

[01/14] ASoC: SOF: remove incorrect clearing of prepared flag
        commit: 8e84b6a4e7f188638748d2ac0455a94799530aa1
[02/14] ASoC: SOF: Intel: Add IPC-specific dai ops for IPC3
        commit: 51ec71dc0cc90e6683ebda7f5ea0ddb71265ab23
[03/14] ASOC: SOF: Intel: hda-dai: consistent naming for HDA DAI and HDA link DMA
        commit: 309e6e557482415c32338b118f0eb17600d98060
[04/14] ASoC: SOF: Intel: hda-dai: simplify hda_dai_widget_update() prototype
        commit: b44c99f11de2c9f01b5526e668c476de976fd14d
[05/14] ASoC: SOF: Intel: hda-dai: use snd_soc_dai_get_widget() helper
        commit: 5ef85c9e42e5fc549e934669fdca352b3da97ec4
[06/14] ASoC: SOF: Intel: hda-dai: split link DMA and dai operations
        commit: f321ffc8d93639181af0512938e2b0630ca28051
[07/14] ASoC: SOF: Intel: hda-dai: regroup dai and link DMA operations
        commit: 9272d6c2af6427df8d7fe665ede6a1bf97d0ca8c
[08/14] ASoC: SOF: sof-audio: flag errors on pipeline teardown
        commit: d1c73a213b462058e91654b5d1d493b3003375cd
[09/14] ASOC: SOF: Intel: hda-dai: add hda_dai_hw_free_ipc() helper
        commit: 81622503229943363858cd7ae1330f49b131dfbc
[10/14] ASoC: SOF: Intel: hda-dai: move code to deal with hda dai/dailink suspend
        commit: f09e92844eabd6a65feab0c548a7cf6741cfa39d
[11/14] ASoC: SOF: Intel: hda-dai: improve suspend case
        commit: 23b1944e46ab4cd7cbd4ef999f814fc6c6f2eb88
[12/14] ASoC: SOF: Intel: hda-dai: reset dma_data and release stream
        commit: 722cbbfaed2a290b1de1fb0ec4ee9a15ec240f7c
[13/14] ASoC: SOF: Intel: add helper for link DMA cleanups
        commit: 880924cad12e96092364467cb7b3ad7a689bec55
[14/14] ASoC: SOF: Intel: hda-dai: protect hw_params against successive calls
        commit: c4eb48f7739fc0dae7e6b8319a77261fc1b61d74

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