Re: [PATCH 1/5 v3] PCI: honor child buses add_size in hot plugconfiguration

From: Jesse Barnes
Date: Mon Aug 01 2011 - 14:52:25 EST


On Mon, 25 Jul 2011 13:08:38 -0700
Ram Pai <linuxram@xxxxxxxxxx> wrote:

> From: Yinghai Lu <yinghai@xxxxxxxxxx>
>
> git commit c8adf9a3e873eddaaec11ac410a99ef6b9656938
> "PCI: pre-allocate additional resources to devices only after
> successful allocation of essential resources."
>
> fails to take into consideration the optional-resources needed by children
> devices while calculating the optional-resource needed by the bridge.
>
> This can be a problem on some setup. For example, if a hotplug bridge has 8
> children hotplug bridges, the bridge should have enough resources to accomodate
> the hotplug requirements for each of its children hotplug bridges. Currently
> this is not the case.
>
> This patch fixes the problem.

Just pulled these guys into my for-linus branch. They should be safe
since they're behind the new =realloc param, but please test.

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
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/