Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755352AbZA0LWr (ORCPT ); Tue, 27 Jan 2009 06:22:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752582AbZA0LWh (ORCPT ); Tue, 27 Jan 2009 06:22:37 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:56965 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbZA0LWg (ORCPT ); Tue, 27 Jan 2009 06:22:36 -0500 Date: Tue, 27 Jan 2009 12:22:22 +0100 From: Pavel Machek To: Jon Masters Cc: linux-rt-users@vger.kernel.org, LKML , williams , "Luis Claudio R. Goncalves" Subject: Re: [RT] [RFC] simple SMI detector Message-ID: <20090127112222.GB21011@elf.ucw.cz> References: <1232751312.3990.59.camel@perihelion.bos.jonmasters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1232751312.3990.59.camel@perihelion.bos.jonmasters.org> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1429 Lines: 40 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/