Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64with MCP51 laptops

From: Pavel Machek
Date: Sun Dec 16 2007 - 19:28:43 EST


On Mon 2007-12-17 00:03:01, Alan Cox wrote:
> On Sun, 16 Dec 2007 22:26:33 +0100
> Pavel Machek <pavel@xxxxxx> wrote:
>
> > On Fri 2007-12-14 15:33:28, Ingo Molnar wrote:
> > >
> > > * Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > > There is another reason we can't just do a dumb changeover - two
> > > > actually
> > > >
> > > > #1: Some drivers are using inb_p/outb_p in PCI cases which are going
> > > > #to cause PCI posting changes. Most are probably just wrong in the
> > > > #first place but they need hand checking
> > >
> > > hm, any intelligent way to force PCI posting? I guess not.
> > >
> > > here's a list of candidate drivers (match the out*_p() pattern and do
> > > pci)
> > >
> > > ./char/epca.c
> > > ./char/sonypi.c
> > > ./scsi/megaraid.c
> > > ./ide/pci/serverworks.c
> > > ./ide/pci/cmd640.c
> > > ./input/mouse/pc110pad.c
>
> You are missing some watchdogs at least ?

I snipped them, I only wanted to comment that pc110pad.c looks like
legitimate use of outb_p().
Pavel
--
(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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/