From: kernel test robot <yi1.lai@intel.com>
To: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com,
linux-kernel@vger.kernel.org,
Peter Zijlstra <peterz@infradead.org>,
Yury Norov <yury.norov@gmail.com>, Ingo Molnar <mingo@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
yi1.lai@intel.com
Subject: Re: [linus:master] [virt/steal_governor] 1fb28c664a: WARNING:at_kernel/sched/core.c:#set_task_cpu
Date: Mon, 23 Nov 2026 13:49:18 +0800 [thread overview]
Message-ID: <awPT3mE4ShWUTw7H@ly-workstation> (raw)
In-Reply-To: <7446f558-5cbe-4efc-b6bb-686d0dca9f42@linux.ibm.com>
On Mon, Nov 23, 2026 at 08:25:47AM +0530, Shrikanth Hegde wrote:
> Hi.
>
> On 11/23/26 8:17 AM, kernel test robot wrote:
> >
> > Hello,
> >
> > kernel test robot noticed "WARNING:at_kernel/sched/core.c:#set_task_cpu" on:
> >
> > commit: 1fb28c664a19df8d45a6afa04d28d102b04ea680 ("virt/steal_governor: Enable the driver") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> >
> > [test failed on linux-next/master 909ef7a9a30fa139e69e555e3606680f5cca7726]
> >
> > in testcase: trinity
> > version: trinity-i386-abe9de86-1_20230429 with following parameters:
> >
> > runtime: 300s
> > group: group-00
> > nr_groups: 5
> >
> >
> > config: i386-randconfig-2105-20261109
> > compiler: gcc-14
> > test machine: qemu-system-i386 -enable-kvm -cpu Haswell-noTSX,enforce,lm=off -smp 4 -m 4G
> >
> > Additional analysis by LLM: This commit only adds Kconfig/Makefile wiring for the STEAL_GOVERNOR driver. It contains no scheduler logic changes. Its effect is to flip on CONFIG_PREFERRED_CPU for the first time in the series, which activates a block of previously-dead code under #ifdef CONFIG_PREFERRED_CPU in core.c that had been unreachable until now. The commit to be blamed should be 74699f56ebcf — "sched/core: Push current task from non preferred CPU".
> >
> > (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 <yi1.lai@intel.com>
> > | Closes: https://lore.kernel.org/oe-lkp/202611230353.1fedceba-lkp@intel.com
> >
> >
> > [ 61.829095][ T33] ------------[ cut here ]------------
> > [ 61.830984][ T33] is_migration_disabled(p)
> > [ 61.830988][ T33] WARNING: kernel/sched/core.c:3422 at set_task_cpu+0xb7/0x180, CPU#3: migration/3/33
> > [ 61.834561][ T33] Modules linked in:
> > [ 61.835867][ T33] CPU: 3 UID: 0 PID: 33 Comm: migration/3 Not tainted 7.3.0-rc1-00053-g1fb28c664a19 #1 PREEMPT(full)
> > [ 61.838952][ T33] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
> > [ 61.852825][ T33] Stopper: sched_non_preferred_cpu_push_stop+0x0/0x120 <- sched_push_current_non_preferred_cpu (sched/core.c:11340)
> > [ 61.859715][ T33] EIP: set_task_cpu (sched/core.c:3422 (discriminator 2))
> > [ 61.861346][ T33] Code: 6c 08 00 00 83 c0 28 83 c0 10 e8 a4 a9 ff ff 85 c0 75 02 0f 0b 0f a3 35 5c 65 60 b4 72 02 0f 0b 66 83 bb 5c 02 00 00 00 74 02 <0f> 0b 3e 8d 74 26 00 eb 32 64 a1 14 50 7e b4 0f a3 05 5c 65 60 b4
> > All code
> > ========
> > 0: 6c insb (%dx),%es:(%rdi)
> > 1: 08 00 or %al,(%rax)
> > 3: 00 83 c0 28 83 c0 add %al,-0x3f7cd740(%rbx)
> > 9: 10 e8 adc %ch,%al
> > b: a4 movsb %ds:(%rsi),%es:(%rdi)
> > c: a9 ff ff 85 c0 test $0xc085ffff,%eax
> > 11: 75 02 jne 0x15
> > 13: 0f 0b ud2
> > 15: 0f a3 35 5c 65 60 b4 bt %esi,-0x4b9f9aa4(%rip) # 0xffffffffb4606578
> > 1c: 72 02 jb 0x20
> > 1e: 0f 0b ud2
> > 20: 66 83 bb 5c 02 00 00 cmpw $0x0,0x25c(%rbx)
> > 27: 00
> > 28: 74 02 je 0x2c
> > 2a:* 0f 0b ud2 <-- trapping instruction
> > 2c: 3e 8d 74 26 00 ds lea 0x0(%rsi,%riz,1),%esi
> > 31: eb 32 jmp 0x65
> > 33: 64 a1 14 50 7e b4 0f movabs %fs:0x5c05a30fb47e5014,%eax
> > 3a: a3 05 5c
> > 3d: 65 60 gs (bad)
> > 3f: b4 .byte 0xb4
> >
> > Code starting with the faulting instruction ===========================================
> > 0: 0f 0b ud2
> > 2: 3e 8d 74 26 00 ds lea 0x0(%rsi,%riz,1),%esi
> > 7: eb 32 jmp 0x3b
> > 9: 64 a1 14 50 7e b4 0f movabs %fs:0x5c05a30fb47e5014,%eax
> > 10: a3 05 5c
> > 13: 65 60 gs (bad)
> > 15: b4 .byte 0xb4
> > [ 61.870903][ T33] EAX: 00000002 EBX: f5381300 ECX: 00000000 EDX: 00000003
> > [ 61.873346][ T33] ESI: 00000003 EDI: b614bf00 EBP: b614bebc ESP: b614beac
> > [ 61.875803][ T33] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010002
> > [ 61.882493][ T33] CR0: 80050033 CR2: a6af0000 CR3: 45267000 CR4: 001506d0
> > [ 61.884849][ T33] Call Trace:
> > [ 61.889217][ T33] move_queued_task (sched/core.c:2596)
> > [ 61.890818][ T33] __migrate_task (sched/core.c:2644)
> > [ 61.892297][ T33] sched_non_preferred_cpu_push_stop (sched/core.c:11292)
> > [ 61.897538][ T33] ? tracer_preempt_off (trace/trace_irqsoff.c:692 (discriminator 1))
> > [ 61.899325][ T33] ? trace_preempt_off (trace/trace_preemptirq.c:127)
> > [ 61.901048][ T33] ? preempt_count_add (sched/core.c:6056)
> > [ 61.906016][ T33] ? __balance_push_cpu_stop (sched/core.c:8397)
> > [ 61.907819][ T33] ? preempt_latency_start (sched/core.c:6030 (discriminator 1) sched/core.c:6023 (discriminator 1))
> > [ 61.909635][ T33] ? __balance_push_cpu_stop (sched/core.c:8397)
> > [ 61.911466][ T33] cpu_stopper_thread (stop_machine.c:510)
> > [ 61.913093][ T33] smpboot_thread_fn (smpboot.c:160)
> > [ 61.917838][ T33] kthread (kthread.c:436)
> > [ 61.919260][ T33] ? sort_range (??:?)
> > [ 61.920703][ T33] ? kthread_affine_node (kthread.c:378)
> > [ 61.925663][ T33] ret_from_fork (x86/kernel/process.c:158)
> > [ 61.927228][ T33] ? kthread_affine_node (kthread.c:378)
> > [ 61.928980][ T33] ret_from_fork_asm (x86/entry/entry_32.S:736)
> > [ 61.933831][ T33] entry_INT80_32 (x86/entry/entry_32.S:940)
> > [ 61.935410][ T33] irq event stamp: 108
> > [ 61.936744][ T33] hardirqs last enabled at (107): _raw_spin_unlock_irqrestore (linux/spinlock_api_smp.h:210 (discriminator 1) locking/spinlock.c:221 (discriminator 1))
> > [ 61.943224][ T33] hardirqs last disabled at (108): __schedule (sched/core.c:7225 (discriminator 1))
> > [ 61.946108][ T33] softirqs last enabled at (0): copy_process (fork.c:2239 (discriminator 1))
> > [ 61.948970][ T33] softirqs last disabled at (0): 0x0
> > [ 61.955261][ T33] ---[ end trace 0000000000000000 ]---
> >
> >
> > The kernel config and materials to reproduce are available at:
> > https://download.01.org/0day-ci/archive/20261123/202611230353.1fedceba-lkp@intel.com
> >
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
> >
> >
>
>
> Could you please try with below patch included?
> Symptoms seems to be similar.
>
> https://lore.kernel.org/all/179538776083.92412.4311246927428883759.tip-bot2@tip-bot2/
With this patch applied, issue cannot be reproduced.
next prev parent reply other threads:[~2026-11-23 5:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 2:47 [linus:master] [virt/steal_governor] 1fb28c664a: WARNING:at_kernel/sched/core.c:#set_task_cpu kernel test robot
2026-11-23 2:55 ` Shrikanth Hegde
2026-11-23 5:49 ` kernel test robot [this message]
2026-11-23 6:16 ` Shrikanth Hegde
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=awPT3mE4ShWUTw7H@ly-workstation \
--to=yi1.lai@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mingo@redhat.com \
--cc=oe-lkp@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=sshegde@linux.ibm.com \
--cc=vincent.guittot@linaro.org \
--cc=yury.norov@gmail.com \
/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.