public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip:locking/urgent] [jump_label]  de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
@ 2024-09-08 13:06 kernel test robot
  2024-09-09  9:15 ` Peter Zijlstra
  0 siblings, 1 reply; 6+ messages in thread
From: kernel test robot @ 2024-09-08 13:06 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner,
	oliver.sang



Hello,

kernel test robot noticed "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:

commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix static_key_slow_dec() yet again")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent

in testcase: boot

compiler: clang-18
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)


+--------------------------------------------+------------+------------+
|                                            | fe513c2ef0 | de752774f3 |
+--------------------------------------------+------------+------------+
| boot_successes                             | 12         | 0          |
| boot_failures                              | 0          | 12         |
| kernel_BUG_at_arch/x86/kernel/jump_label.c | 0          | 12         |
| Oops:invalid_opcode:#[##]SMP_PTI           | 0          | 12         |
| RIP:__jump_label_patch                     | 0          | 12         |
| Kernel_panic-not_syncing:Fatal_exception   | 0          | 12         |
+--------------------------------------------+------------+------------+


If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202409082005.393050e2-oliver.sang@intel.com


[   30.932699][   T61] ------------[ cut here ]------------
[   30.933988][   T61] kernel BUG at arch/x86/kernel/jump_label.c:73!
[   30.935400][   T61] Oops: invalid opcode: 0000 [#1] SMP PTI
[   30.936825][   T61] CPU: 0 UID: 0 PID: 61 Comm: kworker/0:2 Not tainted 6.11.0-rc3-00004-gde752774f38b #9
[   30.938908][   T61] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[   30.941185][   T61] Workqueue: cgroup_destroy css_free_rwork_fn
[ 30.942549][ T61] RIP: 0010:__jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.943854][ T61] Code: cc cc cc cc cc e8 de 44 f5 00 48 c7 c7 a5 22 44 89 4c 89 f6 4c 89 f2 4c 89 f1 4d 89 e0 41 89 e9 53 e8 72 7f f4 00 48 83 c4 08 <0f> 0b 0f 0b 0f 0b 0f 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90
All code
========
   0:	cc                   	int3   
   1:	cc                   	int3   
   2:	cc                   	int3   
   3:	cc                   	int3   
   4:	cc                   	int3   
   5:	e8 de 44 f5 00       	callq  0xf544e8
   a:	48 c7 c7 a5 22 44 89 	mov    $0xffffffff894422a5,%rdi
  11:	4c 89 f6             	mov    %r14,%rsi
  14:	4c 89 f2             	mov    %r14,%rdx
  17:	4c 89 f1             	mov    %r14,%rcx
  1a:	4d 89 e0             	mov    %r12,%r8
  1d:	41 89 e9             	mov    %ebp,%r9d
  20:	53                   	push   %rbx
  21:	e8 72 7f f4 00       	callq  0xf47f98
  26:	48 83 c4 08          	add    $0x8,%rsp
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	0f 0b                	ud2    
  2e:	0f 0b                	ud2    
  30:	0f 0b                	ud2    
  32:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop
  3e:	90                   	nop
  3f:	90                   	nop

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	0f 0b                	ud2    
   4:	0f 0b                	ud2    
   6:	0f 0b                	ud2    
   8:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
   e:	90                   	nop
   f:	90                   	nop
  10:	90                   	nop
  11:	90                   	nop
  12:	90                   	nop
  13:	90                   	nop
  14:	90                   	nop
  15:	90                   	nop
[   30.948232][   T61] RSP: 0018:ffff9ca6001f7cf8 EFLAGS: 00010282
[   30.949577][   T61] RAX: 0000000000000090 RBX: 0000000000000001 RCX: 373e749642a76800
[   30.951426][   T61] RDX: ffff8f8d6fc2e100 RSI: ffff8f8d6fc20b88 RDI: ffff8f8d6fc20b88
[   30.953270][   T61] RBP: 0000000000000002 R08: 0000000000007fff R09: ffffffff89653620
[   30.955116][   T61] R10: 0000000000017ffd R11: 0000000000000004 R12: ffffffff88e02ee1
[   30.956953][   T61] R13: ffffffff88e02ee1 R14: ffffffff87ff0855 R15: ffffffff8a4bd53a
[   30.958780][   T61] FS:  0000000000000000(0000) GS:ffff8f8d6fc00000(0000) knlGS:0000000000000000
[   30.961357][   T61] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   30.962842][   T61] CR2: 00007f73b3af0660 CR3: 000000010098c000 CR4: 00000000000406f0
[   30.964667][   T61] Call Trace:
[   30.965625][   T61]  <TASK>
[ 30.966403][ T61] ? __die_body (arch/x86/kernel/dumpstack.c:421) 
[ 30.967440][ T61] ? die (arch/x86/kernel/dumpstack.c:? arch/x86/kernel/dumpstack.c:447) 
[ 30.968374][ T61] ? do_trap (arch/x86/kernel/traps.c:129 arch/x86/kernel/traps.c:155) 
[ 30.969404][ T61] ? __jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.970605][ T61] ? __jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.971801][ T61] ? handle_invalid_op (arch/x86/kernel/traps.c:175 arch/x86/kernel/traps.c:212) 
[ 30.972977][ T61] ? __jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.974314][ T61] ? exc_invalid_op (arch/x86/kernel/traps.c:267) 
[ 30.982068][ T61] ? asm_exc_invalid_op (arch/x86/include/asm/idtentry.h:621) 
[ 30.983273][ T61] ? mem_cgroup_sk_alloc (arch/x86/include/asm/jump_label.h:27 mm/memcontrol.c:4783) 
[ 30.984463][ T61] ? __jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.985683][ T61] ? mem_cgroup_sk_alloc (arch/x86/include/asm/jump_label.h:27 mm/memcontrol.c:4783) 
[ 30.986825][ T61] ? mem_cgroup_sk_alloc (mm/memcontrol.c:4787) 
[ 30.988009][ T61] ? mem_cgroup_sk_alloc (mm/memcontrol.c:4800) 
[ 30.989188][ T61] arch_jump_label_transform_queue (include/linux/jump_label.h:125 arch/x86/kernel/jump_label.c:138) 
[ 30.990552][ T61] __jump_label_update (kernel/jump_label.c:518) 
[ 30.991727][ T61] __static_key_slow_dec_cpuslocked (include/linux/mutex.h:196 kernel/jump_label.c:321) 
[ 30.991734][ T61] static_key_slow_dec (kernel/jump_label.c:327 kernel/jump_label.c:341) 
[ 30.991737][ T61] mem_cgroup_css_free (arch/x86/include/asm/jump_label.h:27 mm/memcontrol.c:3739) 
[ 30.991743][ T61] css_free_rwork_fn (kernel/cgroup/cgroup.c:5378) 
[ 30.991747][ T61] process_scheduled_works (kernel/workqueue.c:3236 kernel/workqueue.c:3312) 
[ 30.991752][ T61] worker_thread (include/linux/list.h:373 kernel/workqueue.c:948 kernel/workqueue.c:3391) 
[ 30.991757][ T61] ? __pfx_worker_thread (kernel/workqueue.c:3339) 
[ 30.991760][ T61] kthread (kernel/kthread.c:391) 
[ 30.991766][ T61] ? __pfx_kthread (kernel/kthread.c:342) 
[ 30.991770][ T61] ret_from_fork (arch/x86/kernel/process.c:153) 
[ 30.991774][ T61] ? __pfx_kthread (kernel/kthread.c:342) 
[ 30.991777][ T61] ret_from_fork_asm (arch/x86/entry/entry_64.S:257) 
[   30.991782][   T61]  </TASK>
[   30.991783][   T61] Modules linked in: drm fuse loop dm_mod ip_tables
[   30.991815][   T61] ---[ end trace 0000000000000000 ]---
[ 30.991818][ T61] RIP: 0010:__jump_label_patch (arch/x86/kernel/jump_label.c:73) 
[ 30.991823][ T61] Code: cc cc cc cc cc e8 de 44 f5 00 48 c7 c7 a5 22 44 89 4c 89 f6 4c 89 f2 4c 89 f1 4d 89 e0 41 89 e9 53 e8 72 7f f4 00 48 83 c4 08 <0f> 0b 0f 0b 0f 0b 0f 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90
All code
========
   0:	cc                   	int3   
   1:	cc                   	int3   
   2:	cc                   	int3   
   3:	cc                   	int3   
   4:	cc                   	int3   
   5:	e8 de 44 f5 00       	callq  0xf544e8
   a:	48 c7 c7 a5 22 44 89 	mov    $0xffffffff894422a5,%rdi
  11:	4c 89 f6             	mov    %r14,%rsi
  14:	4c 89 f2             	mov    %r14,%rdx
  17:	4c 89 f1             	mov    %r14,%rcx
  1a:	4d 89 e0             	mov    %r12,%r8
  1d:	41 89 e9             	mov    %ebp,%r9d
  20:	53                   	push   %rbx
  21:	e8 72 7f f4 00       	callq  0xf47f98
  26:	48 83 c4 08          	add    $0x8,%rsp
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	0f 0b                	ud2    
  2e:	0f 0b                	ud2    
  30:	0f 0b                	ud2    
  32:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop
  3e:	90                   	nop
  3f:	90                   	nop

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	0f 0b                	ud2    
   4:	0f 0b                	ud2    
   6:	0f 0b                	ud2    
   8:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
   e:	90                   	nop
   f:	90                   	nop
  10:	90                   	nop
  11:	90                   	nop
  12:	90                   	nop
  13:	90                   	nop
  14:	90                   	nop
  15:	90                   	nop


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


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

* Re: [tip:locking/urgent] [jump_label]  de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
  2024-09-08 13:06 [tip:locking/urgent] [jump_label] de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c kernel test robot
@ 2024-09-09  9:15 ` Peter Zijlstra
  2024-09-09 10:56   ` Peter Zijlstra
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Zijlstra @ 2024-09-09  9:15 UTC (permalink / raw)
  To: kernel test robot
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner

On Sun, Sep 08, 2024 at 09:06:55PM +0800, kernel test robot wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:
> 
> commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix static_key_slow_dec() yet again")
> https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent
> 
> in testcase: boot
> 
> compiler: clang-18
> test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> 

> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com

So the whole thing actually boots and works on my real machine, so I had
to resort to using this qemu nonsense, as such I did as instructed in
the reproduce file.

I build the thing using clang-17 (for some reason debian is shitting
itself trying to install clang-18 on this machine and I don't want to
spend the day fighting that).

Except, once I do:

  bin/lkp qemu -k /usr/src/linux-2.6/tmp-build/arch/x86/boot/bzImage -m /usr/src/linux-2.6/tmp-build/mod/modules.cgz job-script

The whole thing grinds to a halt like so:

[    4.671842][    T1] /dev/root: Can't open blockdev
[    4.673451][    T1] VFS: Cannot open root device "/dev/ram0" or unknown-block(0,0): error -6
[    4.676062][    T1] Please append a correct "root=" boot option; here are the available partitions:
[    4.678814][    T1] List of all bdev filesystems:
[    4.680333][    T1]  ext3
[    4.680337][    T1]  ext4
[    4.681328][    T1]
[    4.683185][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.685856][    T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.0-rc3-00004-gde752774f38b #17
[    4.688668][    T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    4.691573][    T1] Call Trace:
[    4.692614][    T1]  <TASK>
[    4.693562][    T1]  dump_stack_lvl+0x3b/0xb0
[    4.694800][    T1]  panic+0x108/0x2e0
[    4.695890][    T1]  mount_root_generic+0x27f/0x300
[    4.697283][    T1]  prepare_namespace+0x72/0xa0
[    4.698547][    T1]  kernel_init_freeable+0x14d/0x190
[    4.699828][    T1]  ? __pfx_kernel_init+0x10/0x10
[    4.701036][    T1]  kernel_init+0x16/0x1a0
[    4.702122][    T1]  ret_from_fork+0x36/0x40
[    4.703275][    T1]  ? __pfx_kernel_init+0x10/0x10
[    4.704424][    T1]  ret_from_fork_asm+0x1a/0x30
[    4.705546][    T1]  </TASK>
[    4.706476][    T1] Kernel Offset: 0x11600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)

So clearly the day is off to a good start... :/

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

* Re: [tip:locking/urgent] [jump_label]  de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
  2024-09-09  9:15 ` Peter Zijlstra
