From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jakub Nowacki <j.s.nowacki@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai on i7-870
Date: Fri, 17 Jun 2011 21:44:57 +0200 [thread overview]
Message-ID: <4DFBAEB9.8060106@domain.hid> (raw)
In-Reply-To: <4DFBA463.3090902@domain.hid>
On 06/17/2011 09:00 PM, Gilles Chanteperdrix wrote:
> On 06/17/2011 04:05 PM, Jakub Nowacki wrote:
>>>
>>>
>>> I've added my ID to the table in smi.c file as:
>>
>> {PCI_DEVICE(PCI_VENDOR_ID_INTEL,
>> PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN+0xa)}
>>
>> Everything complies OK but during the startup I get message:
>>
>> [ 2.137733] Xenomai: SMI-enabled chipset found
>> [ 2.137744] Xenomai: SMI workaround failed!
>>
>> Should I do something extra apart from adding it to the table?
>
> There are two reasons why it may not work:
> - the way to globally disable SMIs has changed with the chipset version
> you are using;
> - the BIOS of your PC locks the SMI disabling bit.
>
> So, the next step is to check the chipset datasheet.
>From your first mail, the chipset you use is a Q57, the datasheet says
that the GLB_SMI_EN is still there. So, what you should do is check
whether the SMI_LOCK bit is set. The following (untested) patch should
print the lock bit value:
diff --git a/ksrc/arch/x86/smi.c b/ksrc/arch/x86/smi.c
index d80b14b..97e6774 100644
--- a/ksrc/arch/x86/smi.c
+++ b/ksrc/arch/x86/smi.c
@@ -157,7 +157,8 @@ void rthal_smi_disable(void)
mask_bits(rthal_smi_masked_bits, rthal_smi_en_addr);
if (inl(rthal_smi_en_addr) & rthal_smi_masked_bits)
- printk("Xenomai: SMI workaround failed!\n");
+ printk("Xenomai: SMI workaround failed!, BIOS lock: d\n",
+ !!(inl(rthal_smi_en_addr + 0xA0 - SMI_CTRL_ADDR) & (1 << 4)));
else
printk("Xenomai: SMI workaround enabled\n");
>
--
Gilles.
next prev parent reply other threads:[~2011-06-17 19:44 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 9:18 [Xenomai-help] Xenomai on i7-870 Jakub Nowacki
2011-06-16 10:37 ` Gilles Chanteperdrix
2011-06-17 14:05 ` Jakub Nowacki
2011-06-17 19:00 ` Gilles Chanteperdrix
2011-06-17 19:44 ` Gilles Chanteperdrix [this message]
2011-06-17 19:52 ` Jakub Nowacki
2011-06-18 15:17 ` Gilles Chanteperdrix
2011-06-20 14:34 ` Jakub Nowacki
2011-06-20 15:02 ` Gilles Chanteperdrix
2011-06-20 15:25 ` Jakub Nowacki
2011-06-20 16:16 ` Philippe Gerum
2011-06-20 17:34 ` Gilles Chanteperdrix
2011-06-20 21:30 ` Jakub Nowacki
2011-06-20 22:54 ` [Xenomai-help] Xenomai beagleboard xm ethernet not working David Wiebe
2011-06-21 6:54 ` Gilles Chanteperdrix
2011-06-21 8:18 ` David Wiebe
2011-06-21 8:38 ` [Xenomai-help] Xenomai beagleboard xm ethernet working! David Wiebe
2011-06-21 10:37 ` Gilles Chanteperdrix
2011-06-20 17:43 ` [Xenomai-help] Xenomai on i7-870 Gilles Chanteperdrix
2011-06-17 19:48 ` Jakub Nowacki
-- strict thread matches above, loose matches on Subject: below --
2011-06-16 9:19 Jakub Nowacki
2011-06-13 10:44 Jakub Nowacki
2011-06-13 17:43 ` Gilles Chanteperdrix
2011-06-13 19:06 ` Jakub Nowacki
2011-06-14 5:58 ` Jan Kiszka
2011-06-14 11:18 ` Jakub Nowacki
2011-06-14 11:30 ` Jan Kiszka
2011-06-15 16:21 ` Jakub Nowacki
2011-06-15 16:51 ` Gilles Chanteperdrix
2011-06-15 20:43 ` Jakub Nowacki
2011-06-16 7:01 ` Gilles Chanteperdrix
2011-06-16 8:52 ` Pavel Machek
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=4DFBAEB9.8060106@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=j.s.nowacki@domain.hid \
--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.