[PATCH v2] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

From: Feng Tang
Date: Thu Mar 27 2014 - 22:56:19 EST


On many new phone/tablet platforms like Baytrail/Merrifield etc,
the HPET are either defeatured or has some problem to be used
as a reliable timer. As these platforms also have X86_64, we
should not make HPET_TIMER default y for all X86_64.

Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>
---
arch/x86/Kconfig | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 0af5250..7f2fb4b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -695,8 +695,7 @@ config X86_CYCLONE_TIMER
source "arch/x86/Kconfig.cpu"

config HPET_TIMER
- def_bool X86_64
- prompt "HPET Timer Support" if X86_32
+ prompt "HPET Timer Support"
---help---
Use the IA-PC HPET (High Precision Event Timer) to manage
time in preference to the PIT and RTC, if a HPET is
@@ -709,9 +708,9 @@ config HPET_TIMER

You can safely choose Y here. However, HPET will only be
activated if the platform and the BIOS support this feature.
- Otherwise the 8254 will be used for timing services.

- Choose N to continue using the legacy 8254 timer.
+ Choose N to use the legacy 8254 timer or the latest
+ lapic_timer+tsc solution.

config HPET_EMULATE_RTC
def_bool y
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/