[PATCH v9 28/60] PCI: Don't add too much optional size for hotplug bridge MMIO

2015-12-10 Thread Yinghai Lu
Current code will always add 2M for hotplug bridge MMIO even there is child device under it already. For example: 40:03.0 --- 43:00.0 --- 44:02.0 -+- 45:00.0 \- 45:00.1 44:02.0 will need 1M as must for 45:00.0 and 45:00.1 When we calculate

[PATCH v9 28/60] PCI: Don't add too much optional size for hotplug bridge MMIO

2015-12-10 Thread Yinghai Lu
Current code will always add 2M for hotplug bridge MMIO even there is child device under it already. For example: 40:03.0 --- 43:00.0 --- 44:02.0 -+- 45:00.0 \- 45:00.1 44:02.0 will need 1M as must for 45:00.0 and 45:00.1 When we calculate