lkml.org 
[lkml]   [2007]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops
On Sun, 9 Dec 2007 22:25:13 +0100
Pavel Machek <pavel@ucw.cz> wrote:

> On Sun 2007-12-09 17:59:08, Andi Kleen wrote:
> > > I mean, we expect 8usec delay -- historical ISA timing -- but when
> > > _PCI_ card with leds is inserted, it is likely to be faster than old
> > > ISA, right?
> >
> > Yes, i guess switching to udelay at least on newer systems would
> > be a good idea. I'm not quite sure about systems without TSC though.
>
> Something like this? (Warning, will not probably even compile on
> x86-64, I do not have 64-bit compiler near me).

You need to stick in a bug trap to verify that the udelay is not called
before the cpu timer has been set up.


\
 
 \ /
  Last update: 2007-12-09 23:39    [W:0.112 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site