Stephen Bryant wrote:
> On 26 July 2010 14:45, Gilles Chanteperdrix
> <[email protected]
> <mailto:[email protected]>> wrote:
>
> Stephen Bryant wrote:
> > Do you mean enabling / disabling the individual options in the SMI
> > Workaround section of the kernel config file, or are you suggesting
> > something lower level / something else?
>
> The options in the SMI workaround section of the kernel config file
> actually disable some bits in some SMI registers, so they are already
> low level. Anyway, yes, it is what I ask you to do.
>
>
> --
> Gilles.
>
>
> I've been looking into this when I've had the time and the results so
> far are that:
> - Globally disabling SMI fails.
> - Disabling all 8 'non-global' SMI options succeeds, but does not change
> my latency results.
>
> From this I conclude that 'Globally disable SMI' really does try to
> disable every SMI signal, which is different from just deselecting each
> of the 8 'Enable ... SMI' options presented, which I had not realised.
The "Global disabling" bit, disable all SMI sources without even having
to list them. As such, as explained in the TROUBLESHOOTING file, it is
way more reliable than having to know all the SMI sources and disable
them one by one.
> Also, my problem may still be SMI related, and I can only test this if I
> can convince the BIOS to allow global SMI disabling.
>
> So my next steps are to:
> 1 - Look for ways to change or circumvent the BIOS (if possible).
There is an "SMI lock" bit, which once enabled, can not be disabled. So,
if the BIOS you use uses this bit, there is nothing you can do, except
changing the BIOS. You can ask the board manufacturer to give you
another BIOS where this bit is not locked, so that you can test whether
SMI are the source of your problem.
> 2 - Try a few other kernel settings (for examples the timers available)
> to find out if my issue stems from something other than SMIs.
> 3 - Progressively change the Xenomai SMI disabling code to test SMIs not
> covered by the 8 options presented.
>
> I'll be checking the literature for help with these, but if anyone has
> any pointers that would be much appreciated,
What you need is the datasheet of your chipset. I had looked at a
datasheet when doing this code, and found other sources, but did not
implement their disabling, you will find references in the
ksrc/arch/x86/smi.c file, and they are probably incomplete for your
particular chipset, which is why you should look for the datasheet of
your exact chipset.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help