All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Jiri Wiesner <jwiesner@suse.de>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	Feng Tang <feng.tang@intel.com>, <linux-kernel@vger.kernel.org>,
	John Stultz <jstultz@google.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Stephen Boyd <sboyd@kernel.org>,
	"Paul E. McKenney" <paulmck@kernel.org>, <oliver.sang@intel.com>
Subject: Re: [PATCH] clocksource: Skip watchdog check for large watchdog intervals
Date: Mon, 8 Jan 2024 21:44:31 +0800	[thread overview]
Message-ID: <202401082125.4ec42f71-oliver.sang@intel.com> (raw)
In-Reply-To: <20240103112113.GA6108@incl>



Hello,

kernel test robot noticed "WARNING:at_kernel/time/clocksource-wdtest.c:#wdtest_func" on:

commit: ceacf0b27b5d9cdc574f8d0a0bcb11d3272e7b9f ("[PATCH] clocksource: Skip watchdog check for large watchdog intervals")
url: https://github.com/intel-lab-lkp/linux/commits/Jiri-Wiesner/clocksource-Skip-watchdog-check-for-large-watchdog-intervals/20240103-192257
base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git da65f29dada7f7cbbf0d6375b88a0316f5f7d6f5
patch link: https://lore.kernel.org/all/20240103112113.GA6108@incl/
patch subject: [PATCH] clocksource: Skip watchdog check for large watchdog intervals

in testcase: boot

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

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


+--------------------------------------------------------------------+------------+------------+
|                                                                    | da65f29dad | ceacf0b27b |
+--------------------------------------------------------------------+------------+------------+
| WARNING:at_kernel/time/clocksource-wdtest.c:#wdtest_func           | 0          | 14         |
| EIP:wdtest_func                                                    | 0          | 14         |
+--------------------------------------------------------------------+------------+------------+


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/202401082125.4ec42f71-oliver.sang@intel.com


[   54.778895][   T41] ------------[ cut here ]------------
[ 54.781279][ T41] WARNING: CPU: 0 PID: 41 at kernel/time/clocksource-wdtest.c:162 wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[   54.785405][   T41] Modules linked in:
[   54.787152][   T41] CPU: 0 PID: 41 Comm: wdtest Tainted: G                 N 6.7.0-rc2-00014-gceacf0b27b5d #1 30e4ebd22e7da702dfdab1313ae74e5a246df970
[   54.791633][   T41] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 54.795124][ T41] EIP: wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[ 54.796800][ T41] Code: ff 8d b4 26 00 00 00 00 66 90 0f 0b e9 ee fd ff ff 8d b4 26 00 00 00 00 66 90 0f 0b e9 08 fe ff ff 8d b4 26 00 00 00 00 66 90 <0f> 0b e9 76 ff ff ff cc cc cc cc cc cc cc cc cc 3e 8d 74 26 00 55
All code
========
   0:	ff 8d b4 26 00 00    	decl   0x26b4(%rbp)
   6:	00 00                	add    %al,(%rax)
   8:	66 90                	xchg   %ax,%ax
   a:	0f 0b                	ud2    
   c:	e9 ee fd ff ff       	jmpq   0xfffffffffffffdff
  11:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  18:	66 90                	xchg   %ax,%ax
  1a:	0f 0b                	ud2    
  1c:	e9 08 fe ff ff       	jmpq   0xfffffffffffffe29
  21:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  28:	66 90                	xchg   %ax,%ax
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	e9 76 ff ff ff       	jmpq   0xffffffffffffffa7
  31:	cc                   	int3   
  32:	cc                   	int3   
  33:	cc                   	int3   
  34:	cc                   	int3   
  35:	cc                   	int3   
  36:	cc                   	int3   
  37:	cc                   	int3   
  38:	cc                   	int3   
  39:	cc                   	int3   
  3a:	3e 8d 74 26 00       	lea    %ds:0x0(%rsi,%riz,1),%esi
  3f:	55                   	push   %rbp

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	e9 76 ff ff ff       	jmpq   0xffffffffffffff7d
   7:	cc                   	int3   
   8:	cc                   	int3   
   9:	cc                   	int3   
   a:	cc                   	int3   
   b:	cc                   	int3   
   c:	cc                   	int3   
   d:	cc                   	int3   
   e:	cc                   	int3   
   f:	cc                   	int3   
  10:	3e 8d 74 26 00       	lea    %ds:0x0(%rsi,%riz,1),%esi
  15:	55                   	push   %rbp
