aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-01-10 21:52:16 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2011-01-10 21:52:16 -0800
commitb20a590790a1c1199e53de54d162498687b0891c (patch)
treee2bdf93af8c7e9e1589a58f94c950d82171bc014
parente128e86ef9028c3045f7cc7e24332093faec6fd7 (diff)
downloadmrst-s0i3-test-b20a590790a1c1199e53de54d162498687b0891c.tar.gz
mrst-s0i3-test-b20a590790a1c1199e53de54d162498687b0891c.tar.xz
mrst-s0i3-test-b20a590790a1c1199e53de54d162498687b0891c.zip
s0i3: Add a few more APIC registers
Add a few more local APIC registers which should probably be saved.
-rw-r--r--drivers/idle/mrst_s0i3.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/idle/mrst_s0i3.c b/drivers/idle/mrst_s0i3.c
index 6ad7afc6ba1..e6bea813b0c 100644
--- a/drivers/idle/mrst_s0i3.c
+++ b/drivers/idle/mrst_s0i3.c
@@ -203,7 +203,11 @@ static void s0i3_restore_msrs(void)
*/
static const u32 s0i3_lapic_list[] =
{
+ APIC_ID,
+ APIC_TASKPRI,
APIC_LDR,
+ APIC_DFR,
+ APIC_SPIV,
APIC_ICR,
APIC_ICR2,
APIC_LVTT,
@@ -212,7 +216,8 @@ static const u32 s0i3_lapic_list[] =
APIC_LVT0,
APIC_LVT1,
APIC_LVTERR,
- APIC_TMCCT,
+ APIC_TMICT,
+ APIC_TMCCT, /* Current timer count... questionable */
APIC_TDCR
};