All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] SMI handling on x86
@ 2013-03-13 19:43 Jeroen Van den Keybus
  2013-03-13 21:40 ` Gilles Chanteperdrix
  2013-04-09 21:04 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 6+ messages in thread
From: Jeroen Van den Keybus @ 2013-03-13 19:43 UTC (permalink / raw)
  To: xenomai

Hi,


We have configured Linux 3.5.7 / Xenomai 2.6.2.1 on an MSI-7514 mainboard
with a Core 2 Duo CPU.

This configuration suffers from excessive worst-case latencies during the
'latency' test (on average: 2.6 µs, worst-case around 1900 µs, around 10
overruns per second). I believe these overruns are due to the CPUs entering
SM mode (SMI). As soon as the ACPI BIOS SMI is disabled (when
xeno_nucleus/native are loaded as a module), the computer shuts down in 5
secs. or so. Presumably some power supply watchdog on the mainboard isn't
triggered.

- Has someone also observed this behaviour and maybe solved it in some way ?
- I looked around in the Intel manuals and I don't think it's possible to
have only 1 CPU handle these SMIs. Is that correct ? If it were possible,
we could run RT tasks on the other one, obviously, but currently latency
shows overruns on both CPUs.
- Would it somehow be possible/sensible to leave the SMI disabled and
generically call the SMI handler directly from within (a task in) the OS ?
There's probably going to be issues, the least of which would be proper
handling of the RSM instruction outside SM mode. But still...


Jeroen.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-17 11:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 19:43 [Xenomai] SMI handling on x86 Jeroen Van den Keybus
2013-03-13 21:40 ` Gilles Chanteperdrix
     [not found]   ` <CAPRPZsDDi_LfwiMdbfZro5h6cU69ONNNvG7XtSDdKE0M3bjwpw@mail.gmail.com>
2013-03-13 21:59     ` Jeroen Van den Keybus
2013-03-13 22:19       ` Jeroen Van den Keybus
2013-04-09 21:04 ` Gilles Chanteperdrix
2013-04-17 11:44   ` Jeroen Van den Keybus

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.