alarm: Set the PM alarm threshold to 70 secs.
authorAymen Zayet <aymenx.zayet@intel.com>
Wed, 23 May 2012 14:54:57 +0000 (16:54 +0200)
committerbuildbot <buildbot@intel.com>
Tue, 5 Jun 2012 12:22:36 +0000 (05:22 -0700)
BZ: 26623

Depending on the average of the current consumption in S3 / S0i3 already
measured on Intel MID devices, the threshold should be set to 70 secs to
avoid draining the battery on excessive wakeups from RTC due to alarms.

Change-Id: Icf95bb0b110355da1cb80dc3ad59b71e9febcdc4
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/51244
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/configs/i386_ctp_defconfig
arch/x86/configs/i386_mfld_defconfig
arch/x86/configs/i386_mrfl_defconfig

index 08ad4b4..701894f 100644 (file)
@@ -359,6 +359,7 @@ CONFIG_X86_MCE=y
 CONFIG_X86_MCE_INTEL=y
 # CONFIG_X86_MCE_AMD is not set
 # CONFIG_X86_ANCIENT_MCE is not set
+CONFIG_ALARM_PM_THRESHOLD=70
 CONFIG_X86_MCE_THRESHOLD=y
 # CONFIG_X86_MCE_INJECT is not set
 CONFIG_X86_THERMAL_VECTOR=y
index 0aa610b..946e144 100644 (file)
@@ -360,6 +360,7 @@ CONFIG_X86_MCE=y
 CONFIG_X86_MCE_INTEL=y
 # CONFIG_X86_MCE_AMD is not set
 # CONFIG_X86_ANCIENT_MCE is not set
+CONFIG_ALARM_PM_THRESHOLD=70
 CONFIG_X86_MCE_THRESHOLD=y
 # CONFIG_X86_MCE_INJECT is not set
 CONFIG_X86_THERMAL_VECTOR=y
index ac0cc34..9cde4ca 100644 (file)
@@ -363,6 +363,7 @@ CONFIG_X86_MCE=y
 CONFIG_X86_MCE_INTEL=y
 # CONFIG_X86_MCE_AMD is not set
 # CONFIG_X86_ANCIENT_MCE is not set
+CONFIG_ALARM_PM_THRESHOLD=0
 CONFIG_X86_MCE_THRESHOLD=y
 # CONFIG_X86_MCE_INJECT is not set
 CONFIG_X86_THERMAL_VECTOR=y