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

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


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

/*
* We try to avoid enabling the hardware if it's not
* there, but we don't know how to test. But we do know
* that the PC110 is not a PCI system. So if we find any
* PCI devices in the machine, we don't have a PC110.
*/

...so pc110 _may_ be okay.
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/