Re: [PATCH v2] PCI: Equalize hotplug memory for non/occupied slots

2018-08-31 Thread Mika Westerberg
On Thu, Aug 30, 2018 at 04:12:00PM -0600, Jon Derrick wrote: > Currently, a hotplug bridge will be given hpmemsize additional memory if > available, in order to satisfy any future hotplug allocation > requirements. > > These calculations don't consider the current memory size of the hotplug >

Re: [PATCH v2] PCI: Equalize hotplug memory for non/occupied slots

2018-08-31 Thread Mika Westerberg
On Thu, Aug 30, 2018 at 04:12:00PM -0600, Jon Derrick wrote: > Currently, a hotplug bridge will be given hpmemsize additional memory if > available, in order to satisfy any future hotplug allocation > requirements. > > These calculations don't consider the current memory size of the hotplug >

[PATCH v2] PCI: Equalize hotplug memory for non/occupied slots

2018-08-30 Thread Jon Derrick
Currently, a hotplug bridge will be given hpmemsize additional memory if available, in order to satisfy any future hotplug allocation requirements. These calculations don't consider the current memory size of the hotplug bridge/slot, so hotplug bridges/slots which have downstream devices will get

[PATCH v2] PCI: Equalize hotplug memory for non/occupied slots

2018-08-30 Thread Jon Derrick
Currently, a hotplug bridge will be given hpmemsize additional memory if available, in order to satisfy any future hotplug allocation requirements. These calculations don't consider the current memory size of the hotplug bridge/slot, so hotplug bridges/slots which have downstream devices will get