* [PATCH] x86/intel: Add comments about why we disabled HPET on Baytrail
@ 2015-06-15 9:40 Feng Tang
2015-06-18 10:54 ` [tip:x86/platform] x86/platform/intel/baytrail: " tip-bot for Feng Tang
0 siblings, 1 reply; 2+ messages in thread
From: Feng Tang @ 2015-06-15 9:40 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, linux-kernel,
len.brown, john.stultz
Cc: matthew.lee, Feng Tang
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.
Signed-off-by: Feng Tang <feng.tang@intel.com>
---
arch/x86/kernel/early-quirks.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index fe9f0b7..9cdc6acb 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -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},
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/platform] x86/platform/intel/baytrail: Add comments about why we disabled HPET on Baytrail
2015-06-15 9:40 [PATCH] x86/intel: Add comments about why we disabled HPET on Baytrail Feng Tang
@ 2015-06-18 10:54 ` tip-bot for Feng Tang
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Feng Tang @ 2015-06-18 10:54 UTC (permalink / raw)
To: linux-tip-commits
Cc: dvlasenk, akpm, tglx, bp, torvalds, mingo, feng.tang, hpa,
peterz, brgerst, oleg, luto, linux-kernel
Commit-ID: b58d930750135d6c5b8e5aa084c0e9303c78c286
Gitweb: http://git.kernel.org/tip/b58d930750135d6c5b8e5aa084c0e9303c78c286
Author: Feng Tang <feng.tang@intel.com>
AuthorDate: Mon, 15 Jun 2015 17:40:01 +0800
Committer: Ingo Molnar <mingo@kernel.org>
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.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john.stultz@linaro.org
Cc: len.brown@intel.com
Cc: matthew.lee@intel.com
Link: http://lkml.kernel.org/r/1434361201-31743-1-git-send-email-feng.tang@intel.com
[ Prettified things a bit. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/kernel/early-quirks.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index fe9f0b7..5cb9a4d 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -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},
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-18 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-15 9:40 [PATCH] x86/intel: Add comments about why we disabled HPET on Baytrail Feng Tang
2015-06-18 10:54 ` [tip:x86/platform] x86/platform/intel/baytrail: " tip-bot for Feng Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®