tree:
https://github.com/plbossart/sound fix/ipc-fw-trace-abstraction
head: 8d57bde4a7264e5b307cf1bbd9ac8584b66402f0
commit: 8c564d6f281095568b9131931ef61574dba2507c [9/15] ASOC: SOF: partition DSP ops in
more detail
config: riscv-randconfig-c006-20211220
(
https://download.01.org/0day-ci/archive/20211220/202112202255.0WkFhDDT-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
555eacf75f21cd1dfc6363d73ad187b730349543)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/plbossart/sound/commit/8c564d6f281095568b9131931ef6157...
git remote add plbossart-sound
https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound fix/ipc-fw-trace-abstraction
git checkout 8c564d6f281095568b9131931ef61574dba2507c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=riscv SHELL=/bin/bash sound/soc/sof/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> sound/soc/sof/mediatek/mt8195/mt8195.c:413:3: error: field
designator 'load_module' does not refer to any field in type 'const struct
snd_sof_dsp_ops'
.load_module = snd_sof_parse_module_memcpy,
^
> sound/soc/sof/mediatek/mt8195/mt8195.c:415:3: error: field
designator 'load_firmware' does not refer to any field in type 'const struct
snd_sof_dsp_ops'
.load_firmware = snd_sof_load_firmware_memcpy,
^
2 errors generated.
vim +413 sound/soc/sof/mediatek/mt8195/mt8195.c
786e304e22cec7 YC Hung 2021-09-22 389
b4c32346f9b06b YC Hung 2021-08-27 390 /* mt8195 ops */
53e3e4042de5be Daniel Baluta 2021-11-23 391 static const struct snd_sof_dsp_ops
sof_mt8195_ops = {
b4c32346f9b06b YC Hung 2021-08-27 392 /* probe and remove */
b4c32346f9b06b YC Hung 2021-08-27 393 .probe = mt8195_dsp_probe,
b4c32346f9b06b YC Hung 2021-08-27 394 .remove = mt8195_dsp_remove,
b4c32346f9b06b YC Hung 2021-08-27 395
0ee31f3a875e21 YC Hung 2021-09-16 396 /* DSP core boot */
0ee31f3a875e21 YC Hung 2021-09-16 397 .run = mt8195_run,
0ee31f3a875e21 YC Hung 2021-09-16 398
b4c32346f9b06b YC Hung 2021-08-27 399 /* Block IO */
b4c32346f9b06b YC Hung 2021-08-27 400 .block_read = sof_block_read,
b4c32346f9b06b YC Hung 2021-08-27 401 .block_write = sof_block_write,
b4c32346f9b06b YC Hung 2021-08-27 402
b4c32346f9b06b YC Hung 2021-08-27 403 /* Register IO */
b4c32346f9b06b YC Hung 2021-08-27 404 .write = sof_io_write,
b4c32346f9b06b YC Hung 2021-08-27 405 .read = sof_io_read,
b4c32346f9b06b YC Hung 2021-08-27 406 .write64 = sof_io_write64,
b4c32346f9b06b YC Hung 2021-08-27 407 .read64 = sof_io_read64,
b4c32346f9b06b YC Hung 2021-08-27 408
b4c32346f9b06b YC Hung 2021-08-27 409 /* misc */
b4c32346f9b06b YC Hung 2021-08-27 410 .get_bar_index = mt8195_get_bar_index,
b4c32346f9b06b YC Hung 2021-08-27 411
0ee31f3a875e21 YC Hung 2021-09-16 412 /* module loading */
0ee31f3a875e21 YC Hung 2021-09-16 @413 .load_module =
snd_sof_parse_module_memcpy,
0ee31f3a875e21 YC Hung 2021-09-16 414 /* firmware loading */
0ee31f3a875e21 YC Hung 2021-09-16 @415 .load_firmware =
snd_sof_load_firmware_memcpy,
0ee31f3a875e21 YC Hung 2021-09-16 416
b4c32346f9b06b YC Hung 2021-08-27 417 /* Firmware ops */
b4c32346f9b06b YC Hung 2021-08-27 418 .dsp_arch_ops = &sof_xtensa_arch_ops,
b4c32346f9b06b YC Hung 2021-08-27 419
786e304e22cec7 YC Hung 2021-09-22 420 /* DAI drivers */
786e304e22cec7 YC Hung 2021-09-22 421 .drv = mt8195_dai,
786e304e22cec7 YC Hung 2021-09-22 422 .num_drv = ARRAY_SIZE(mt8195_dai),
786e304e22cec7 YC Hung 2021-09-22 423
9460a41bfe76e0 YC Hung 2021-10-25 424 /* PM */
9460a41bfe76e0 YC Hung 2021-10-25 425 .suspend = mt8195_dsp_suspend,
9460a41bfe76e0 YC Hung 2021-10-25 426 .resume = mt8195_dsp_resume,
9460a41bfe76e0 YC Hung 2021-10-25 427
b4c32346f9b06b YC Hung 2021-08-27 428 /* ALSA HW info flags */
b4c32346f9b06b YC Hung 2021-08-27 429 .hw_info = SNDRV_PCM_INFO_MMAP |
b4c32346f9b06b YC Hung 2021-08-27 430 SNDRV_PCM_INFO_MMAP_VALID |
b4c32346f9b06b YC Hung 2021-08-27 431 SNDRV_PCM_INFO_INTERLEAVED |
b4c32346f9b06b YC Hung 2021-08-27 432 SNDRV_PCM_INFO_PAUSE |
b4c32346f9b06b YC Hung 2021-08-27 433 SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
b4c32346f9b06b YC Hung 2021-08-27 434 };
53e3e4042de5be Daniel Baluta 2021-11-23 435
:::::: The code at line 413 was first introduced by commit
:::::: 0ee31f3a875e2107af9e13b6489ff3d89d32b3b2 ASoC: SOF: mediatek: Add fw loader and
mt8195 dsp ops to load firmware
:::::: TO: YC Hung <yc.hung(a)mediatek.com>
:::::: CC: Daniel Baluta <daniel.baluta(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org