Bug 100044

Summary: coretemp initialization gets stuck
Product: DRI Reporter: Imre Deak <imre.deak>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jani.saarinen
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: KBL i915 features: power/suspend-resume
Attachments:
Description Flags
dmesg log with failed suspend none

Description Imre Deak 2017-03-03 10:14:38 UTC
Created attachment 130040 [details]
dmesg log with failed suspend

On KBL IGT suspend-to-mem tests fail with the following trace. This ticket is for CI/IGT tracking only, I opened a corresponding upstream ticket:
https://bugzilla.kernel.org/show_bug.cgi?id=194771

[  244.186724] PM: Preparing system for sleep (mem)
[  244.190427] Freezing user space processes ...
[  264.199520] Freezing of tasks failed after 20.009 seconds (1 tasks refusing to freeze,
+wq_busy=0):
[  264.199722] systemd-udevd   D    0   319    281 0x00000004
[  264.199785] Call Trace:
[  264.199819]  __schedule+0x30e/0xbd0
[  264.199848]  schedule+0x3b/0x90
[  264.199867]  schedule_timeout+0x23b/0x490
[  264.199886]  ? _raw_spin_unlock_irq+0x27/0x50
[  264.199904]  ? __this_cpu_preempt_check+0x13/0x20
[  264.199923]  ? trace_hardirqs_on_caller+0xe7/0x200
[  264.199947]  wait_for_common+0x11a/0x1d0
[  264.200075]  ? wake_up_q+0x70/0x70
[  264.200100]  wait_for_completion+0x18/0x20
[  264.200118]  cpuhp_issue_call+0x9b/0xd0
[  264.200137]  __cpuhp_setup_state+0xe9/0x170
[  264.200159]  ? coretemp_remove+0x60/0x60 [coretemp]
[  264.200174]  ? 0xffffffffa0275000
[  264.200197]  coretemp_init+0x8b/0x1000 [coretemp]
[  264.200217]  do_one_initcall+0x3f/0x170
[  264.200236]  ? rcu_read_lock_sched_held+0x75/0x80
[  264.200255]  ? kmem_cache_alloc_trace+0x274/0x2e0
[  264.200269]  ? do_init_module+0x22/0x1fb
[  264.200311]  load_module+0x2091/0x2410
[  264.200326]  ? symbol_put_addr+0x60/0x60
[  264.200356]  ? kernel_read_file+0x105/0x190
[  264.200389]  SyS_finit_module+0xbc/0xf0
[  264.200424]  entry_SYSCALL_64_fastpath+0x1c/0xb1
Comment 1 Imre Deak 2017-03-24 10:07:01 UTC
*** Bug 100124 has been marked as a duplicate of this bug. ***
Comment 2 Imre Deak 2017-03-24 10:09:38 UTC
Assuming fixed by upstream commit

commit dc434e056fe1dada20df7ba07f32739d3a701adf
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date:   Tue Mar 14 16:06:45 2017 +0100

    cpu/hotplug: Serialize callback invocations proper

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.