@ 2024-09-09 10:56   ` Peter Zijlstra
  2024-09-10  9:39     ` Klara Modin
  2024-09-11  1:27     ` Oliver Sang
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Zijlstra @ 2024-09-09 10:56 UTC (permalink / raw)
  To: kernel test robot
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner

On Mon, Sep 09, 2024 at 11:15:31AM +0200, Peter Zijlstra wrote:
> On Sun, Sep 08, 2024 at 09:06:55PM +0800, kernel test robot wrote:
> > 
> > 
> > Hello,
> > 
> > kernel test robot noticed "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:
> > 
> > commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix static_key_slow_dec() yet again")
> > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent
> > 
> > in testcase: boot
> > 
> > compiler: clang-18
> > test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> > 
> 
> > The kernel config and materials to reproduce are available at:
> > https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com
> 
> So the whole thing actually boots and works on my real machine, so I had
> to resort to using this qemu nonsense, as such I did as instructed in
> the reproduce file.
> 
> I build the thing using clang-17 (for some reason debian is shitting
> itself trying to install clang-18 on this machine and I don't want to
> spend the day fighting that).
> 
> Except, once I do:
> 
>   bin/lkp qemu -k /usr/src/linux-2.6/tmp-build/arch/x86/boot/bzImage -m /usr/src/linux-2.6/tmp-build/mod/modules.cgz job-script
> 
> The whole thing grinds to a halt like so:

Since I'm not able to reproduce, could you please run the thing against:

  git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/urgent

and see what that does?

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

* Re: [tip:locking/urgent] [jump_label] de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
  2024-09-09 10:56   ` Peter Zijlstra
@ 2024-09-10  9:39     ` Klara Modin
  2024-09-10  9:40       ` Klara Modin
  2024-09-11  1:27     ` Oliver Sang
  1 sibling, 1 reply; 6+ messages in thread
From: Klara Modin @ 2024-09-10  9:39 UTC (permalink / raw)
  To: Peter Zijlstra, kernel test robot
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner

Hi,

On 2024-09-09 12:56, Peter Zijlstra wrote:
> On Mon, Sep 09, 2024 at 11:15:31AM +0200, Peter Zijlstra wrote:
>> On Sun, Sep 08, 2024 at 09:06:55PM +0800, kernel test robot wrote:
>>>
>>>
>>> Hello,
>>>
>>> kernel test robot noticed "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:
>>>
>>> commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix static_key_slow_dec() yet again")
>>> https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent
>>>
>>> in testcase: boot
>>>
>>> compiler: clang-18
>>> test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
>>>
>>
>>> The kernel config and materials to reproduce are available at:
>>> https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com
>>
>> So the whole thing actually boots and works on my real machine, so I had
>> to resort to using this qemu nonsense, as such I did as instructed in
>> the reproduce file.
>>
>> I build the thing using clang-17 (for some reason debian is shitting
>> itself trying to install clang-18 on this machine and I don't want to
>> spend the day fighting that).
>>
>> Except, once I do:
>>
>>    bin/lkp qemu -k /usr/src/linux-2.6/tmp-build/arch/x86/boot/bzImage -m /usr/src/linux-2.6/tmp-build/mod/modules.cgz job-script
>>
>> The whole thing grinds to a halt like so:
> 
> Since I'm not able to reproduce, could you please run the thing against:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/urgent
> 
> and see what that does?
> 

I hit this bug on today's next. Reverting 
de752774f38bb766941ed1bf910ba5a9f6cc6bf7 and applying the updated 
version (6b01e5a8c11611a3dbd3d9efd915427cbce9352a) fixed it for me.

Thanks,
Tested-by: Klara Modin <klarasmodin@gmail.com>

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

* Re: [tip:locking/urgent] [jump_label] de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
  2024-09-10  9:39     ` Klara Modin
