Subject: WARNING at kernel/sched/core.c:1166 while booting 4.6.0 mainline on ppc64le bare metal

From: abdhalee <[email-masked]>
Date: Thu, 19 May 2016 16:27:49 +0530

Hi

Today's mainline stable 4.6 on ppc64le bare metal booted with the 
following warning.

[    0.080615] EEH: PowerNV platform initialized
[    0.080709] POWER8 performance monitor hardware support registered
[    0.080791] power8-pmu: PMAO restore workaround active.
[    0.100780] ------------[ cut here ]------------
[    0.100869] WARNING: CPU: 40 PID: 248 at kernel/sched/core.c:1166 
__set_cpus_allowed_ptr+0x21c/0x290
[    0.100958] Modules linked in:
[    0.101013] CPU: 40 PID: 248 Comm: cpuhp/40 Not tainted 4.6.0-autotest #1
[    0.101076] task: c000000f272bde00 ti: c000000f2737c000 task.ti: 
c000000f2737c000
[    0.101151] NIP: c0000000000fbacc LR: c0000000000fbab4 CTR: 
0000000000000000
[    0.101226] REGS: c000000f2737f7d0 TRAP: 0700   Not tainted 
(4.6.0-autotest)
[    0.101300] MSR: 9000000100029033 <SF,HV,EE,ME,IR,DR,RI,LE,TM[E]>  
CR: 28002804  XER: 20000000
[    0.101528] CFAR: c00000000059c648 SOFTE: 0
[    0.101528] GPR00: c0000000000fb9cc c000000f2737fa50 c0000000013ae000 
0000000000000000
[    0.101528] GPR04: c0000000013ded98 0000000000000800 c0000007f64d9408 
0000000000000000
[    0.101528] GPR08: 0000000000000000 0000000000000028 c0000000013dee90 
0000000000000020
[    0.101528] GPR12: 0000000000002200 c00000000fb96800 c0000000000eb6f8 
c0000007fa158480
[    0.101528] GPR16: c0000007fc61fa70 c000000f2721f800 0000000000000000 
0000000000000001
[    0.101528] GPR20: c000000001539d70 0000000000000000 c00000000132841e 
c00000000129c510
[    0.101528] GPR24: 0000010000000000 0000000000000000 c0000000013dea98 
c0000007f64d9408
[    0.101528] GPR28: c0000007fbc1fc00 ffffffffffffffea 0000000000000000 
c000000f27280000
[    0.102489] NIP [c0000000000fbacc] __set_cpus_allowed_ptr+0x21c/0x290
[    0.102553] LR [c0000000000fbab4] __set_cpus_allowed_ptr+0x204/0x290
[    0.102615] Call Trace:
[    0.102643] [c000000f2737fa50] [c0000000000fb9cc] 
__set_cpus_allowed_ptr+0x11c/0x290 (unreliable)
[    0.102745] [c000000f2737fac0] [c0000000000e4710] 
workqueue_cpu_up_callback+0x2c0/0x470
[    0.102833] [c000000f2737fb70] [c0000000000ecea8] 
notifier_call_chain+0x98/0x100
[    0.102922] [c000000f2737fbc0] [c0000000000bd0b0] __cpu_notify+0x70/0xe0
[    0.102997] [c000000f2737fc00] [c0000000000bd208] notify_online+0x38/0x50
[    0.103073] [c000000f2737fc30] [c0000000000bc3f4] 
cpuhp_invoke_callback+0x84/0x250
[    0.103161] [c000000f2737fc90] [c0000000000bc80c] 
cpuhp_up_callbacks+0x5c/0x120
[    0.103248] [c000000f2737fce0] [c0000000000bd6b4] 
cpuhp_thread_fun+0x184/0x1c0
[    0.103336] [c000000f2737fd20] [c0000000000f1290] 
smpboot_thread_fn+0x290/0x2a0
[    0.103424] [c000000f2737fd80] [c0000000000eb800] kthread+0x110/0x130
[    0.103501] [c000000f2737fe30] [c000000000009570] 
ret_from_kernel_thread+0x5c/0x6c
[    0.103632] Instruction dump:
[    0.103708] 419eff3c 3d420003 38a00800 388a0d98 7f63db78 484a0b21 
60000000 2fa30000
[    0.103963] 409eff1c 813f0378 2f890001 419eff10 <0fe00000> 4bffff08 
60000000 60000000
[    0.104230] ---[ end trace 7934a27c43ef63a5 ]---
[    0.130901] Brought up 80 CPUs
[    0.130955] Node 0 CPUs: 0-39
[    0.130958] Node 1 CPUs: 40-79
[    0.133075] devtmpfs: initialized
[    0.150580] evm: security.selinux
[    0.150583] evm: security.SMACK64
[    0.150584] evm: security.SMACK64EXEC
[    0.150586] evm: security.SMACK64TRANSMUTE
[    0.150588] evm: security.SMACK64MMAP
[    0.150590] evm: security.ima
[    0.150591] evm: security.capability
[    0.150761] EEH: devices created
[    0.150977] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns

config and dmesg logs are attached.

Thanks
- Abdul