+Lili, Ranjan
Please have a look.
Regards
Nikunj
-----Original Message-----
From: lkp <lkp(a)intel.com>
Sent: Saturday, August 1, 2020 1:42 AM
To: Yu, Fenghua <fenghua.yu(a)intel.com>
Cc: kbuild-all(a)lists.01.org; Dadhania, Nikunj <nikunj.dadhania(a)intel.com>; Luck,
Tony <tony.luck(a)intel.com>
Subject: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined
reference to `split_lock_detect_enabled'
tree:
https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: 36fb6de86271426eb51a3e418d507a40b50ae311
commit: eecee9ebb97331e711740b814672e52347260c20 [15/16] x86/split_lock: Handle #AC
exception for split lock
config: i386-randconfig-c001-20200731 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout eecee9ebb97331e711740b814672e52347260c20
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
ld: arch/x86/kernel/traps.o: in function `do_alignment_check':
> arch/x86/kernel/traps.c:309: undefined reference to
`split_lock_detect_enabled'
vim +309 arch/x86/kernel/traps.c
297
298 dotraplinkage void do_alignment_check(struct pt_regs *regs, long error_code)
299 {
300 unsigned int trapnr = X86_TRAP_AC;
301 char str[] = "alignment check";
302 int signr = SIGBUS;
303
304 RCU_LOCKDEP_WARN(!rcu_is_watching(), "entry code didn't wake RCU");
305
306 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) == NOTIFY_STOP)
307 return;
308
309 if (!user_mode(regs) && split_lock_detect_enabled)
310 panic("Split lock detected\n");
311
312 cond_local_irq_enable(regs);
313
314 /* Handle #AC generated in any other cases. */
315 do_trap(X86_TRAP_AC, SIGBUS, "alignment check", regs,
316 error_code, BUS_ADRALN, NULL);
317 }
318
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org