mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pengpeng Hou <hppiscas@163.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: Pengpeng Hou <hppiscas@163.com>,
	yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.dev,
	linux-sound@vger.kernel.org, broonie@kernel.org, arnd@arndb.de,
	peter.ujfalusi@linux.intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] soundwire: intel: constrain the optional BPT dependency
Date: Thu,  3 Dec 2026 11:13:44 +0800	[thread overview]
Message-ID: <20261203031344.48058-1-hppiscas@163.com> (raw)
In-Reply-To: <aw2Dkt4IArvO2znQ@parshuram>

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

Hi Vinod,

Yes. The attached x86_64 config fails the vmlinux link at
a9c48428cbd8 (linux-next), with GCC 11.4.0. The relevant settings are:

    CONFIG_SOUNDWIRE_INTEL=y
    CONFIG_SND_SOC_SOF_HDA_GENERIC=m
    CONFIG_SND_SOF_SOF_HDA_SDW_BPT=m

intel_ace2x.o is built in, while the BPT implementation is in a
module. The linker reports undefined references to hda_sdw_bpt_close
and the other BPT helpers from intel_ace2x.c. I've attached the full
config and the linker diagnostics from that build. The log is from the
unpatched tree, not a build of the proposed fix.

Thanks,
Pengpeng

[-- Attachment #2: soundwire-x86_64.config.gz --]
[-- Type: application/gzip, Size: 23670 bytes --]

[-- Attachment #3: vmlinux-link-errors.txt --]
[-- Type: text/plain, Size: 568 bytes --]

intel_ace2x.c:(.text+0x632): undefined reference to `hda_sdw_bpt_close'
intel_ace2x.c:(.text+0x775): undefined reference to `hda_sdw_bpt_wait'
intel_ace2x.c:(.text+0xfc8): undefined reference to `hda_sdw_bpt_send_async'
ld: intel_ace2x.c:(.text+0x11a0): undefined reference to `hda_sdw_bpt_get_buf_size_alignment'
ld: intel_ace2x.c:(.text+0x11ad): undefined reference to `hda_sdw_bpt_get_buf_size_alignment'
ld: intel_ace2x.c:(.text+0x123f): undefined reference to `hda_sdw_bpt_open'
ld: intel_ace2x.c:(.text+0x12d7): undefined reference to `hda_sdw_bpt_close'

      reply	other threads:[~2026-12-03  3:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 12:29 Pengpeng Hou
2026-11-30 14:09 ` Vinod Koul
2026-12-03  3:13   ` Pengpeng Hou [this message]

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=20261203031344.48058-1-hppiscas@163.com \
    --to=hppiscas@163.com \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=vkoul@kernel.org \
    --cc=yung-chuan.liao@linux.intel.com \
    /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

all inboxes | Powered by JetHome®