tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: de62e075613ad8d1b4979186b1962e3ae58156f2
commit: 25cd5e71375469c4d85f61610e10d1b309bdec87 [140/290] irqchip/gic-v3-its: Synchronise
INV command targetting a VLPI using VSYNC
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 25cd5e71375469c4d85f61610e10d1b309bdec87
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/irqchip/irq-gic-v3-its.c: In function 'its_build_vinv_cmd':
> drivers/irqchip/irq-gic-v3-its.c:698:8: error: implicit
declaration of function 'dev_event_to_vlpi_map'
[-Werror=implicit-function-declaration]
698 | map =
dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
| ^~~~~~~~~~~~~~~~~~~~~
> drivers/irqchip/irq-gic-v3-its.c:698:6: warning: assignment to
'struct its_vlpi_map *' from 'int' makes pointer from integer without a
cast [-Wint-conversion]
698 | map =
dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
| ^
cc1: some warnings being treated as errors
vim +/dev_event_to_vlpi_map +698 drivers/irqchip/irq-gic-v3-its.c
691
692 static struct its_vpe *its_build_vinv_cmd(struct its_node *its,
693 struct its_cmd_block *cmd,
694 struct its_cmd_desc *desc)
695 {
696 struct its_vlpi_map *map;
697
698 map = dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
699 desc->its_inv_cmd.event_id);
700
701 its_encode_cmd(cmd, GITS_CMD_INV);
702 its_encode_devid(cmd, desc->its_inv_cmd.dev->device_id);
703 its_encode_event_id(cmd, desc->its_inv_cmd.event_id);
704
705 its_fixup_cmd(cmd);
706
707 return valid_vpe(its, map->vpe);
708 }
709
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org