All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled'
@ 2020-07-31 20:11 kernel test robot
  2020-08-04  4:08 ` Dadhania, Nikunj
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2020-07-31 20:11 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]

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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32242 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled'
  2020-07-31 20:11 [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled' kernel test robot
@ 2020-08-04  4:08 ` Dadhania, Nikunj
  2020-08-05  1:50   ` Li, Lili
  0 siblings, 1 reply; 4+ messages in thread
From: Dadhania, Nikunj @ 2020-08-04  4:08 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2175 bytes --]

+Lili, Ranjan

Please have a look.

Regards
Nikunj

-----Original Message-----
From: lkp <lkp@intel.com> 
Sent: Saturday, August 1, 2020 1:42 AM
To: Yu, Fenghua <fenghua.yu@intel.com>
Cc: kbuild-all(a)lists.01.org; Dadhania, Nikunj <nikunj.dadhania@intel.com>; Luck, Tony <tony.luck@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@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(a)lists.01.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled'
  2020-08-04  4:08 ` Dadhania, Nikunj
@ 2020-08-05  1:50   ` Li, Lili
  2020-08-05  4:52     ` Dadhania, Nikunj
  0 siblings, 1 reply; 4+ messages in thread
From: Li, Lili @ 2020-08-05  1:50 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]

Thanks Nikunj! Could you also forward the .config file to me?

Thanks
Lili

> -----Original Message-----
> From: Dadhania, Nikunj <nikunj.dadhania@intel.com>
> Sent: Tuesday, August 4, 2020 12:09 PM
> To: lkp <lkp@intel.com>; Yu, Fenghua <fenghua.yu@intel.com>
> Cc: kbuild-all(a)lists.01.org; Luck, Tony <tony.luck@intel.com>; Li, Lili
> <lili.li@intel.com>; Dutta, Ranjan <ranjan.dutta@intel.com>
> Subject: RE: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309:
> undefined reference to `split_lock_detect_enabled'
> 
> +Lili, Ranjan
> 
> Please have a look.
> 
> Regards
> Nikunj
> 
> -----Original Message-----
> From: lkp <lkp@intel.com>
> Sent: Saturday, August 1, 2020 1:42 AM
> To: Yu, Fenghua <fenghua.yu@intel.com>
> Cc: kbuild-all(a)lists.01.org; Dadhania, Nikunj <nikunj.dadhania@intel.com>;
> Luck, Tony <tony.luck@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@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(a)lists.01.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled'
  2020-08-05  1:50   ` Li, Lili
@ 2020-08-05  4:52     ` Dadhania, Nikunj
  0 siblings, 0 replies; 4+ messages in thread
From: Dadhania, Nikunj @ 2020-08-05  4:52 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3356 bytes --]

Attached, it got missed in the reply

-----Original Message-----
From: Li, Lili <lili.li@intel.com> 
Sent: Wednesday, August 5, 2020 7:21 AM
To: Dadhania, Nikunj <nikunj.dadhania@intel.com>; lkp <lkp@intel.com>; Yu, Fenghua <fenghua.yu@intel.com>
Cc: kbuild-all(a)lists.01.org; Luck, Tony <tony.luck@intel.com>; Dutta, Ranjan <ranjan.dutta@intel.com>
Subject: RE: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled'

Thanks Nikunj! Could you also forward the .config file to me?

Thanks
Lili

> -----Original Message-----
> From: Dadhania, Nikunj <nikunj.dadhania@intel.com>
> Sent: Tuesday, August 4, 2020 12:09 PM
> To: lkp <lkp@intel.com>; Yu, Fenghua <fenghua.yu@intel.com>
> Cc: kbuild-all(a)lists.01.org; Luck, Tony <tony.luck@intel.com>; Li, Lili
> <lili.li@intel.com>; Dutta, Ranjan <ranjan.dutta@intel.com>
> Subject: RE: [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309:
> undefined reference to `split_lock_detect_enabled'
> 
> +Lili, Ranjan
> 
> Please have a look.
> 
> Regards
> Nikunj
> 
> -----Original Message-----
> From: lkp <lkp@intel.com>
> Sent: Saturday, August 1, 2020 1:42 AM
> To: Yu, Fenghua <fenghua.yu@intel.com>
> Cc: kbuild-all(a)lists.01.org; Dadhania, Nikunj <nikunj.dadhania@intel.com>;
> Luck, Tony <tony.luck@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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 32242 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-05  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 20:11 [intel-linux-intel-lts:5.4/yocto 15/16] arch/x86/kernel/traps.c:309: undefined reference to `split_lock_detect_enabled' kernel test robot
2020-08-04  4:08 ` Dadhania, Nikunj
2020-08-05  1:50   ` Li, Lili
2020-08-05  4:52     ` Dadhania, Nikunj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.