apic: fixing the mwait hang issue during s3 exit
authorVishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Fri, 1 Sep 2006 17:22:17 +0000 (22:52 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 7 Dec 2011 11:13:05 +0000 (03:13 -0800)
commit360302b7c5e35e8130988bb7bfd181a5a29dcc6a
treea24d579d72d144de68d2b8dead45b59e46324f99
parentcd4bc4257f4401cddf46a5449d685eabee681e31
apic: fixing the mwait hang issue during s3 exit

BZ: 16590

This patch was missed in the pmu driver s3 enabling. This is a very
important patch where we dont disable lapic when we are entering S3.
In cases where there is a mwait failure & scu aborts, pmu interrupt
will not be forwarded to IA as lapic is suspended & system will hang
with bothcpu's in mwait state. hence in this patch we try to have a
seperate lapic_suspend/resume routines specific to our platform.

Change-Id: I8903d353ea038280d6276f44c25e8b36fb2458bf
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Reviewed-on: http://android.intel.com:8080/26281
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/kernel/apic/apic.c