SMI-doc improvement / RTDM paper
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
@@ -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 */
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.
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.
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.
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.
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
@@ -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 */
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.