All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Johann Obermayr <johann.obermayr@sigmatek.at>
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] Problems disabling SMI interrupts on MSI H87-G43 motherboard
Date: Wed, 7 Oct 2015 09:55:24 +0200	[thread overview]
Message-ID: <20151007075524.GA30140@hermes.click-hack.org> (raw)
In-Reply-To: <5614C8E3.5090809@sigmatek.at>

On Wed, Oct 07, 2015 at 09:25:23AM +0200, Johann Obermayr wrote:
> Am 06.10.2015 um 21:23 schrieb Gilles Chanteperdrix:
> > On Tue, Oct 06, 2015 at 12:03:55PM +0200, Anders Blomdell wrote:
> >> Hi
> >>
> >> I have problems disabling SMI-interrupts on "MSI H87-G43 motherboard" (http://www.msi.com/product/mb/H87-G43.html)
> >>
> >> This is what msi.c says at bootup (after attached patch is applied):
> >>
> >>    kernel: [Xenomai] SMI workaround failed! (1830: 1 & ~1 -> 1)
> >>
> >> and this is what lspci says:
> >>
> >>
> >> Anybody who has a good idea how to fix this?
> > You should first check that the way smi.c retrieves the address of
> > the SMI_EN register is still valid for your chipset. If it is, then
> > try fiddling with the BIOS settings to see if some setting can
> > disable generation of SMIs. If unsuccessful, you can try contacting
> > the motherboard support to see if they have any advice.
> >
> On new Mainboards, you can't disable SMI.
> Because this is a security problem, so SMI is locked by BIOS.

Yes, there is a bit in a register to lock the SMI_EN register, and
when the SMI_EN register is locked, there is no way to unlock it.

However, the BIOS may offer you some setting to disable the
problematic SMI source. This happened to me recently. It was not
possible to modify the SMI_EN register, but with the right BIOS
setting, no SMI was generated.

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2015-10-07  7:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 10:03 [Xenomai] Problems disabling SMI interrupts on MSI H87-G43 motherboard Anders Blomdell
2015-10-06 19:23 ` Gilles Chanteperdrix
2015-10-07  7:25   ` Johann Obermayr
2015-10-07  7:55     ` Gilles Chanteperdrix [this message]
2015-10-07  8:04     ` Johann Obermayr
2015-10-07 12:31       ` Anders Blomdell
2015-10-07 12:41         ` Gilles Chanteperdrix
2015-10-07 13:03           ` Anders Blomdell
2015-10-07 14:41             ` Gilles Chanteperdrix
2015-10-08  9:08               ` Jeroen Van den Keybus
2015-10-09  8:58                 ` 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=20151007075524.GA30140@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai@xenomai.org \
    --cc=johann.obermayr@sigmatek.at \
    /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.