From: Shaohua Li Date: Tue, 19 May 2009 08:09:54 +0000 (+0800) Subject: cpuidle: fix AMD C1E suspend hang X-Git-Tag: v2.6.27.25~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec19648b3d8634cc4a08614a252c8739f76903c;p=pandora-kernel.git cpuidle: fix AMD C1E suspend hang commit 7d60e8ab0d5507229dfbdf456501cc378610fa01 upstream. 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: Dmitry Lyzhyn Signed-off-by: Shaohua Li Signed-off-by: Len Brown Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed