public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Anna-Maria Behnsen <anna-maria@linutronix.de>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	<linux-kernel@vger.kernel.org>, <x86@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>,
	<oliver.sang@intel.com>
Subject: [tip:timers/urgent] [timers/migration]  8cdb61838e: WARNING:at_kernel/time/timer_migration.c:#tmigr_connect_child_parent
Date: Wed, 10 Jul 2024 16:37:00 +0800	[thread overview]
Message-ID: <202407101636.d9d4e8be-oliver.sang@intel.com> (raw)



Hello,

kernel test robot noticed "WARNING:at_kernel/time/timer_migration.c:#tmigr_connect_child_parent" on:

commit: 8cdb61838ee5c63556773ea2eed24deab6b15257 ("timers/migration: Move hierarchy setup into cpuhotplug prepare callback")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git timers/urgent

[test failed on linux-next/master 82d01fe6ee52086035b201cfa1410a3b04384257]

in testcase: filebench
version: filebench-x86_64-22620e6-1_20240224
with following parameters:

	disk: 1HDD
	fs: xfs
	test: randomwrite.f
	cpufreq_governor: performance



compiler: gcc-13
test machine: 128 threads 2 sockets Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz (Ice Lake) with 128G memory

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



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/202407101636.d9d4e8be-oliver.sang@intel.com


[   16.306955][  T209] ------------[ cut here ]------------
[ 16.312287][ T209] WARNING: CPU: 32 PID: 209 at kernel/time/timer_migration.c:1620 tmigr_connect_child_parent (kernel/time/timer_migration.c:1620 (discriminator 7)) 
[   16.323148][  T209] Modules linked in:
[   16.326901][  T209] CPU: 32 PID: 209 Comm: cpuhp/32 Not tainted 6.10.0-rc6-00002-g8cdb61838ee5 #1
[ 16.335766][ T209] RIP: 0010:tmigr_connect_child_parent (kernel/time/timer_migration.c:1620 (discriminator 7)) 
[ 16.341945][ T209] Code: c6 07 00 0f 1f 00 fb 66 90 0f b6 45 60 48 89 e2 48 89 ee 48 89 df 88 44 24 18 e8 ec fc ff ff 84 c0 75 09 48 83 7b 08 00 74 02 <0f> 0b 48 8b 44 24 20 65 48 2b 04 25 28 00 00 00 75 36 48 83 c4 28
All code
========
   0:	c6 07 00             	movb   $0x0,(%rdi)
   3:	0f 1f 00             	nopl   (%rax)
   6:	fb                   	sti    
   7:	66 90                	xchg   %ax,%ax
   9:	0f b6 45 60          	movzbl 0x60(%rbp),%eax
   d:	48 89 e2             	mov    %rsp,%rdx
  10:	48 89 ee             	mov    %rbp,%rsi
  13:	48 89 df             	mov    %rbx,%rdi
  16:	88 44 24 18          	mov    %al,0x18(%rsp)
  1a:	e8 ec fc ff ff       	callq  0xfffffffffffffd0b
  1f:	84 c0                	test   %al,%al
  21:	75 09                	jne    0x2c
  23:	48 83 7b 08 00       	cmpq   $0x0,0x8(%rbx)
  28:	74 02                	je     0x2c
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
  31:	65 48 2b 04 25 28 00 	sub    %gs:0x28,%rax
  38:	00 00 
  3a:	75 36                	jne    0x72
  3c:	48 83 c4 28          	add    $0x28,%rsp

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   7:	65 48 2b 04 25 28 00 	sub    %gs:0x28,%rax
   e:	00 00 
  10:	75 36                	jne    0x48
  12:	48 83 c4 28          	add    $0x28,%rsp
[   16.361382][  T209] RSP: 0000:ffa0000007587da0 EFLAGS: 00010286
[   16.367302][  T209] RAX: 0000000000000000 RBX: ff11002000b56b00 RCX: 0000000000010101
[   16.375130][  T209] RDX: 0000000000010101 RSI: ff11002000b56b00 RDI: ff11002000b56b50
[   16.382955][  T209] RBP: ff11002000b57500 R08: 0000000000000101 R09: ffa0000007587da0
[   16.390782][  T209] R10: 0000000000000001 R11: 00000000c5672a10 R12: 0000000000000001
[   16.398608][  T209] R13: ff11001084311240 R14: 0000000000000020 R15: 0000000000000002
[   16.406433][  T209] FS:  0000000000000000(0000) GS:ff11001fffe00000(0000) knlGS:0000000000000000
[   16.415213][  T209] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   16.421650][  T209] CR2: 0000000000000000 CR3: 000000207de1c001 CR4: 0000000000771ef0
[   16.429477][  T209] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   16.437301][  T209] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   16.445128][  T209] PKRU: 55555554
[   16.448535][  T209] Call Trace:
[   16.451680][  T209]  <TASK>
[ 16.454479][ T209] ? __warn (kernel/panic.c:693) 
[ 16.458405][ T209] ? tmigr_connect_child_parent (kernel/time/timer_migration.c:1620 (discriminator 7)) 
[ 16.463980][ T209] ? report_bug (lib/bug.c:180 lib/bug.c:219) 
[ 16.468338][ T209] ? handle_bug (arch/x86/kernel/traps.c:239) 
[ 16.472523][ T209] ? exc_invalid_op (arch/x86/kernel/traps.c:260 (discriminator 1)) 
[ 16.477055][ T209] ? asm_exc_invalid_op (arch/x86/include/asm/idtentry.h:621) 
[ 16.481936][ T209] ? tmigr_connect_child_parent (kernel/time/timer_migration.c:1620 (discriminator 7)) 
[ 16.487507][ T209] tmigr_setup_groups+0x1e6/0x430 
[ 16.492993][ T209] ? __pfx_tmigr_cpu_prepare (kernel/time/timer_migration.c:1727) 
[ 16.498305][ T209] tmigr_cpu_prepare (kernel/time/timer_migration.c:1721 kernel/time/timer_migration.c:1737) 
[ 16.502927][ T209] cpuhp_invoke_callback (kernel/cpu.c:194) 
[ 16.507980][ T209] ? __pfx_smpboot_thread_fn (kernel/smpboot.c:107) 
[ 16.513291][ T209] cpuhp_thread_fun (kernel/cpu.c:1092 (discriminator 1)) 
[ 16.517910][ T209] smpboot_thread_fn (kernel/smpboot.c:164) 
[ 16.522615][ T209] kthread (kernel/kthread.c:389) 
[ 16.526367][ T209] ? __pfx_kthread (kernel/kthread.c:342) 
[ 16.530814][ T209] ret_from_fork (arch/x86/kernel/process.c:147) 
[ 16.535088][ T209] ? __pfx_kthread (kernel/kthread.c:342) 
[ 16.539533][ T209] ret_from_fork_asm (arch/x86/entry/entry_64.S:257) 
[   16.544153][  T209]  </TASK>
[   16.547039][  T209] ---[ end trace 0000000000000000 ]---
[   16.562459][    T1] Timer migration setup failed



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



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


             reply	other threads:[~2024-07-10  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10  8:37 kernel test robot [this message]
2024-07-15 23:14 ` [tip:timers/urgent] [timers/migration] 8cdb61838e: WARNING:at_kernel/time/timer_migration.c:#tmigr_connect_child_parent Paul E. McKenney
2024-07-16  7:36   ` Anna-Maria Behnsen
2024-07-16 13:41     ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202407101636.d9d4e8be-oliver.sang@intel.com \
    --to=oliver.sang@intel.com \
    --cc=anna-maria@linutronix.de \
    --cc=frederic@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox