[PATCH AUTOSEL for 4.9 096/156] PCI: Do not allocate more buses than available in parent

2017-12-07 Thread alexander . levin
From: Mika Westerberg [ Upstream commit a20c7f36bd3d20d245616ae223bb9d05dfb6f050 ] One can ask more buses to be reserved for hotplug bridges by passing pci=hpbussize=N in the kernel command line. If the parent bus does not have enough bus space available we

[PATCH AUTOSEL for 4.9 096/156] PCI: Do not allocate more buses than available in parent

2017-12-07 Thread alexander . levin
From: Mika Westerberg [ Upstream commit a20c7f36bd3d20d245616ae223bb9d05dfb6f050 ] One can ask more buses to be reserved for hotplug bridges by passing pci=hpbussize=N in the kernel command line. If the parent bus does not have enough bus space available we incorrectly create child bus with