* [tiwai-sound:test/hda-reorg 17/42] sound/soc/intel/atom/sst/sst_acpi.c:272: undefined reference to `snd_intel_acpi_dsp_driver_probe'
@ 2025-07-08 5:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-08 5:53 UTC (permalink / raw)
To: Takashi Iwai; +Cc: oe-kbuild-all, alsa-devel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/hda-reorg
head: be6979113a769a90bab2a55a30ae83b76f5971e6
commit: d1bc64a913342041aaacdde0c0920eb0d5b96281 [17/42] ALSA: hda: Move HD-audio core stuff into sound/hda/core
config: i386-randconfig-063-20250522 (https://download.01.org/0day-ci/archive/20250708/202507081351.iyDgGOUP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250708/202507081351.iyDgGOUP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507081351.iyDgGOUP-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: sound/soc/intel/atom/sst/sst_acpi.o: in function `sst_acpi_probe':
>> sound/soc/intel/atom/sst/sst_acpi.c:272: undefined reference to `snd_intel_acpi_dsp_driver_probe'
vim +272 sound/soc/intel/atom/sst/sst_acpi.c
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 255
5129ad6e4e6999 sound/soc/intel/sst/sst_acpi.c Wei Yongjun 2014-12-09 256 static int sst_acpi_probe(struct platform_device *pdev)
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 257 {
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 258 struct device *dev = &pdev->dev;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 259 int ret = 0;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 260 struct intel_sst_drv *ctx;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 261 const struct acpi_device_id *id;
7feb2f786a46d3 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 262 struct snd_soc_acpi_mach *mach;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 263 struct platform_device *mdev;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 264 struct platform_device *plat_dev;
12cc291b0b5850 sound/soc/intel/atom/sst/sst_acpi.c Vinod Koul 2015-11-05 265 struct sst_platform_info *pdata;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 266 unsigned int dev_id;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 267
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 268 id = acpi_match_device(dev->driver->acpi_match_table, dev);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 269 if (!id)
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 270 return -ENODEV;
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 271
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 @272 ret = snd_intel_acpi_dsp_driver_probe(dev, id->id);
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 273 if (ret != SND_INTEL_DSP_DRIVER_ANY && ret != SND_INTEL_DSP_DRIVER_SST) {
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 274 dev_dbg(dev, "SST ACPI driver not selected, aborting probe\n");
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 275 return -ENODEV;
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 276 }
df5f5edaef4b65 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2020-11-12 277
1635c694124fe6 sound/soc/intel/atom/sst/sst_acpi.c Colin Ian King 2016-09-16 278 dev_dbg(dev, "for %s\n", id->id);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 279
7feb2f786a46d3 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 280 mach = (struct snd_soc_acpi_mach *)id->driver_data;
7feb2f786a46d3 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 281 mach = snd_soc_acpi_find_machine(mach);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 282 if (mach == NULL) {
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 283 dev_err(dev, "No matching machine driver found\n");
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 284 return -ENODEV;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 285 }
73a33f6f6d44db sound/soc/intel/atom/sst/sst_acpi.c Vinod Koul 2016-07-08 286
536cfd2f375d36 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2019-05-30 287 if (soc_intel_is_byt())
6004640638a2cb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 288 mach->pdata = &byt_rvp_platform_data;
6004640638a2cb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 289 else
6004640638a2cb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2017-10-12 290 mach->pdata = &chv_platform_data;
12cc291b0b5850 sound/soc/intel/atom/sst/sst_acpi.c Vinod Koul 2015-11-05 291 pdata = mach->pdata;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 292
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 293 if (!strcmp(id->id, "LPE0F28")) {
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 294 struct resource *rsrc;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 295
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 296 /* Use regular BYT SST PCI VID:PID */
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 297 dev_id = 0x80860F28;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 298 byt_rvp_platform_data.res_info = &lpe8086_res_info;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 299
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 300 /*
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 301 * The "LPE0F28" ACPI device has separate IO-mem resources for:
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 302 * DDR, SHIM, MBOX, IRAM, DRAM, CFG
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 303 * None of which covers the entire LPE base address range.
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 304 * lpe8086_res_info.acpi_lpe_res_index points to the SHIM.
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 305 * Patch this to cover the entire base address range as expected
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 306 * by sst_platform_get_resources().
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 307 */
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 308 rsrc = platform_get_resource(pdev, IORESOURCE_MEM,
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 309 pdata->res_info->acpi_lpe_res_index);
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 310 if (!rsrc) {
c1895ba181e560 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-26 311 dev_err(dev, "Invalid SHIM base\n");
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 312 return -EIO;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 313 }
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 314 rsrc->start -= pdata->res_info->shim_offset;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 315 rsrc->end = rsrc->start + 0x200000 - 1;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 316 } else {
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 317 ret = kstrtouint(id->id, 16, &dev_id);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 318 if (ret < 0) {
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 319 dev_err(dev, "Unique device id conversion error: %d\n", ret);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 320 return ret;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 321 }
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 322
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 323 if (soc_intel_is_byt_cr(pdev))
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 324 byt_rvp_platform_data.res_info = &bytcr_res_info;
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 325 }
6668610b4d8ce9 sound/soc/intel/atom/sst/sst_acpi.c Hans de Goede 2024-10-25 326
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 327 dev_dbg(dev, "ACPI device id: %x\n", dev_id);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 328
a68bc0d43e1b96 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-08-12 329 ret = sst_alloc_drv_context(&ctx, dev, dev_id);
a68bc0d43e1b96 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-08-12 330 if (ret < 0)
a68bc0d43e1b96 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-08-12 331 return ret;
a68bc0d43e1b96 sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-08-12 332
3ee1cd4f81e15f sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2018-11-01 333 /* update machine parameters */
3ee1cd4f81e15f sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2018-11-01 334 mach->mach_params.acpi_ipc_irq_index =
3ee1cd4f81e15f sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2018-11-01 335 pdata->res_info->acpi_ipc_irq_index;
3ee1cd4f81e15f sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2018-11-01 336
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 337 plat_dev = platform_device_register_data(dev, pdata->platform, -1,
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 338 NULL, 0);
f5d40b400fe2de sound/soc/intel/sst/sst_acpi.c Wei Yongjun 2014-12-09 339 if (IS_ERR(plat_dev)) {
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 340 dev_err(dev, "Failed to create machine device: %s\n",
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 341 pdata->platform);
f5d40b400fe2de sound/soc/intel/sst/sst_acpi.c Wei Yongjun 2014-12-09 342 return PTR_ERR(plat_dev);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 343 }
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 344
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 345 /*
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 346 * Create platform device for sst machine driver,
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 347 * pass machine info as pdata
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 348 */
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 349 mdev = platform_device_register_data(dev, mach->drv_name, -1,
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 350 (const void *)mach, sizeof(*mach));
f5d40b400fe2de sound/soc/intel/sst/sst_acpi.c Wei Yongjun 2014-12-09 351 if (IS_ERR(mdev)) {
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 352 dev_err(dev, "Failed to create machine device: %s\n",
caf94ed8629afb sound/soc/intel/atom/sst/sst_acpi.c Pierre-Louis Bossart 2016-01-04 353 mach->drv_name);
f5d40b400fe2de sound/soc/intel/sst/sst_acpi.c Wei Yongjun 2014-12-09 354 return PTR_ERR(mdev);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 355 }
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 356
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 357 /* Fill sst platform data */
12cc291b0b5850 sound/soc/intel/atom/sst/sst_acpi.c Vinod Koul 2015-11-05 358 ctx->pdata = pdata;
12cc291b0b5850 sound/soc/intel/atom/sst/sst_acpi.c Vinod Koul 2015-11-05 359 strcpy(ctx->firmware_name, mach->fw_filename);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 360
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 361 ret = sst_platform_get_resources(ctx);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 362 if (ret)
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 363 return ret;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 364
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 365 ret = sst_context_init(ctx);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 366 if (ret < 0)
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 367 return ret;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 368
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 369 sst_configure_runtime_pm(ctx);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 370 platform_set_drvdata(pdev, ctx);
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 371 return ret;
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 372 }
336cfbb05edf7b sound/soc/intel/sst/sst_acpi.c Vinod Koul 2014-11-11 373
:::::: The code at line 272 was first introduced by commit
:::::: df5f5edaef4b653fa731dcf3753e71766f95c2cd ASoC: Intel: Atom: add dynamic selection of DSP driver
:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-08 5:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 5:53 [tiwai-sound:test/hda-reorg 17/42] sound/soc/intel/atom/sst/sst_acpi.c:272: undefined reference to `snd_intel_acpi_dsp_driver_probe' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.