From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] Problems disabling SMI interrupts on MSI H87-G43 motherboard
Date: Wed, 7 Oct 2015 14:41:07 +0200 [thread overview]
Message-ID: <20151007124107.GB30140@hermes.click-hack.org> (raw)
In-Reply-To: <5615108A.6070001@control.lth.se>
On Wed, Oct 07, 2015 at 02:31:06PM +0200, Anders Blomdell wrote:
> On 2015-10-07 10:04, Johann Obermayr wrote:
> > Am 07.10.2015 um 09:25 schrieb Johann Obermayr:
> >> 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.
> >> There are some registery on the mainboard chipset, hat lock the SMI register.
> >> So you can't disable the SMI.
> >> We also had this trouble, and we get a own BIOS with disabled SMI.
> >>
> >> Regards
> >> Johann
> >>
> >> _______________________________________________
> >> Xenomai mailing list
> >> Xenomai@xenomai.org
> >> http://xenomai.org/mailman/listinfo/xenomai
> >>
> > Found this:
> >
> > GEN_PMCON_1—General PM Configuration 1 Register (PM—D31:F0)
> > Offset Address: A0h Attribute: R/W, RO, R/WO
> > Default Value: 0000h Size: 16-bit
> > Lockable: No Usage: ACPI, Legacy
> > Power Well: Core
> >
> > Bit 4: SMI_LOCK — R/WO. When this bit is set, writes to the GLB_SMI_EN bit (PMBASE
> > + 30h, bit 0) will have no effect. Once the SMI_LOCK bit is set, writes of 0 to
> > SMI_LOCK bit will have no effect (that is, once set, this bit can only be cleared by
> > PLTRST#).
> >
>
> Thanks everybody, seems like I have to give up on that motherboard:
>
> 1. Nothing found to disable in the BIOS
> 2. Disabling all sourcecs with smictrl (git://git.kiszka.org/smictrl.git)
> still gives high latencies with RTNet (+1.5 milliseconds).
> 3. latency test does not show anything suspicious, so it might
> be some other issue.
>
> Anybody that has a suggestion on a recent motherboard that has been used with
> RTNet and showing good results?
If the issue is with RTNet, does not it make more sense to find the
RTNet issue than to change motherboard? If you are able to detect a
high latency, can you not trigger a trace from the I-pipe tracer?
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-10-07 12:41 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
2015-10-07 8:04 ` Johann Obermayr
2015-10-07 12:31 ` Anders Blomdell
2015-10-07 12:41 ` Gilles Chanteperdrix [this message]
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=20151007124107.GB30140@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Xenomai@xenomai.org \
--cc=anders.blomdell@control.lth.se \
/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.