tree:
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
arm64/entry-deasm-new
head: ba43343df6dc8eb4be061490e0b895ec945ea4f3
commit: ba43343df6dc8eb4be061490e0b895ec945ea4f3 [12/12] arm64: entry: convert irq entry
to C
config: arm64-randconfig-r001-20200717 (attached as .config)
compiler: aarch64-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 checkout ba43343df6dc8eb4be061490e0b895ec945ea4f3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/arm64/kernel/entry-common.c:71:25: warning: no previous prototype for
'el1_sync_handler' [-Wmissing-prototypes]
71 | asmlinkage void notrace el1_sync_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~
arch/arm64/kernel/entry-common.c:226:25: warning: no previous prototype for
'el0_sync_handler' [-Wmissing-prototypes]
226 | asmlinkage void notrace el0_sync_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~
> arch/arm64/kernel/entry-common.c:366:25: warning: no previous
prototype for 'el1_irq_handler' [-Wmissing-prototypes]
366 | asmlinkage
void notrace el1_irq_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~
> arch/arm64/kernel/entry-common.c:384:25: warning: no previous
prototype for 'el0_irq_handler' [-Wmissing-prototypes]
384 | asmlinkage
void notrace el0_irq_handler(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~
vim +/el1_irq_handler +366 arch/arm64/kernel/entry-common.c
365
366 asmlinkage void notrace el1_irq_handler(struct pt_regs *regs)
367 {
368 trace_hardirqs_off();
369 invoke_irq_handler(regs);
370 el1_preempt();
371 trace_hardirqs_on();
372 }
373 NOKPROBE_SYMBOL(el1_irq_handler);
374
375 static inline void notrace do_el0_irq_bp_hardening(struct pt_regs *regs)
376 {
377 if (!IS_ENABLED(CONFIG_HARDEN_BRANCH_PREDICTOR))
378 return;
379 if (regs->pc & BIT(55))
380 arm64_apply_bp_hardening();
381 }
382 NOKPROBE_SYMBOL(do_el0_irq_bp_hardening);
383
384 asmlinkage void notrace el0_irq_handler(struct pt_regs *regs)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org