All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Stéphane ANCELOT" <sancelot@free.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Context switching kernel tracing
Date: Mon, 03 Jun 2013 20:07:24 +0200	[thread overview]
Message-ID: <51ACDB5C.8030206@xenomai.org> (raw)
In-Reply-To: <51AC9B33.4070504@free.fr>

On 06/03/2013 03:33 PM, Stéphane ANCELOT wrote:

> Hi,
> 
> 
> The SMI is the source of my problems. the global SMI bit in the ICH6 can 
> not be disabled .


I read the URL you posted (which I had already read when writing the smi
module when Xenomai was still part of the RTAI project), and it does not
say that. It says that the global bit can only be used if the SMI_LOCK
bit is not set. So there was a time when the smi module checked the
SMI_LOCK bit, but after some time, we found that on some machines, even
when the SMI_LOCK bit was not armed, it was not possible to mask the
SMI_EN bit, so we replaced the check with the current check (re-reading
the bits, to check if the masked bit are actually masked).

Anyway, the only reason why the SMI_LOCK bit is armed, is if some code,
so, presumably the BIOS code, has armed it. Hence my original answer to
your query:

>> Ok then, your BIOS vendor does not want you to disable the SMI global

>> bit, have you tried other bits?


Got it?

-- 
                                                                Gilles.


      reply	other threads:[~2013-06-03 18:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30  7:03 [Xenomai] Context switching kernel tracing Stéphane ANCELOT
2013-05-30 11:38 ` Gilles Chanteperdrix
2013-05-30 13:12   ` Stéphane ANCELOT
2013-05-30 18:19     ` Gilles Chanteperdrix
2013-06-03 13:33       ` Stéphane ANCELOT
2013-06-03 18:07         ` Gilles Chanteperdrix [this message]

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=51ACDB5C.8030206@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sancelot@free.fr \
    --cc=xenomai@xenomai.org \
    /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.