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

Pavel Machek
2007-12-17T00:28:38Z

On Mon 2007-12-17 00:03:01, Alan Cox wrote:
> On Sun, 16 Dec 2007 22:26:33 +0100
> Pavel Machek <pavel@ucw.cz> wrote:
>
> > On Fri 2007-12-14 15:33:28, Ingo Molnar wrote:
> > >
> > > * Alan Cox <alan@lxorguk.ukuu.org.uk> 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