Hi Daniel,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc pr/490
head: e1744bcfc0ba973d84a580a510206e682c10cfcb
commit: f628121dfa77c1af3991c7d0fc91961da65a89bc [9402/15241] LF-3774-1 ASoC: sof: Make
Intel IPC stream ops generic
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.0
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
#
https://github.com/Freescale/linux-fslc/commit/f628121dfa77c1af3991c7d0fc...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/490
git checkout f628121dfa77c1af3991c7d0fc91961da65a89bc
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=xtensa SHELL=/bin/bash
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/intel/byt.c:613:27: error:
'intel_ipc_msg_data' undeclared here (not in a function); did you mean
'sof_ipc_msg_data'?
613 | .ipc_msg_data =
intel_ipc_msg_data,
| ^~~~~~~~~~~~~~~~~~
| sof_ipc_msg_data
> sound/soc/sof/intel/byt.c:614:27: error:
'intel_ipc_pcm_params' undeclared here (not in a function); did you mean
'sof_ipc_pcm_params'?
614 | .ipc_pcm_params =
intel_ipc_pcm_params,
| ^~~~~~~~~~~~~~~~~~~~
| sof_ipc_pcm_params
> sound/soc/sof/intel/byt.c:628:27: error: 'intel_pcm_open'
undeclared here (not in a function)
628 | .pcm_open =
intel_pcm_open,
| ^~~~~~~~~~~~~~
> sound/soc/sof/intel/byt.c:629:27: error:
'intel_pcm_close' undeclared here (not in a function)
629 |
.pcm_close = intel_pcm_close,
| ^~~~~~~~~~~~~~~
vim +613 sound/soc/sof/intel/byt.c
9e42c5ca4a276a Liam Girdwood 2019-04-12 584
9e42c5ca4a276a Liam Girdwood 2019-04-12 585 const struct snd_sof_dsp_ops
sof_tng_ops = {
9e42c5ca4a276a Liam Girdwood 2019-04-12 586 /* device init */
9e42c5ca4a276a Liam Girdwood 2019-04-12 587 .probe = tangier_pci_probe,
9e42c5ca4a276a Liam Girdwood 2019-04-12 588
9e42c5ca4a276a Liam Girdwood 2019-04-12 589 /* DSP core boot / reset */
9e42c5ca4a276a Liam Girdwood 2019-04-12 590 .run = byt_run,
9e42c5ca4a276a Liam Girdwood 2019-04-12 591 .reset = byt_reset,
9e42c5ca4a276a Liam Girdwood 2019-04-12 592
9e42c5ca4a276a Liam Girdwood 2019-04-12 593 /* Register IO */
9e42c5ca4a276a Liam Girdwood 2019-04-12 594 .write = sof_io_write,
9e42c5ca4a276a Liam Girdwood 2019-04-12 595 .read = sof_io_read,
9e42c5ca4a276a Liam Girdwood 2019-04-12 596 .write64 = sof_io_write64,
9e42c5ca4a276a Liam Girdwood 2019-04-12 597 .read64 = sof_io_read64,
9e42c5ca4a276a Liam Girdwood 2019-04-12 598
9e42c5ca4a276a Liam Girdwood 2019-04-12 599 /* Block IO */
9e42c5ca4a276a Liam Girdwood 2019-04-12 600 .block_read = sof_block_read,
9e42c5ca4a276a Liam Girdwood 2019-04-12 601 .block_write = sof_block_write,
9e42c5ca4a276a Liam Girdwood 2019-04-12 602
9e42c5ca4a276a Liam Girdwood 2019-04-12 603 /* doorbell */
9e42c5ca4a276a Liam Girdwood 2019-04-12 604 .irq_handler = byt_irq_handler,
9e42c5ca4a276a Liam Girdwood 2019-04-12 605 .irq_thread = byt_irq_thread,
9e42c5ca4a276a Liam Girdwood 2019-04-12 606
9e42c5ca4a276a Liam Girdwood 2019-04-12 607 /* ipc */
9e42c5ca4a276a Liam Girdwood 2019-04-12 608 .send_msg = byt_send_msg,
83ee7ab1627b75 Daniel Baluta 2019-08-07 609 .fw_ready = sof_fw_ready,
83ee7ab1627b75 Daniel Baluta 2019-08-07 610 .get_mailbox_offset =
byt_get_mailbox_offset,
83ee7ab1627b75 Daniel Baluta 2019-08-07 611 .get_window_offset =
byt_get_window_offset,
9e42c5ca4a276a Liam Girdwood 2019-04-12 612
9e42c5ca4a276a Liam Girdwood 2019-04-12 @613 .ipc_msg_data = intel_ipc_msg_data,
9e42c5ca4a276a Liam Girdwood 2019-04-12 @614 .ipc_pcm_params =
intel_ipc_pcm_params,
9e42c5ca4a276a Liam Girdwood 2019-04-12 615
285880a23d105e Daniel Baluta 2019-12-04 616 /* machine driver */
285880a23d105e Daniel Baluta 2019-12-04 617 .machine_select =
byt_machine_select,
285880a23d105e Daniel Baluta 2019-12-04 618 .machine_register =
sof_machine_register,
285880a23d105e Daniel Baluta 2019-12-04 619 .machine_unregister =
sof_machine_unregister,
285880a23d105e Daniel Baluta 2019-12-04 620 .set_mach_params =
byt_set_mach_params,
285880a23d105e Daniel Baluta 2019-12-04 621
9e42c5ca4a276a Liam Girdwood 2019-04-12 622 /* debug */
9e42c5ca4a276a Liam Girdwood 2019-04-12 623 .debug_map = byt_debugfs,
9e42c5ca4a276a Liam Girdwood 2019-04-12 624 .debug_map_count =
ARRAY_SIZE(byt_debugfs),
9e42c5ca4a276a Liam Girdwood 2019-04-12 625 .dbg_dump = byt_dump,
9e42c5ca4a276a Liam Girdwood 2019-04-12 626
9e42c5ca4a276a Liam Girdwood 2019-04-12 627 /* stream callbacks */
9e42c5ca4a276a Liam Girdwood 2019-04-12 @628 .pcm_open = intel_pcm_open,
9e42c5ca4a276a Liam Girdwood 2019-04-12 @629 .pcm_close = intel_pcm_close,
9e42c5ca4a276a Liam Girdwood 2019-04-12 630
9e42c5ca4a276a Liam Girdwood 2019-04-12 631 /* module loading */
9e42c5ca4a276a Liam Girdwood 2019-04-12 632 .load_module =
snd_sof_parse_module_memcpy,
9e42c5ca4a276a Liam Girdwood 2019-04-12 633
9e42c5ca4a276a Liam Girdwood 2019-04-12 634 /*Firmware loading */
9e42c5ca4a276a Liam Girdwood 2019-04-12 635 .load_firmware =
snd_sof_load_firmware_memcpy,
9e42c5ca4a276a Liam Girdwood 2019-04-12 636
9e42c5ca4a276a Liam Girdwood 2019-04-12 637 /* DAI drivers */
9e42c5ca4a276a Liam Girdwood 2019-04-12 638 .drv = byt_dai,
9e42c5ca4a276a Liam Girdwood 2019-04-12 639 .num_drv = 3, /* we have only 3 SSPs
on byt*/
27e322fabd508b Pierre-Louis Bossart 2019-10-24 640
27e322fabd508b Pierre-Louis Bossart 2019-10-24 641 /* ALSA HW info flags */
27e322fabd508b Pierre-Louis Bossart 2019-10-24 642 .hw_info = SNDRV_PCM_INFO_MMAP |
27e322fabd508b Pierre-Louis Bossart 2019-10-24 643 SNDRV_PCM_INFO_MMAP_VALID |
27e322fabd508b Pierre-Louis Bossart 2019-10-24 644 SNDRV_PCM_INFO_INTERLEAVED |
27e322fabd508b Pierre-Louis Bossart 2019-10-24 645 SNDRV_PCM_INFO_PAUSE |
4c02a7bd43e22f Pierre-Louis Bossart 2019-10-24 646 SNDRV_PCM_INFO_BATCH,
0f501c7cde4086 Pierre-Louis Bossart 2019-12-17 647
0f501c7cde4086 Pierre-Louis Bossart 2019-12-17 648 .arch_ops =
&sof_xtensa_arch_ops,
9e42c5ca4a276a Liam Girdwood 2019-04-12 649 };
e42b19450866fb Pierre-Louis Bossart 2019-12-17 650 EXPORT_SYMBOL_NS(sof_tng_ops,
SND_SOC_SOF_MERRIFIELD);
9e42c5ca4a276a Liam Girdwood 2019-04-12 651
:::::: The code at line 613 was first introduced by commit
:::::: 9e42c5ca4a276a668b11116704f5f0d66ab80608 ASoC: SOF: Intel: Add BYT, CHT and BSW DSP
HW support.
:::::: TO: Liam Girdwood <liam.r.girdwood(a)linux.intel.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org