From: Jan Kiszka <jan.kiszka@domain.hid>
To: Xenomai core <Xenomai-core@domain.hid>
Subject: [Xenomai-core] [PATCH] Add INTEL_IDLE to list of problematic config options
Date: Fri, 14 Jan 2011 15:43:28 +0100 [thread overview]
Message-ID: <4D306110.7000104@domain.hid> (raw)
See TROUBLESHOOTING for explanation.
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
TROUBLESHOOTING | 4 ++++
scripts/Kconfig.frag | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/TROUBLESHOOTING b/TROUBLESHOOTING
index 4d84a79..e8d4b53 100644
--- a/TROUBLESHOOTING
+++ b/TROUBLESHOOTING
@@ -57,6 +57,10 @@ sleep states, increasing latency in ways dependent upon both the
BIOS's ACPI tables and code. You may be able to suppress the sleeping
with 'idle=poll' boot-arg, test to find out
+INTEL_IDLE: Just like ACPI_PROCESSOR, this idle driver sends the CPU
+into deep C states, also causing huge latencies because the APIC timer
+that Xenomai uses may not fire anymore.
+
Summarizing, the latencies incurred here are dependent upon CPU, BIOS,
and motherboard; ie they're hard to predict, so we are conservative.
Feel free to test on your platform, (xeno-test runs testsuite/latency
diff --git a/scripts/Kconfig.frag b/scripts/Kconfig.frag
index 3a52ed4..c136ebf 100644
--- a/scripts/Kconfig.frag
+++ b/scripts/Kconfig.frag
@@ -1,10 +1,11 @@
menu "Real-time sub-system"
-comment "WARNING! You enabled APM, CPU Frequency scaling or ACPI 'processor'"
- depends on APM || CPU_FREQ || ACPI_PROCESSOR
-comment "option. These options are known to cause troubles with Xenomai."
- depends on APM || CPU_FREQ || ACPI_PROCESSOR
+if APM || CPU_FREQ || ACPI_PROCESSOR || INTEL_IDLE
+comment "WARNING! You enabled APM, CPU Frequency scaling, ACPI 'processor'"
+comment "or Intel cpuidle option. These options are known to cause troubles"
+comment "with Xenomai, disable them."
+endif
comment "NOTE: Xenomai conflicts with PC speaker support."
depends on !X86_TSC && X86 && INPUT_PCSPKR
--
1.7.1
next reply other threads:[~2011-01-14 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 14:43 Jan Kiszka [this message]
2011-01-14 14:46 ` [Xenomai-core] [PATCH] Add INTEL_IDLE to list of problematic config options Gilles Chanteperdrix
2011-01-14 15:03 ` Jan Kiszka
2011-01-15 23:02 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D306110.7000104@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Xenomai-core@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.