Re: [PATCH 10/11] pciehp: add support for bridge resource reallocation

Yinghai Lu
2010-01-16T09:36:18Z

On 01/15/2010 08:59 PM, Alex Chiang wrote:
> * Yinghai Lu <yinghai@kernel.org>:
>> From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
>>
>> With this patch, pciehp driver try to clear PCI bridge resources to
>> parent bridge (root port or switch downstream port) of the slot
>>
>> so we can shrink pci bridge resource for those port
>>
>> This feature is enabled when 'pciehp_realloc' option is specified.
>>
>> -v2: make it could be appiled after Yinghai patchset that touch pci bridge
>> resource also remove poweron check, because pci_bridge_release_res will
>> check child at first
>
> Same comment as my earlier patch. Why not just make this the
> default behavior, instead of introducing yet another command line
> parameter for users to guess at?

it will break Eric's setup/

YH