]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI: handle subtractive decode pci-pci bridge better
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Tue, 7 Jun 2005 00:07:02 +0000 (04:07 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2005 20:35:50 +0000 (13:35 -0700)
commit90b54929b626c80056262d9d99b3f48522e404d0
treed5cb91ff7bd0ac9ffeab5f7bf68235e8b35d050c
parenta03fa955576af50df80bec9127b46ef57e0877c0
[PATCH] PCI: handle subtractive decode pci-pci bridge better

With the number of PCI bus resources increased to 8, we can
handle the subtractive decode PCI-PCI bridge like a normal
bridge, taking into account standard PCI-PCI bridge windows
(resources 0-2). This helps to avoid problems with peer-to-peer DMA
behind such bridges, poor performance for MMIO ranges outside bridge
windows and prefetchable vs. non-prefetchable memory issues.

To reflect the fact that such bridges do forward all addresses to
the secondary bus (transparency), remaining bus resources 3-7 are
linked to resources 0-4 of the primary bus. These resources will be
used as fallback by resource management code if allocation from
standard bridge windows fails for some reason.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/probe.c