mbox series

[00/12] ASoC: Intel: avs: Updates and cleanups

Message ID 20220707124153.1858249-1-cezary.rojewski@intel.com
Headers show
Series ASoC: Intel: avs: Updates and cleanups | expand

Message

Cezary Rojewski July 7, 2022, 12:41 p.m. UTC
Series consists of loosely connected patches and does not concentrate on
one specific subject.

First, as generic HDAudio codec driver is now part of ASoC, avs-driver
core is updated to register missing ext_bus operations. This completes
driver's core implementation.

The next change adds the last missing piece for port descriptions coming
from topology in formatted string format e.g.: ssp%d have full
effect. To do that, the port value needs to be provided to respective
copier configuration.

Third change relaxes core transition timings so that scenarios where
modules are interfering with each other while being on separate cores
are not occasionally causing trouble.

All other changes are addressing warnings, cleaning things up a little
and protecting driver from invalid firmware behavior - while not
expected in release binaries, does not hurt to add them.

Amadeusz Sławiński (2):
  ASoC: Intel: avs: Set max DMA segment size
  ASoC: Intel: avs: Use helper function to set up DMA

Cezary Rojewski (10):
  ASoC: Intel: avs: Register HDAudio ext-bus operations
  ASoC: Intel: avs: Assign I2S gateway when parsing topology
  ASoC: Intel: avs: Relax DSP core transition timings
  ASoC: Intel: avs: Copy only as many RX bytes as necessary
  ASoC: Intel: avs: Shield LARGE_CONFIG_GETs against zero payload_size
  ASoC: Intel: avs: Block IPC channel on suspend
  ASoC: Intel: avs: Recognize FW_CFG_RESERVED
  ASoC: Intel: avs: Replace hardcodes with SD_CTL_STREAM_RESET
  ASoC: Intel: avs: Lower UNLOAD_MULTIPLE_MODULES IPC timeout
  ASoC: Intel: avs: Update AVS_FW_INIT_TIMEOUT_US declaration

 sound/soc/intel/Kconfig        |  2 +-
 sound/soc/intel/avs/cldma.c    | 12 ++++++------
 sound/soc/intel/avs/core.c     | 13 ++++++-------
 sound/soc/intel/avs/dsp.c      | 11 +++++++++--
 sound/soc/intel/avs/ipc.c      |  1 +
 sound/soc/intel/avs/loader.c   |  2 +-
 sound/soc/intel/avs/messages.c | 18 +++++++++++++-----
 sound/soc/intel/avs/topology.c | 27 +++++++++++++++++++++++++++
 8 files changed, 64 insertions(+), 22 deletions(-)

Comments

Mark Brown July 11, 2022, 9:14 p.m. UTC | #1
On Thu, 7 Jul 2022 14:41:41 +0200, Cezary Rojewski wrote:
> Series consists of loosely connected patches and does not concentrate on
> one specific subject.
> 
> First, as generic HDAudio codec driver is now part of ASoC, avs-driver
> core is updated to register missing ext_bus operations. This completes
> driver's core implementation.
> 
> [...]

Applied to

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

Thanks!

[01/12] ASoC: Intel: avs: Register HDAudio ext-bus operations
        commit: c50cea054e04769471d2f17a57fafd7c5dfe8df8
[02/12] ASoC: Intel: avs: Assign I2S gateway when parsing topology
        commit: 5f267aa4adad13f764e0b00926c349f8728fce77
[03/12] ASoC: Intel: avs: Relax DSP core transition timings
        commit: 8192d24cccfbd93dadefd2b7553ff15e41d0e680
[04/12] ASoC: Intel: avs: Copy only as many RX bytes as necessary
        commit: 3c1923a119a61534f8ce221766041ddf470c9307
[05/12] ASoC: Intel: avs: Shield LARGE_CONFIG_GETs against zero payload_size
        commit: 00566ad4ce9d394c6ebaacde12eda06eef4e5279
[06/12] ASoC: Intel: avs: Block IPC channel on suspend
        commit: daa36bbcd78bca24db84e273bcafec9a8f81c767
[07/12] ASoC: Intel: avs: Set max DMA segment size
        commit: 8544eebc78c96f1834a46b26ade3e7ebe785d10c
[08/12] ASoC: Intel: avs: Use helper function to set up DMA
        commit: a5bbbde2b81e41cea7fa1b38911e88da5febc2d5
[09/12] ASoC: Intel: avs: Recognize FW_CFG_RESERVED
        commit: 79c351fb50e7e37eacf93f55f1e7056148d0d814
[10/12] ASoC: Intel: avs: Replace hardcodes with SD_CTL_STREAM_RESET
        commit: 4b38bd16ca6d8b16c1dc2cc4aa61663193b0b893
[11/12] ASoC: Intel: avs: Lower UNLOAD_MULTIPLE_MODULES IPC timeout
        commit: 8758ae88f0f4ade16e6a1b709eb5ea7271f62320
[12/12] ASoC: Intel: avs: Update AVS_FW_INIT_TIMEOUT_US declaration
        commit: f1eea11523e4394d6670f10a51356e9b7c8567a8

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