Re: High pitched noise from laptop: processor.c in linux 2.6

From: Lee Revell
Date: Sat Oct 16 2004 - 22:49:01 EST


On Sat, 2004-10-16 at 22:21, Alan Cox wrote:
> On Sul, 2004-10-17 at 02:24, Lee Revell wrote:
> > > And heavily reduced accuracy on a lot of laptops where 1000Hz
> > > is enough to make the clock slide every time the battery state is
> > > queried or an SMM event triggers.
> > Wouldn't such a laptop be horribly broken? 1ms is a LONG time to
> > disable interrupts. That's millions of CPU cycles...
>
> Yes, and most laptops have this problem. They use SMM traps to talk to
> the battery including huge delay loops and during those SMM traps no
> interrupt code runs.
>

Ugh! I was under the impression that mostly older machines had this
problem and it was a minority of laptops. I could not find a lot of
info on SMM - several of the links I found were DDJ "Undocumented
Corner" articles.

Anyway this explains probably half the weird bug reports on the linux
audio user list.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/