@ 2024-09-10  9:40       ` Klara Modin
  0 siblings, 0 replies; 6+ messages in thread
From: Klara Modin @ 2024-09-10  9:40 UTC (permalink / raw)
  To: Peter Zijlstra, kernel test robot
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner

On 2024-09-10 11:39, Klara Modin wrote:
> Hi,
> 
> On 2024-09-09 12:56, Peter Zijlstra wrote:
>> On Mon, Sep 09, 2024 at 11:15:31AM +0200, Peter Zijlstra wrote:
>>> On Sun, Sep 08, 2024 at 09:06:55PM +0800, kernel test robot wrote:
>>>>
>>>>
>>>> Hello,
>>>>
>>>> kernel test robot noticed 
>>>> "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:
>>>>
>>>> commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix 
>>>> static_key_slow_dec() yet again")
>>>> https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent
>>>>
>>>> in testcase: boot
>>>>
>>>> compiler: clang-18
>>>> test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 
>>>> -m 16G
>>>>
>>>
>>>> The kernel config and materials to reproduce are available at:
>>>> https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com
>>>
>>> So the whole thing actually boots and works on my real machine, so I had
>>> to resort to using this qemu nonsense, as such I did as instructed in
>>> the reproduce file.
>>>
>>> I build the thing using clang-17 (for some reason debian is shitting
>>> itself trying to install clang-18 on this machine and I don't want to
>>> spend the day fighting that).
>>>
>>> Except, once I do:
>>>
>>>    bin/lkp qemu -k /usr/src/linux-2.6/tmp-build/arch/x86/boot/bzImage 
>>> -m /usr/src/linux-2.6/tmp-build/mod/modules.cgz job-script
>>>
>>> The whole thing grinds to a halt like so:
>>
>> Since I'm not able to reproduce, could you please run the thing against:
>>
>>    git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git 
>> locking/urgent
>>
>> and see what that does?
>>
> 
> I hit this bug on today's next. Reverting 
> de752774f38bb766941ed1bf910ba5a9f6cc6bf7 and applying the updated 
> version (6b01e5a8c11611a3dbd3d9efd915427cbce9352a) fixed it for me.
> 
> Thanks,
> Tested-by: Klara Modin <klarasmodin@gmail.com>

Sorry, this should now be from my usual email.

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

* Re: [tip:locking/urgent] [jump_label]  de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c
  2024-09-09 10:56   ` Peter Zijlstra
  2024-09-10  9:39     ` Klara Modin
@ 2024-09-11  1:27     ` Oliver Sang
  1 sibling, 0 replies; 6+ messages in thread
