Skip to content
Commit 7d60e8ab authored by Shaohua Li's avatar Shaohua Li Committed by Len Brown
Browse files

cpuidle: fix AMD C1E suspend hang

When AMD C1E is enabled, local APIC timer will stop even in C1. To avoid
suspend/resume hang, this patch removes C1 and replace it with a cpu_relax() in
suspend/resume path. This hasn't any impact in runtime path.

http://bugzilla.kernel.org/show_bug.cgi?id=13233



[ impact: avoid suspend/resume hang in AMD CPU with C1E enabled ]

Tested-by: default avatarDmitry Lyzhyn <thisistempbox@yahoo.com>
Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 87ad57ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment