* [PATCH 2/2] ASoC: SOF: Intel: hda-sdw-bpt: select SND_SOF_SOF_HDA_SDW_BPT properly
2026-06-11 13:23 [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Arnd Bergmann
@ 2026-06-11 13:23 ` Arnd Bergmann
2026-06-11 14:20 ` [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Mark Brown
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2026-06-11 13:23 UTC (permalink / raw)
To: Liam Girdwood, Peter Ujfalusi, Bard Liao, Daniel Baluta,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Arnd Bergmann
Cc: Kai Vehmanen, Pierre-Louis Bossart, sound-open-firmware,
linux-sound, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
When SND_SOC_SOF_INTEL_LNL is set, SND_SOF_SOF_HDA_SDW_BPT must also
be enabled, in order to let the soundwire support call into it.
However, there are configurations with SND_SOF_SOF_HDA_SDW_BPT=m
and SND_SOF_SOF_HDA_SDW_BPT=m but SOUNDWIRE_INTEL=y, which still
lead to a link failure:
aarch64-linux-ld: drivers/soundwire/intel_ace2x.o: in function `intel_ace2x_bpt_wait':
intel_ace2x.c:(.text+0xfc8): undefined reference to `hda_sdw_bpt_wait'
aarch64-linux-ld: drivers/soundwire/intel_ace2x.o: in function `intel_ace2x_bpt_send_async':
intel_ace2x.c:(.text+0x1ff8): undefined reference to `hda_sdw_bpt_get_buf_size_alignment'
Address this by moving the 'select SND_SOF_SOF_HDA_SDW_BPT' into
SND_SOC_SOF_HDA_GENERIC.
Fixes: 614d416dd8ae ("ASoC: SOF: Intel: hda-sdw-bpt: fix SND_SOF_SOF_HDA_SDW_BPT dependencies")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
sound/soc/sof/intel/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig
index e499bdd43f45..f78c3e9e3965 100644
--- a/sound/soc/sof/intel/Kconfig
+++ b/sound/soc/sof/intel/Kconfig
@@ -272,10 +272,8 @@ config SND_SOC_SOF_METEORLAKE
config SND_SOC_SOF_INTEL_LNL
tristate
- select SOUNDWIRE_INTEL if SND_SOC_SOF_INTEL_SOUNDWIRE != n
select SND_SOC_SOF_HDA_GENERIC
select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
- select SND_SOF_SOF_HDA_SDW_BPT if SND_SOC_SOF_INTEL_SOUNDWIRE != n
select SND_SOC_SOF_IPC4
select SND_SOC_SOF_INTEL_MTL
@@ -337,6 +335,8 @@ config SND_SOC_SOF_HDA_GENERIC
select SND_SOC_SOF_HDA_PROBES
select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE !=n
select SND_SOC_SOF_HDA_MLINK if SND_SOC_SOF_HDA_LINK
+ select SND_SOF_SOF_HDA_SDW_BPT if SND_SOC_SOF_INTEL_LNL != n && \
+ SND_SOC_SOF_INTEL_SOUNDWIRE !=n
help
This option is not user-selectable but automagically handled by
'select' statements at a higher level.
--
2.39.5
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 13:23 [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Arnd Bergmann
2026-06-11 13:23 ` [PATCH 2/2] ASoC: SOF: Intel: hda-sdw-bpt: select SND_SOF_SOF_HDA_SDW_BPT properly Arnd Bergmann
@ 2026-06-11 14:20 ` Mark Brown
2026-06-11 18:22 ` Arnd Bergmann
2026-06-11 14:21 ` Julian Braha
2026-06-11 19:40 ` Mark Brown
3 siblings, 1 reply; 9+ messages in thread
From: Mark Brown @ 2026-06-11 14:20 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Liam Girdwood, Peter Ujfalusi, Bard Liao, Daniel Baluta,
Jaroslav Kysela, Takashi Iwai, Arnd Bergmann, Kai Vehmanen,
Pierre-Louis Bossart, sound-open-firmware, linux-sound,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
On Thu, Jun 11, 2026 at 03:23:05PM +0200, Arnd Bergmann wrote:
> +++ b/sound/soc/sof/intel/Kconfig
> @@ -335,7 +335,7 @@ config SND_SOC_SOF_HDA_GENERIC
> select SND_INTEL_DSP_CONFIG
> select SND_SOC_SOF_HDA_LINK_BASELINE
> select SND_SOC_SOF_HDA_PROBES
> - select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE
> + select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE !=n
Can we end up with SND_SOC_SDW_UTILS=y but SOUNDWIRE=m? Though I think
that's a potential issue anyway...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 14:20 ` [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Mark Brown
@ 2026-06-11 18:22 ` Arnd Bergmann
2026-06-11 18:55 ` Mark Brown
0 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2026-06-11 18:22 UTC (permalink / raw)
To: Mark Brown, Arnd Bergmann
Cc: Liam Girdwood, Peter Ujfalusi, Bard Liao, Daniel Baluta,
Jaroslav Kysela, Takashi Iwai, Kai Vehmanen, Pierre-Louis Bossart,
sound-open-firmware, linux-sound, linux-kernel
On Thu, Jun 11, 2026, at 16:20, Mark Brown wrote:
> On Thu, Jun 11, 2026 at 03:23:05PM +0200, Arnd Bergmann wrote:
>> +++ b/sound/soc/sof/intel/Kconfig
>> @@ -335,7 +335,7 @@ config SND_SOC_SOF_HDA_GENERIC
>> select SND_INTEL_DSP_CONFIG
>> select SND_SOC_SOF_HDA_LINK_BASELINE
>> select SND_SOC_SOF_HDA_PROBES
>> - select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE
>> + select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE !=n
>
> Can we end up with SND_SOC_SDW_UTILS=y but SOUNDWIRE=m? Though I think
> that's a potential issue anyway...
I don't see that combination in any randconfig builds and haven't
managed to produce it in menuconfig, but I can't swear that it's
impossible either.
I do feel that the entire set of dependencies around
SOUNDWIRE, HDA and the Intel/AMD drivers is too fragile,
so it would be good if someone could manage to simplify this
in some form, but the best I can do at the moment it to
address regressions when they happen.
With the patches that I have sent, plus the "ASoC: amd: acp: Fix
linker error with SDCA quirks" one from Syed Saba Kareem that
I'm testing at the moment, I get no link failures in randconfig
kernels.
Arnd
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 18:22 ` Arnd Bergmann
@ 2026-06-11 18:55 ` Mark Brown
2026-06-11 19:18 ` Arnd Bergmann
0 siblings, 1 reply; 9+ messages in thread
From: Mark Brown @ 2026-06-11 18:55 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, Liam Girdwood, Peter Ujfalusi, Bard Liao,
Daniel Baluta, Jaroslav Kysela, Takashi Iwai, Kai Vehmanen,
Pierre-Louis Bossart, sound-open-firmware, linux-sound,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
On Thu, Jun 11, 2026 at 08:22:21PM +0200, Arnd Bergmann wrote:
> On Thu, Jun 11, 2026, at 16:20, Mark Brown wrote:
> > Can we end up with SND_SOC_SDW_UTILS=y but SOUNDWIRE=m? Though I think
> > that's a potential issue anyway...
> I don't see that combination in any randconfig builds and haven't
> managed to produce it in menuconfig, but I can't swear that it's
> impossible either.
I think
SND_SOC_SOF_SKYLAKE=y
SND_SOC_SOF_LUNARLAKE=m
SOUNDWIRE=m
Skylake doesn't have Soundwire but does select the Intel stuff. I
didn't test though.
> I do feel that the entire set of dependencies around
> SOUNDWIRE, HDA and the Intel/AMD drivers is too fragile,
> so it would be good if someone could manage to simplify this
> in some form, but the best I can do at the moment it to
> address regressions when they happen.
Yes, this stuff is all miserable and I'm not convinced the granularity
is useful. Kconfig is pretty unhelpful for this sort of library code.
> With the patches that I have sent, plus the "ASoC: amd: acp: Fix
> linker error with SDCA quirks" one from Syed Saba Kareem that
> I'm testing at the moment, I get no link failures in randconfig
> kernels.
It does fix some stuff.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 18:55 ` Mark Brown
@ 2026-06-11 19:18 ` Arnd Bergmann
2026-06-11 19:20 ` Mark Brown
0 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2026-06-11 19:18 UTC (permalink / raw)
To: Mark Brown
Cc: Arnd Bergmann, Liam Girdwood, Peter Ujfalusi, Bard Liao,
Daniel Baluta, Jaroslav Kysela, Takashi Iwai, Kai Vehmanen,
Pierre-Louis Bossart, sound-open-firmware, linux-sound,
linux-kernel
On Thu, Jun 11, 2026, at 20:55, Mark Brown wrote:
> On Thu, Jun 11, 2026 at 08:22:21PM +0200, Arnd Bergmann wrote:
>> On Thu, Jun 11, 2026, at 16:20, Mark Brown wrote:
>
>> > Can we end up with SND_SOC_SDW_UTILS=y but SOUNDWIRE=m? Though I think
>> > that's a potential issue anyway...
>
>> I don't see that combination in any randconfig builds and haven't
>> managed to produce it in menuconfig, but I can't swear that it's
>> impossible either.
>
> I think
>
> SND_SOC_SOF_SKYLAKE=y
> SND_SOC_SOF_LUNARLAKE=m
> SOUNDWIRE=m
>
> Skylake doesn't have Soundwire but does select the Intel stuff. I
> didn't test though.
I can't get that to enable SND_SOC_SDW_UTILS, that would
require SND_SOC_SOF_INTEL_SOUNDWIRE to be enabled, but that in
turn has
depends on !(SOUNDWIRE=m && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=y)
which seems sufficient to prevent the link failure.
Arnd
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 19:18 ` Arnd Bergmann
@ 2026-06-11 19:20 ` Mark Brown
0 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2026-06-11 19:20 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, Liam Girdwood, Peter Ujfalusi, Bard Liao,
Daniel Baluta, Jaroslav Kysela, Takashi Iwai, Kai Vehmanen,
Pierre-Louis Bossart, sound-open-firmware, linux-sound,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Thu, Jun 11, 2026 at 09:18:08PM +0200, Arnd Bergmann wrote:
> On Thu, Jun 11, 2026, at 20:55, Mark Brown wrote:
> > I think
> > SND_SOC_SOF_SKYLAKE=y
> > SND_SOC_SOF_LUNARLAKE=m
> > SOUNDWIRE=m
> > Skylake doesn't have Soundwire but does select the Intel stuff. I
> > didn't test though.
> I can't get that to enable SND_SOC_SDW_UTILS, that would
> require SND_SOC_SOF_INTEL_SOUNDWIRE to be enabled, but that in
> turn has
> depends on !(SOUNDWIRE=m && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=y)
> which seems sufficient to prevent the link failure.
Oh, good. In any case I already queued the patches for CI, I guess if
other stuff comes up before there's a bigger change we can fix that
incrementally.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 13:23 [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Arnd Bergmann
2026-06-11 13:23 ` [PATCH 2/2] ASoC: SOF: Intel: hda-sdw-bpt: select SND_SOF_SOF_HDA_SDW_BPT properly Arnd Bergmann
2026-06-11 14:20 ` [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Mark Brown
@ 2026-06-11 14:21 ` Julian Braha
2026-06-11 19:40 ` Mark Brown
3 siblings, 0 replies; 9+ messages in thread
From: Julian Braha @ 2026-06-11 14:21 UTC (permalink / raw)
To: Arnd Bergmann, Liam Girdwood, Peter Ujfalusi, Bard Liao,
Daniel Baluta, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: Arnd Bergmann, Kai Vehmanen, Pierre-Louis Bossart,
sound-open-firmware, linux-sound, linux-kernel
On 6/11/26 14:23, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> - select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE
> + select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE !=n
Well, I learned something new about kconfig semantics today. I thought
they would both set SND_SOC_SDW_UTILS to 'y'.
Tested-by: Julian Braha <julianbraha@gmail.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
2026-06-11 13:23 [PATCH 1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y Arnd Bergmann
` (2 preceding siblings ...)
2026-06-11 14:21 ` Julian Braha
@ 2026-06-11 19:40 ` Mark Brown
3 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2026-06-11 19:40 UTC (permalink / raw)
To: Liam Girdwood, Peter Ujfalusi, Bard Liao, Daniel Baluta,
Jaroslav Kysela, Takashi Iwai, Arnd Bergmann
Cc: Arnd Bergmann, Kai Vehmanen, Pierre-Louis Bossart,
sound-open-firmware, linux-sound, linux-kernel
On Thu, 11 Jun 2026 15:23:05 +0200, Arnd Bergmann wrote:
> ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.2
Thanks!
[1/2] ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y
https://git.kernel.org/broonie/sound/c/67805f57e5b1
[2/2] ASoC: SOF: Intel: hda-sdw-bpt: select SND_SOF_SOF_HDA_SDW_BPT properly
https://git.kernel.org/broonie/sound/c/999ec4c29d73
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
^ permalink raw reply [flat|nested] 9+ messages in thread