From: Oliver Sang @ 2024-09-11  1:27 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: oe-lkp, lkp, linux-kernel, x86, Darrick J. Wong, Thomas Gleixner,
	oliver.sang

hi, Peter Zijlstra,

On Mon, Sep 09, 2024 at 12:56:23PM +0200, Peter Zijlstra wrote:
> On Mon, Sep 09, 2024 at 11:15:31AM +0200, Peter Zijlstra wrote:
> > On Sun, Sep 08, 2024 at 09:06:55PM +0800, kernel test robot wrote:
> > > 
> > > 
> > > Hello,
> > > 
> > > kernel test robot noticed "kernel_BUG_at_arch/x86/kernel/jump_label.c" on:
> > > 
> > > commit: de752774f38bb766941ed1bf910ba5a9f6cc6bf7 ("jump_label: Fix static_key_slow_dec() yet again")
> > > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/urgent
> > > 
> > > in testcase: boot
> > > 
> > > compiler: clang-18
> > > test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> > > 
> > 
> > > The kernel config and materials to reproduce are available at:
> > > https://download.01.org/0day-ci/archive/20240908/202409082005.393050e2-oliver.sang@intel.com
> > 
> > So the whole thing actually boots and works on my real machine, so I had
> > to resort to using this qemu nonsense, as such I did as instructed in
> > the reproduce file.
> > 
> > I build the thing using clang-17 (for some reason debian is shitting
> > itself trying to install clang-18 on this machine and I don't want to
> > spend the day fighting that).
> > 
> > Except, once I do:
> > 
> >   bin/lkp qemu -k /usr/src/linux-2.6/tmp-build/arch/x86/boot/bzImage -m /usr/src/linux-2.6/tmp-build/mod/modules.cgz job-script
> > 
> > The whole thing grinds to a halt like so:
> 
> Since I'm not able to reproduce, could you please run the thing against:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/urgent
> 
> and see what that does?

we did the same test upon commit
6b01e5a8c1161 (peterz-queue/locking/urgent) jump_label: Fix static_key_slow_dec() yet again

the issue cannot be reproduced. thanks


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

end of thread, other threads:[~2024-09-11  1:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-08 13:06 [tip:locking/urgent] [jump_label] de752774f3: kernel_BUG_at_arch/x86/kernel/jump_label.c kernel test robot
2024-09-09  9:15 ` Peter Zijlstra
2024-09-09 10:56   ` Peter Zijlstra
2024-09-10  9:39     ` Klara Modin
2024-09-10  9:40       ` Klara Modin
2024-09-11  1:27     ` Oliver Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox