FS#53616 - [linux] 4.10.8 loses cpu cores somehow
Attached to Project:
Arch Linux
Opened by Michael (c0da) - Saturday, 08 April 2017, 13:56 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 01 May 2017, 17:17 GMT
Opened by Michael (c0da) - Saturday, 08 April 2017, 13:56 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 01 May 2017, 17:17 GMT
|
Details
Description:
After waking up after suspend only one thread of CPU is operational. Dmesg reporting Error taking CPU[123] up: -22 Additional info: * package version(s) linux 4.10.8-1 * config and/or log files etc. dmesg [ 4531.025484] PM: Syncing filesystems ... done. [ 4531.031230] PM: Preparing system for sleep (mem) [ 4531.031907] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 4531.033304] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 4531.034484] PM: Suspending system (mem) [ 4531.034527] Suspending console(s) (use no_console_suspend to debug) [ 4531.035033] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 4531.035597] sd 0:0:0:0: [sda] Stopping disk [ 4531.048411] ACPI : EC: event blocked [ 4531.383235] PM: suspend of devices complete after 348.435 msecs [ 4531.398839] PM: late suspend of devices complete after 15.591 msecs [ 4531.399935] ACPI : EC: interrupt blocked [ 4531.415816] PM: noirq suspend of devices complete after 16.965 msecs [ 4531.416478] ACPI: Preparing to enter system sleep state S3 [ 4531.417376] ACPI : EC: EC stopped [ 4531.417377] PM: Saving platform NVS memory [ 4531.417397] Disabling non-boot CPUs ... [ 4531.444935] smpboot: CPU 1 is now offline [ 4531.470839] smpboot: CPU 2 is now offline [ 4531.497319] smpboot: CPU 3 is now offline [ 4531.499423] ACPI: Low-level resume complete [ 4531.499480] ACPI : EC: EC started [ 4531.499481] PM: Restoring platform NVS memory [ 4531.499790] Suspended for 1539.160 seconds [ 4531.500797] Enabling non-boot CPUs ... [ 4531.500843] x86: Booting SMP configuration: [ 4531.500844] smpboot: Booting Node 0 Processor 1 APIC 0x1 [ 4531.503526] cache: parent cpu1 should not be sleeping [ 4531.503608] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 1 (-22) [ 4531.505413] smpboot: CPU 1 is now offline [ 4531.505535] Error taking CPU1 up: -22 [ 4531.505571] smpboot: Booting Node 0 Processor 2 APIC 0x2 [ 4531.508170] cache: parent cpu2 should not be sleeping [ 4531.508255] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 2 (-22) [ 4531.509626] smpboot: CPU 2 is now offline [ 4531.509719] Error taking CPU2 up: -22 [ 4531.509746] smpboot: Booting Node 0 Processor 3 APIC 0x3 [ 4531.512519] cache: parent cpu3 should not be sleeping [ 4531.512599] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 3 (-22) [ 4531.513971] smpboot: CPU 3 is now offline [ 4531.514078] Error taking CPU3 up: -22 [ 4531.515136] ACPI: Waking up from system sleep state S3 [ 4531.524507] ACPI : EC: interrupt unblocked /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 58 model name : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz stepping : 9 microcode : 0x1c cpu MHz : 1224.572 cache size : 3072 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts bugs : bogomips : 3393.46 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: Steps to reproduce: Just suspend and resume. |
This task depends upon
The modified patch is already in stable queue: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/diff/queue-4.10/cpufreq-bring-cpus-up-even-if-cpufreq_online-failed.patch?id=f756ba9e2e10fd4af5d4e3117b69b2516990bcbc