[patch] pci: revert "PCI: remove transparent bridge sizing"

From: Ingo Molnar
Date: Wed Mar 26 2008 - 09:56:11 EST



* Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> wrote:

> Thomas, can you put CONFIG_RESOURCES_64BIT=y back and either revert
> commit 8fa5913d54f3b1e09948e6a0db34da887e05ff1f, or just comment out
> these two lines in drivers/pci/setup-bus.c:
>
> if (bus->self->transparent)
> break;
>
> and check if it helps?

alternatively, try x86.git/latest which has the revert below included.

Ingo

------------------>
Subject: pci: revert "PCI: remove transparent bridge sizing"
From: Ingo Molnar <mingo@xxxxxxx>
Date: Wed Mar 26 14:38:07 CET 2008

revert commit 8fa5913d54f3b1e09948e6a0db34da887e05ff1f as it is wrong.

Requested by Ivan Kokshaysky.

Signed-off-by-if-Thomas-reports-success: Ingo Molnar <mingo@xxxxxxx>
---
drivers/pci/setup-bus.c | 5 -----
1 file changed, 5 deletions(-)

Index: linux-x86.q/drivers/pci/setup-bus.c
===================================================================
--- linux-x86.q.orig/drivers/pci/setup-bus.c
+++ linux-x86.q/drivers/pci/setup-bus.c
@@ -486,12 +486,7 @@ void __ref pci_bus_size_bridges(struct p
break;

case PCI_CLASS_BRIDGE_PCI:
- /* don't size subtractive decoding (transparent)
- * PCI-to-PCI bridges */
- if (bus->self->transparent)
- break;
pci_bridge_check_ranges(bus);
- /* fall through */
default:
pbus_size_io(bus);
/* If the bridge supports prefetchable range, size it
--
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/