tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: 1e78c85f6eec2ef1bb91ad01af8ac649e1e75d44
commit: d8dd2ff0cc4905d6c88c6e4479fa0591c6d47c96 [21/53] s390/pci: fix CPU address in MSI
for directed IRQ
config: s390-allyesconfig (attached as .config)
compiler: s390-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/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.4
git checkout d8dd2ff0cc4905d6c88c6e4479fa0591c6d47c96
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
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 >>):
arch/s390/pci/pci_irq.c: In function 'zpci_set_irq_affinity':
> arch/s390/pci/pci_irq.c:106:17: error: implicit declaration of
function 'smp_cpu_get_cpu_address' [-Werror=implicit-function-declaration]
106 | int cpu_addr = smp_cpu_get_cpu_address(cpumask_first(dest));
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/smp_cpu_get_cpu_address +106 arch/s390/pci/pci_irq.c
100
101 static int zpci_set_irq_affinity(struct irq_data *data, const struct cpumask
*dest,
102 bool force)
103 {
104 struct msi_desc *entry = irq_get_msi_desc(data->irq);
105 struct msi_msg msg = entry->msg;
106 int cpu_addr = smp_cpu_get_cpu_address(cpumask_first(dest));
107
108 msg.address_lo &= 0xff0000ff;
109 msg.address_lo |= (cpu_addr << 8);
110 pci_write_msi_msg(data->irq, &msg);
111
112 return IRQ_SET_MASK_OK;
113 }
114
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org