Re: [RT] [RFC] simple SMI detector

Pavel Machek
2009-01-27T11:22:36Z

Hi!

> In case anyone wants to play with it, and especially help clean it up :)
>
> SMI events are particularly unhelpful on Real Time systems because we
> effectively have the CPU stolen from under us. We can't prevent this
> easily without BIOS vendors/system vendor co-operation, but we can help
> to diagnose and log that these are occuring...which can be very helpful
> too.
>
> Cheers,
>
> Jon.
>

> This patch adds the module smi_detector under drivers/misc
>
> Code from Jon Masters with small changes from Luis Goncalves and
> documentation from Clark Williams.
>
> ---
> diff -uNp a/drivers/misc/Makefile b/drivers/misc/Makefile
> --- a/drivers/misc/Makefile 2009-01-09 13:25:31.000000000 -0200
> +++ b/drivers/misc/Makefile 2009-01-15 10:55:58.000000000 -0200
> @@ -18,3 +18,5 @@ obj-$(CONFIG_SONY_LAPTOP) += sony-laptop
> obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o
> obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o
> obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o
> +obj-m += smi_detector.o
> +

Please use Kconfig here.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html