tree:
https://github.com/avpatel/linux.git riscv_aclint_v2
head: 7dfc87079d3bd32cf6acf24c246204ca31a109e2
commit: bb7ca6d293e66ae0019e3dbd94ea35e4dfbcbe79 [8/13] irqchip: Add ACLINT software
interrupt driver
config: riscv-randconfig-r016-20210617 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/avpatel/linux/commit/bb7ca6d293e66ae0019e3dbd94ea35e4d...
git remote add avpatel
https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_aclint_v2
git checkout bb7ca6d293e66ae0019e3dbd94ea35e4dfbcbe79
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
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 >>):
> drivers/irqchip/irq-aclint-swi.c:165:48: error: too many
arguments to function call, expected 2, have 3
riscv_ipi_set_virq_range(virq, BITS_PER_LONG, true);
~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
arch/riscv/include/asm/smp.h:113:20: note: 'riscv_ipi_set_virq_range' declared
here
static inline void riscv_ipi_set_virq_range(int virq, int nr)
^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER ||
MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +165 drivers/irqchip/irq-aclint-swi.c
147
148 static int __init aclint_swi_set_virq(void)
149 {
150 int virq;
151 struct irq_fwspec ipi = {
152 .fwnode = aclint_swi_domain->fwnode,
153 .param_count = 1,
154 .param[0] = 0,
155 };
156
157 virq = __irq_domain_alloc_irqs(aclint_swi_domain, -1, BITS_PER_LONG,
158 NUMA_NO_NODE, &ipi,
159 false, NULL);
160 if (virq <= 0) {
161 pr_err("unable to alloc IRQs from SBI IPI IRQ domain\n");
162 return -ENOMEM;
163 }
164
165 riscv_ipi_set_virq_range(virq, BITS_PER_LONG, true);
166
167 return 0;
168 }
169
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org