Skip to contentSkip to conversation

SMI-doc improvement / RTDM paper

PATCH In review Jan Kiszka 3 participants 7 messages Feb 4, 2006

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 SMI-doc improvement / RTDM paper

Hi Philippe,

this patch tries to clarify where to solve SMI-related latencies. Or should we even mention the kconfig path?

Moreover, I would like to upload my RTL-Workshop paper about RTDM to doc/nodist/pdf (~150k) so that it later makes it on the website as well. Ok?

Jan

arch/i386/smi.c +2 -2
Index: ksrc/arch/i386/smi.c
===================================================================
@@ -209,8 +209,8 @@
 
 #else /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
 
-    printk("Xenomai: Intel chipset found and SMI workaround not enabled,\n"
-           "       you may encounter high interrupt latencies.\n");
+    printk("Xenomai: Intel chipset found but SMI workaround not enabled in kernel\n"
+           "         configuration. You may encounter high interrupt latencies.\n");
     pci_dev_put(dev);
 
 #endif /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
#1 lore raw
Quoted 5 lines · Jan Kiszka

Hi Philippe,

this patch tries to clarify where to solve SMI-related latencies. Or should we even mention the kconfig path?

The name of the config switch involved should be enough, I guess.

Quoted 3 lines

Moreover, I would like to upload my RTL-Workshop paper about RTDM to doc/nodist/pdf (~150k) so that it later makes it on the website as well. Ok?

Yes, go ahead.

Quoted 20 lines

Jan

------------------------------------------------------------------------

Index: ksrc/arch/i386/smi.c
===================================================================

arch/i386/smi.c +2 -2
@@ -209,8 +209,8 @@
 
 #else /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
 
-    printk("Xenomai: Intel chipset found and SMI workaround not enabled,\n"
-           "       you may encounter high interrupt latencies.\n");
+    printk("Xenomai: Intel chipset found but SMI workaround not enabled in kernel\n"
+           "         configuration. You may encounter high interrupt latencies.\n");
     pci_dev_put(dev);
 
 #endif /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
Signature · 1 line
Philippe.
author
#2 lore raw
Quoted 8 lines · Philippe Gerum
Quoted 5 lines · Jan Kiszka

Hi Philippe,

this patch tries to clarify where to solve SMI-related latencies. Or should we even mention the kconfig path?

The name of the config switch involved should be enough, I guess.

What about this? Please apply if it's ok.

Jan

arch/i386/smi.c +3 -2
Index: ksrc/arch/i386/smi.c
===================================================================
@@ -209,8 +209,9 @@
 
 #else /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
 
-    printk("Xenomai: Intel chipset found and SMI workaround not enabled,\n"
-           "       you may encounter high interrupt latencies.\n");
+    printk("Xenomai: Intel chipset found but SMI workaround not enabled (check\n"
+           "         CONFIG_XENO_HW_SMI_WORKAROUND). You may encounter high\n"
+           "         interrupt latencies!\n");
     pci_dev_put(dev);
 
 #endif /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
#3 lore raw
Quoted 6 lines · Jan Kiszka
Quoted 4 lines · Philippe Gerum
Quoted 2 lines · Jan Kiszka

Hi Philippe,

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

this patch tries to clarify where to solve SMI-related latencies. Or should we even mention the kconfig path?

The name of the config switch involved should be enough, I guess.

What about this? Please apply if it's ok.

Done, thanks.

Quoted 21 lines

Jan

------------------------------------------------------------------------

Index: ksrc/arch/i386/smi.c
===================================================================

arch/i386/smi.c +3 -2
@@ -209,8 +209,9 @@
 
 #else /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
 
-    printk("Xenomai: Intel chipset found and SMI workaround not enabled,\n"
-           "       you may encounter high interrupt latencies.\n");
+    printk("Xenomai: Intel chipset found but SMI workaround not enabled (check\n"
+           "         CONFIG_XENO_HW_SMI_WORKAROUND). You may encounter high\n"
+           "         interrupt latencies!\n");
     pci_dev_put(dev);
 
 #endif /* ! CONFIG_XENO_HW_SMI_WORKAROUND */
Signature · 1 line
Philippe.
#4 lore raw
In reply to Jan Kiszka

Hi all!

Jan Kiszka wrote:
[...]

arch/i386/smi.c line 213

Quoted 2 lines
arch/i386/smi.c +2 -0
+    printk("Xenomai: Intel chipset found but SMI workaround not enabled in kernel\n"
+           "         configuration. You may encounter high interrupt latencies.\n");

Speaking of printk. Since 2.1 I don't see any messages in the kernel log. I bet there is a new switch somewhere, but I can't find it. Any hint appreciated.

BTW, Jan, the SMI seems to be disabled now, even if I haven't seen the message of disabling SMI in the klog.

Thanks & best regards,
Hannes.

#5 lore raw
Quoted 11 lines · Hannes Mayer

Hi all!

Jan Kiszka wrote:
[...]

Quoted 4 lines

+ printk("Xenomai: Intel chipset found but SMI workaround not
enabled in kernel\n"
+ " configuration. You may encounter high interrupt
latencies.\n");

Quoted 4 lines

Speaking of printk. Since 2.1 I don't see any messages in the kernel log. I bet there is a new switch somewhere, but I can't find it. Any hint appreciated.

dmesg | grep -i xenomai: ?

Quoted 7 lines

BTW, Jan, the SMI seems to be disabled now, even if I haven't seen the message of disabling SMI in the klog.

Thanks & best regards,
Hannes.

Signature · 1 line
Philippe.
#6 lore raw

Philippe Gerum wrote:
[...]

Quoted 1 line

dmesg | grep -i xenomai: ?

Yeah, got it now!
Sorry for the silly question!

I forgot that as of 2.1 everything is compiled into the kernel by default, so when running a testsuite example there are no messages that xeno is loaded or unloaded.

Thanks and best regards,
Hannes.