tree:
https://github.com/jgunthorpe/linux rdma_addr_space
head: 332a60a1fb7cbb5217d390271fc512441d6c30ab
commit: f2276372b32b7497741ceb9814c4ac4fc55f79a1 [206/208] RDMA/mlx5: Consolidate MR
destruction to mlx5_ib_dereg_mr()
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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://github.com/jgunthorpe/linux/commit/f2276372b32b7497741ceb9814c4ac...
git remote add jgunthorpe
https://github.com/jgunthorpe/linux
git fetch --no-tags jgunthorpe rdma_addr_space
git checkout f2276372b32b7497741ceb9814c4ac4fc55f79a1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/infiniband/hw/mlx5/mr.c:628:6: warning: no previous
prototype for 'mlx5_mr_cache_free' [-Wmissing-prototypes]
628 | void
mlx5_mr_cache_free(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr)
| ^~~~~~~~~~~~~~~~~~
vim +/mlx5_mr_cache_free +628 drivers/infiniband/hw/mlx5/mr.c
e126ba97dba9ed Eli Cohen 2013-07-07 627
49780d42dfc9ec Artemy Kovalyov 2017-01-18 @628 void mlx5_mr_cache_free(struct mlx5_ib_dev
*dev, struct mlx5_ib_mr *mr)
e126ba97dba9ed Eli Cohen 2013-07-07 629 {
b91e1751fbcee7 Jason Gunthorpe 2020-03-10 630 struct mlx5_cache_ent *ent =
mr->cache_ent;
e126ba97dba9ed Eli Cohen 2013-07-07 631
746b5583c1a48a Eli Cohen 2013-10-23 632 spin_lock_irq(&ent->lock);
e126ba97dba9ed Eli Cohen 2013-07-07 633 list_add_tail(&mr->list,
&ent->head);
7c8691a396bd20 Jason Gunthorpe 2020-03-10 634 ent->available_mrs++;
ad2d3ef46d2a88 Jason Gunthorpe 2020-03-10 635 queue_adjust_cache_locked(ent);
746b5583c1a48a Eli Cohen 2013-10-23 636 spin_unlock_irq(&ent->lock);
e126ba97dba9ed Eli Cohen 2013-07-07 637 }
e126ba97dba9ed Eli Cohen 2013-07-07 638
:::::: The code at line 628 was first introduced by commit
:::::: 49780d42dfc9ec0f4090c32ca59688449da1a1cd IB/mlx5: Expose MR cache for mlx5_ib
:::::: TO: Artemy Kovalyov <artemyko(a)mellanox.com>
:::::: CC: Doug Ledford <dledford(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org