mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Eli Cohen <eli@mellanox.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Parav Pandit <parav@mellanox.com>
Subject: riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1251: undefined reference to `mlx5_fill_page_frag_array_perm'
Date: Mon, 5 Oct 2020 07:42:10 +0800	[thread overview]
Message-ID: <202010050706.cceb8PAk-lkp@intel.com> (raw)

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

Hi Eli,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   22fbc037cd32e4e6771d2271b565806cfb8c134c
commit: 1a86b377aa2147a7c866b03142e848c18e5f3cb8 vdpa/mlx5: Add VDPA driver for supported mlx5 devices
date:   9 weeks ago
config: riscv-randconfig-r036-20201005 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1a86b377aa2147a7c866b03142e848c18e5f3cb8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 1a86b377aa2147a7c866b03142e848c18e5f3cb8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   riscv32-linux-ld: drivers/vdpa/mlx5/net/main.o: in function `mlx5_vdpa_exit':
   drivers/vdpa/mlx5/net/main.c:72: undefined reference to `mlx5_unregister_interface'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/main.o: in function `mlx5_vdpa_init':
   drivers/vdpa/mlx5/net/main.c:67: undefined reference to `mlx5_register_interface'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `qp_prepare':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:350: undefined reference to `mlx5_fill_page_frag_array'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `create_tir':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1244: undefined reference to `mlx5_frag_buf_alloc_node'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1251: undefined reference to `mlx5_fill_page_frag_array_perm'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1252: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `create_umem':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:623: undefined reference to `mlx5_frag_buf_free'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:650: undefined reference to `mlx5_frag_buf_alloc_node'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:651: undefined reference to `mlx5_db_alloc'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `umem_size':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:605: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `qp_create':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:373: undefined reference to `mlx5_db_free'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:376: undefined reference to `mlx5_frag_buf_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:402: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `alloc_inout':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:889: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:904: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:922: undefined reference to `mlx5_db_alloc'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:926: undefined reference to `mlx5_frag_buf_alloc_node'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `modify_qp':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:967: undefined reference to `mlx5_fill_page_frag_array'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `modify_virtqueue':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1044: undefined reference to `mlx5_vector2eqn'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1061: undefined reference to `mlx5_core_create_cq'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `suspend_vq':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1137: undefined reference to `mlx5_frag_buf_free'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1137: undefined reference to `mlx5_db_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1143: undefined reference to `mlx5_core_destroy_cq'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `mlx5_vdpa_set_vq_ready':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1376: undefined reference to `mlx5_frag_buf_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1378: undefined reference to `mlx5_db_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `mlx5_init_fbc_offset':
   include/linux/mlx5/driver.h:846: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: include/linux/mlx5/driver.h:848: undefined reference to `mlx5_frag_buf_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `umem_destroy':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:688: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `umems_create':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:709: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `create_virtqueue':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:773: undefined reference to `mlx5_db_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `umems_create':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:717: undefined reference to `mlx5_frag_buf_free'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `create_virtqueue':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:785: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:824: undefined reference to `mlx5_del_flow_rules'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `umems_destroy':
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:727: undefined reference to `mlx5_fc_destroy'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:727: undefined reference to `mlx5_destroy_flow_table'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `setup_vq':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1084: undefined reference to `mlx5_get_flow_namespace'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:1096: undefined reference to `mlx5_create_auto_grouped_flow_table'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `connect_qps':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:976: undefined reference to `mlx5_fc_create'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:987: undefined reference to `mlx5_fc_id'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:991: undefined reference to `mlx5_add_flow_rules'
>> riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:995: undefined reference to `mlx5_fc_destroy'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.c:999: undefined reference to `mlx5_destroy_flow_table'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `setup_driver':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1676: undefined reference to `mlx5_query_nic_vport_mtu'
   riscv32-linux-ld: drivers/vdpa/mlx5/net/mlx5_vnet.o: in function `create_rqt':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:1195: undefined reference to `mlx5_query_nic_vport_mac_address'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `dealloc_pd':
   drivers/vdpa/mlx5/core/resources.c:33: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `destroy_uctx':
   drivers/vdpa/mlx5/core/resources.c:83: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_create_tis':
   drivers/vdpa/mlx5/core/resources.c:94: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_destroy_tis':
   drivers/vdpa/mlx5/core/resources.c:107: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_create_rqt':
   drivers/vdpa/mlx5/core/resources.c:113: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o:drivers/vdpa/mlx5/core/resources.c:126: more undefined references to `mlx5_cmd_exec' follow
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_destroy_mkey':
   drivers/vdpa/mlx5/core/resources.c:213: undefined reference to `mlx5_get_uars_page'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_alloc_resources':
   drivers/vdpa/mlx5/core/resources.c:227: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.c:231: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `kmalloc':
   include/linux/slab.h:555: undefined reference to `mlx5_cmd_exec'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `create_uctx':
   drivers/vdpa/mlx5/core/resources.c:70: undefined reference to `mlx5_put_uars_page'
   riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `alloc_pd':
   drivers/vdpa/mlx5/core/resources.c:18: undefined reference to `mlx5_put_uars_page'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

                 reply	other threads:[~2020-10-04 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202010050706.cceb8PAk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=eli@mellanox.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=parav@mellanox.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®