[   54.801794][   T41] EAX: c4a1fe8c EBX: 00000004 ECX: 00000000 EDX: 00000000
[   54.803569][   T41] ESI: c4a1ff2e EDI: 00000000 EBP: c74aff70 ESP: c74aff60
[   54.805314][   T41] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010246
[   54.807278][   T41] CR0: 80050033 CR2: ffda9000 CR3: 05979000 CR4: 000406d0
[   54.808856][   T41] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   54.810216][   T41] DR6: fffe0ff0 DR7: 00000400
[   54.811218][   T41] Call Trace:
[ 54.811950][ T41] ? show_regs (arch/x86/kernel/dumpstack.c:479 arch/x86/kernel/dumpstack.c:465) 
[ 54.812840][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[ 54.813801][ T41] ? __warn (kernel/panic.c:677) 
[ 54.814643][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[ 54.815628][ T41] ? report_bug (lib/bug.c:201 lib/bug.c:219) 
[ 54.816581][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250) 
[ 54.817506][ T41] ? handle_bug (arch/x86/kernel/traps.c:216) 
[ 54.818420][ T41] ? exc_invalid_op (arch/x86/kernel/traps.c:258 (discriminator 1)) 
[ 54.819425][ T41] ? handle_exception (arch/x86/entry/entry_32.S:1056) 
[ 54.820438][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250) 
[ 54.821374][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[ 54.822318][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250) 
[ 54.823284][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1)) 
[ 54.824248][ T41] kthread (kernel/kthread.c:388) 
[ 54.825093][ T41] ? wdtest_ktime_read (kernel/time/clocksource-wdtest.c:105) 
[ 54.826132][ T41] ? kthread_complete_and_exit (kernel/kthread.c:341) 
[ 54.827307][ T41] ret_from_fork (arch/x86/kernel/process.c:153) 
[ 54.828219][ T41] ? kthread_complete_and_exit (kernel/kthread.c:341) 
[ 54.829331][ T41] ret_from_fork_asm (arch/x86/entry/entry_32.S:741) 
[ 54.830310][ T41] entry_INT80_32 (arch/x86/entry/entry_32.S:947) 
[   54.831287][   T41] irq event stamp: 879
[ 54.832154][ T41] hardirqs last enabled at (889): console_unlock (kernel/printk/printk.c:341 kernel/printk/printk.c:2706 kernel/printk/printk.c:3038) 
[ 54.833838][ T41] hardirqs last disabled at (898): console_unlock (kernel/printk/printk.c:339 kernel/printk/printk.c:2706 kernel/printk/printk.c:3038) 
[ 54.835567][ T41] softirqs last enabled at (918): __do_softirq (arch/x86/include/asm/preempt.h:27 kernel/softirq.c:400 kernel/softirq.c:582) 
[ 54.837246][ T41] softirqs last disabled at (907): do_softirq_own_stack (arch/x86/kernel/irq_32.c:57 arch/x86/kernel/irq_32.c:147) 
[   54.839049][   T41] ---[ end trace 0000000000000000 ]---
[   54.840178][   T41] clocksource: Not enough CPUs to check clocksource 'wdtest-ktime'.
[   54.841774][   T41] clocksource_wdtest: --- Done with test.



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



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


  parent reply	other threads:[~2024-01-08 13:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 11:21 [PATCH] clocksource: Skip watchdog check for large watchdog intervals Jiri Wiesner
2024-01-03 22:08 ` Paul E. McKenney
2024-01-04 16:30   ` Jiri Wiesner
2024-01-04 19:19     ` Paul E. McKenney
2024-01-06  2:55       ` Feng Tang
2024-01-06 12:04         ` Paul E. McKenney
2024-01-04  0:46 ` kernel test robot
2024-01-04  0:57 ` kernel test robot
2024-01-04  5:55 ` Feng Tang
2024-01-04 16:48   ` Jiri Wiesner
2024-01-08 13:44 ` kernel test robot [this message]
2024-01-10 18:36   ` Jiri Wiesner

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=202401082125.4ec42f71-oliver.sang@intel.com \
    --to=oliver.sang@intel.com \
    --cc=feng.tang@intel.com \
    --cc=jstultz@google.com \
    --cc=jwiesner@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=paulmck@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    /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 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.