Skip to contentSkip to conversation

x86/intel: Add comments about why we disabled HPET on Baytrail

PATCH New Feng Tang 2 participants 2 messages Jun 15, 2015 – Jun 18, 2015

Subsystems (2)
lore
Share & tools
lore

Feng Tang

author
#0 lore raw

PATCH 1/1 x86/intel: Add comments about why we disabled HPET on Baytrail

The question has been asked many times, and finally I found the official document which explains the problem of HPET on Baytrail that it will halt in deep idle states.

---
 arch/x86/kernel/early-quirks.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/x86/kernel/early-quirks.c +4 -1
index fe9f0b7..9cdc6acb 100644
@@ -628,7 +628,10 @@ static struct chipset early_qrk[] __initdata = {
 	  QFLAG_APPLY_ONCE, intel_graphics_stolen },
 	/*
 	 * HPET on current version of Baytrail platform has accuracy
-	 * problems, disable it for now:
+	 * problems, that it will halt in deep idle state, so disable it.
+	 *
+	 * Please refer section 18.10.1.3 of http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/atom-z8000-datasheet-vol-1.pdf 
+	 * for more details.
 	 */
 	{ PCI_VENDOR_ID_INTEL, 0x0f00,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
Signature · 1 line
1.7.9.5
#1 lore raw

[tip:x86/platform] x86/platform/intel/baytrail: Add comments about why we disabled HPET on Baytrail

x86/platform/intel/baytrail: Add comments about why we disabled HPET on Baytrail
Commit-ID:  b58d930750135d6c5b8e5aa084c0e9303c78c286
Gitweb:     http://git.kernel.org/tip/b58d930750135d6c5b8e5aa084c0e9303c78c286
Author:     Feng Tang <[email protected]>
AuthorDate: Mon, 15 Jun 2015 17:40:01 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 18 Jun 2015 10:57:38 +0200

x86/platform/intel/baytrail: Add comments about why we disabled HPET on Baytrail

This question has been asked many times, and finally I found the official document which explains the problem of HPET on Baytrail, that it will halt in deep idle states.

Cc Andrew Morton <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Brian Gerst <[email protected]>
Cc Denys Vlasenko <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Oleg Nesterov <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
[ Prettified things a bit. ]
---
 arch/x86/kernel/early-quirks.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
arch/x86/kernel/early-quirks.c +6 -2
index fe9f0b7..5cb9a4d 100644
@@ -627,8 +627,12 @@ static struct chipset early_qrk[] __initdata = {
 	{ PCI_VENDOR_ID_INTEL, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA, PCI_ANY_ID,
 	  QFLAG_APPLY_ONCE, intel_graphics_stolen },
 	/*
-	 * HPET on current version of Baytrail platform has accuracy
-	 * problems, disable it for now:
+	 * HPET on the current version of the Baytrail platform has accuracy
+	 * problems: it will halt in deep idle state - so we disable it.
+	 *
+	 * More details can be found in section 18.10.1.3 of the datasheet:
+	 *
+	 *    http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/atom-z8000-datasheet-vol-1.pdf
 	 */
 	{ PCI_VENDOR_ID_INTEL, 0x0f00,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},