Alsa-Devel Archive mirror
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: linux-sound@vger.kernel.org
Cc: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [PATCH 0/7] ASoC: SOF: Intel: remove circular dependency for SoundWire BPT
Date: Fri,  3 May 2024 08:52:14 -0500	[thread overview]
Message-ID: <20240503135221.229202-1-pierre-louis.bossart@linux.intel.com> (raw)

The SoundWire BPT support will rely on the HDaudio DMA. This exposes a
circular dependency module dependency which has to be resolved by
splitting common parts used by HDaudio and SoundWire parts, and
'generic' parts used by HDaudio only.

This patchset does not change any functionality, it just moves code
around, exposes symbols that are used in the new module. The code has
been in use for more than one kernel cycle already so it really
shouldn't break any existing platforms.

The main issue with such code moves is that it makes backports or
fixes more complicated. That's the main reason why we held back these
patches until we were reasonably confident on the maturity of MTL and
LNL drivers.

Pierre-Louis Bossart (7):
  ASoC: SOF: Intel: hda-stream: export stream_get_position() helper
  ASoC: SOF: Intel: regroup all SoundWire/Intel functions in hda.c
  ASoC: SOF: Intel: start splitting top-level from common parts
  ASoC: SOF: Intel: move common code from hda.c
  ASoC: SOF: Intel: move tracepoint creation
  ASoC: SOF: Intel: remove circular dependency on
    hda_sdw_process_wakeen()
  ASoC: SOF: Intel: move hda.c to different module

 sound/soc/sof/intel/Kconfig          |  25 +-
 sound/soc/sof/intel/Makefile         |  23 +-
 sound/soc/sof/intel/apl.c            |   3 -
 sound/soc/sof/intel/cnl.c            |  15 +-
 sound/soc/sof/intel/hda-bus.c        |   2 +
 sound/soc/sof/intel/hda-common-ops.c |   1 +
 sound/soc/sof/intel/hda-ctrl.c       |  10 +
 sound/soc/sof/intel/hda-dai.c        |   6 +
 sound/soc/sof/intel/hda-dsp.c        | 502 ++++++++++++++++++++++
 sound/soc/sof/intel/hda-ipc.c        | 115 +++++
 sound/soc/sof/intel/hda-loader.c     |  45 +-
 sound/soc/sof/intel/hda-pcm.c        |   6 +
 sound/soc/sof/intel/hda-probes.c     |   2 +
 sound/soc/sof/intel/hda-stream.c     |  13 +
 sound/soc/sof/intel/hda-trace.c      |   3 +
 sound/soc/sof/intel/hda.c            | 605 +++------------------------
 sound/soc/sof/intel/hda.h            |  15 +
 sound/soc/sof/intel/icl.c            |   4 +-
 sound/soc/sof/intel/lnl.c            |   4 +-
 sound/soc/sof/intel/mtl.c            |  21 +-
 sound/soc/sof/intel/pci-apl.c        |   1 +
 sound/soc/sof/intel/pci-cnl.c        |   1 +
 sound/soc/sof/intel/pci-icl.c        |   2 +
 sound/soc/sof/intel/pci-lnl.c        |   3 +
 sound/soc/sof/intel/pci-mtl.c        |   1 +
 sound/soc/sof/intel/pci-skl.c        |   1 +
 sound/soc/sof/intel/pci-tgl.c        |   2 +
 sound/soc/sof/intel/shim.h           |   1 +
 sound/soc/sof/intel/telemetry.c      |   1 +
 sound/soc/sof/intel/tgl.c            |  10 +-
 sound/soc/sof/intel/tracepoints.c    |   5 +
 31 files changed, 811 insertions(+), 637 deletions(-)
 create mode 100644 sound/soc/sof/intel/tracepoints.c

-- 
2.40.1


             reply	other threads:[~2024-05-03 13:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-03 13:52 Pierre-Louis Bossart [this message]
2024-05-03 13:52 ` [PATCH 1/7] ASoC: SOF: Intel: hda-stream: export stream_get_position() helper Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 2/7] ASoC: SOF: Intel: regroup all SoundWire/Intel functions in hda.c Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 3/7] ASoC: SOF: Intel: start splitting top-level from common parts Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 4/7] ASoC: SOF: Intel: move common code from hda.c Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 5/7] ASoC: SOF: Intel: move tracepoint creation Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 6/7] ASoC: SOF: Intel: remove circular dependency on hda_sdw_process_wakeen() Pierre-Louis Bossart
2024-05-03 13:52 ` [PATCH 7/7] ASoC: SOF: Intel: move hda.c to different module Pierre-Louis Bossart
2024-05-07  1:35 ` [PATCH 0/7] ASoC: SOF: Intel: remove circular dependency for SoundWire BPT Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240503135221.229202-1-pierre-louis.bossart@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).