Re: [jonmason-ntb:ntb-next-hacking 16/18] drivers/irqchip/irq-imx-mu-msi.c:128: undefined reference to `pci_msi_unmask_irq'

From: Jon Mason
Date: Wed Aug 10 2022 - 11:59:53 EST


On Wed, Aug 10, 2022 at 11:47 AM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://github.com/jonmason/ntb ntb-next-hacking
> head: d90921d21692b59734d2452efea346217a526f44
> commit: 1db755129d2544df84dc197095c14170cfa419c7 [16/18] irqchip: imx mu worked as msi controller
> config: arm64-randconfig-r022-20220810 (https://download.01.org/0day-ci/archive/20220810/202208102343.yHsh1iyB-lkp@xxxxxxxxx/config)
> compiler: aarch64-linux-gcc (GCC) 12.1.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/jonmason/ntb/commit/1db755129d2544df84dc197095c14170cfa419c7
> git remote add jonmason-ntb https://github.com/jonmason/ntb
> git fetch --no-tags jonmason-ntb ntb-next-hacking
> git checkout 1db755129d2544df84dc197095c14170cfa419c7
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> aarch64-linux-ld: ID map text too big or misaligned
> aarch64-linux-ld: drivers/irqchip/irq-imx-mu-msi.o: in function `imx_mu_msi_unmask_irq':
> >> drivers/irqchip/irq-imx-mu-msi.c:128: undefined reference to `pci_msi_unmask_irq'
> aarch64-linux-ld: drivers/irqchip/irq-imx-mu-msi.o: in function `imx_mu_msi_mask_irq':
> >> drivers/irqchip/irq-imx-mu-msi.c:120: undefined reference to `pci_msi_mask_irq'
>
>
> vim +128 drivers/irqchip/irq-imx-mu-msi.c
>
> 115
> 116 static void imx_mu_msi_mask_irq(struct irq_data *data)
> 117 {
> 118 struct imx_mu_msi *msi_data = irq_data_get_irq_chip_data(data->parent_data);
> 119
> > 120 pci_msi_mask_irq(data);
> 121 imx_mu_xcr_rmw(msi_data, IMX_MU_RCR, 0, IMX_MU_xCR_RIEn(msi_data->cfg->type, data->hwirq));
> 122 }
> 123
> 124 static void imx_mu_msi_unmask_irq(struct irq_data *data)
> 125 {
> 126 struct imx_mu_msi *msi_data = irq_data_get_irq_chip_data(data->parent_data);
> 127
> > 128 pci_msi_unmask_irq(data);
> 129 imx_mu_xcr_rmw(msi_data, IMX_MU_RCR, IMX_MU_xCR_RIEn(msi_data->cfg->type, data->hwirq), 0);
> 130 }
> 131
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

And deleting this branch now. Never intended this branch to be for
public consumption....

Thanks,
Jon