Re: [PATCH] pci: pciehp update the slot bridge res to get bigrange for pcie devices
From: Alex Chiang
Date: Wed Oct 21 2009 - 14:57:24 EST
* Yinghai Lu <yinghai@xxxxxxxxxx>:
> @@ -144,9 +182,6 @@ static void pci_setup_bridge(struct pci_
> u32 l, bu, lu, io_upper16;
> int pref_mem64;
>
> - if (pci_is_enabled(bridge))
> - return;
> -
> dev_info(&bridge->dev, "PCI bridge, secondary bus %04x:%02x\n",
> pci_domain_nr(bus), bus->number);
Have you tested this with the hotplug facilities I added a while
back?
Basically, what happens when you offline a bridge using
/sys/bus/pci/devices/.../remove
And then re-add it using:
/sys/bus/pci/rescan
Please try this both for bridges that are claimed by pciehp as
well as bridges that are not claimed.
Thanks.
/ac
--
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/