From 5c23b44967b4a54e4e6bdf56c0a4843675356724 Mon Sep 17 00:00:00 2001 From: Aymen Zayet Date: Wed, 23 May 2012 16:54:57 +0200 Subject: [PATCH] alarm: Set the PM alarm threshold to 70 secs. 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 Reviewed-on: http://android.intel.com:8080/51244 Reviewed-by: Martin, LoicX Tested-by: Martin, LoicX Reviewed-by: buildbot Tested-by: buildbot --- arch/x86/configs/i386_ctp_defconfig | 1 + arch/x86/configs/i386_mfld_defconfig | 1 + arch/x86/configs/i386_mrfl_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/x86/configs/i386_ctp_defconfig b/arch/x86/configs/i386_ctp_defconfig index 08ad4b4..701894f 100644 --- a/arch/x86/configs/i386_ctp_defconfig +++ b/arch/x86/configs/i386_ctp_defconfig @@ -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 diff --git a/arch/x86/configs/i386_mfld_defconfig b/arch/x86/configs/i386_mfld_defconfig index 0aa610b..946e144 100644 --- a/arch/x86/configs/i386_mfld_defconfig +++ b/arch/x86/configs/i386_mfld_defconfig @@ -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 diff --git a/arch/x86/configs/i386_mrfl_defconfig b/arch/x86/configs/i386_mrfl_defconfig index ac0cc34..9cde4ca 100644 --- a/arch/x86/configs/i386_mrfl_defconfig +++ b/arch/x86/configs/i386_mrfl_defconfig @@ -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 -- 2.7.4