Re: Ordering between PCI config space writes and MMIO reads?

From: Jeff Garzik
Date: Tue Oct 24 2006 - 17:38:06 EST


On Tue, Oct 24, 2006 at 02:29:47PM -0700, Roland Dreier wrote:
> > It is good to be conservative in this area. Some AMD chipsets at least
> > had ordering problems with some configurations in the K7 era.
>
> Could you expand a little? Do you mean that the arch implementation
> of pci_write_config_xxx() should have extra barriers, or that drivers
> should do belt-and-suspenders flushes to make sure config writes are
> really done properly?

Drivers are -already- written to assume the pci_write_config_xxx() has
the requisite barriers. The fix doesn't belong in the drivers.

Jeff



-
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/