tree:
git://git.infradead.org/users/hch/misc.git vfio-remove-nvlink
head: 8a8ecbd5d30cdb27c47ea06feb682d07b123af5f
commit: 8a8ecbd5d30cdb27c47ea06feb682d07b123af5f [4/4] powerpc/powernv: remove the nvlink
support
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc vfio-remove-nvlink
git checkout 8a8ecbd5d30cdb27c47ea06feb682d07b123af5f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
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 >>):
> arch/powerpc/platforms/powernv/pci-ioda.c:1439:6: warning: no
previous prototype for 'pnv_pci_ioda2_tce_invalidate_entire'
[-Wmissing-prototypes]
1439 | void pnv_pci_ioda2_tce_invalidate_entire(struct
pnv_phb *phb, bool rm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/platforms/powernv/pci-ioda.c: In function
'pnv_pci_ioda2_set_window':
arch/powerpc/platforms/powernv/pci-ioda.c:1685:2: error: implicit declaration of
function 'pnv_pci_ioda2_tce_invalidate_pe'; did you mean
'pnv_pci_ioda2_tce_invalidate'? [-Werror=implicit-function-declaration]
1685 | pnv_pci_ioda2_tce_invalidate_pe(pe);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pnv_pci_ioda2_tce_invalidate
cc1: some warnings being treated as errors
vim +/pnv_pci_ioda2_tce_invalidate_entire +1439 arch/powerpc/platforms/powernv/pci-ioda.c
e57080f17da5d5 Alexey Kardashevskiy 2015-06-05 1438
6b3d12a948d279 Alistair Popple 2017-05-03 @1439 void
pnv_pci_ioda2_tce_invalidate_entire(struct pnv_phb *phb, bool rm)
6b3d12a948d279 Alistair Popple 2017-05-03 1440 {
6b3d12a948d279 Alistair Popple 2017-05-03 1441 if (phb->model ==
PNV_PHB_MODEL_NPU || phb->model == PNV_PHB_MODEL_PHB3)
6b3d12a948d279 Alistair Popple 2017-05-03 1442
pnv_pci_phb3_tce_invalidate_entire(phb, rm);
6b3d12a948d279 Alistair Popple 2017-05-03 1443 else
6b3d12a948d279 Alistair Popple 2017-05-03 1444 opal_pci_tce_kill(phb->opal_id,
OPAL_PCI_TCE_KILL, 0, 0, 0, 0);
6b3d12a948d279 Alistair Popple 2017-05-03 1445 }
6b3d12a948d279 Alistair Popple 2017-05-03 1446
:::::: The code at line 1439 was first introduced by commit
:::::: 6b3d12a948d27977816a15eb48409a298902a548 powerpc/powernv: Fix TCE kill on NVLink2
:::::: TO: Alistair Popple <alistair(a)popple.id.au>
:::::: CC: Michael Ellerman <mpe(a)ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org