Re: [PATCH v3 22/51] PCI: Add alt_size allocation support

2015-08-18 Thread Yinghai Lu
On Mon, Aug 17, 2015 at 5:03 PM, Bjorn Helgaas wrote: > On Mon, Jul 27, 2015 at 04:29:40PM -0700, Yinghai Lu wrote: >> On system with several pcie switches, BIOS allocate very tight resources >> to the bridge bar, and it is not aligned to min_align as kernel allocation >> code. > > I can't parse

Re: [PATCH v3 22/51] PCI: Add alt_size allocation support

2015-08-18 Thread Yinghai Lu
On Mon, Aug 17, 2015 at 5:03 PM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, Jul 27, 2015 at 04:29:40PM -0700, Yinghai Lu wrote: On system with several pcie switches, BIOS allocate very tight resources to the bridge bar, and it is not aligned to min_align as kernel allocation code. I

Re: [PATCH v3 22/51] PCI: Add alt_size allocation support

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:40PM -0700, Yinghai Lu wrote: > On system with several pcie switches, BIOS allocate very tight resources > to the bridge bar, and it is not aligned to min_align as kernel allocation > code. I can't parse this. > For example: >

Re: [PATCH v3 22/51] PCI: Add alt_size allocation support

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:40PM -0700, Yinghai Lu wrote: On system with several pcie switches, BIOS allocate very tight resources to the bridge bar, and it is not aligned to min_align as kernel allocation code. I can't parse this. For example: 02:03.0---0c:00.0---0d:04.0---18:00.0

[PATCH v3 22/51] PCI: Add alt_size allocation support

2015-07-27 Thread Yinghai Lu
On system with several pcie switches, BIOS allocate very tight resources to the bridge bar, and it is not aligned to min_align as kernel allocation code. For example: 02:03.0---0c:00.0---0d:04.0---18:00.0 18:00.0 need 0x1000, and 0x0001. BIOS only allocate 0x1010 to 0d:04.0

[PATCH v3 22/51] PCI: Add alt_size allocation support

2015-07-27 Thread Yinghai Lu
On system with several pcie switches, BIOS allocate very tight resources to the bridge bar, and it is not aligned to min_align as kernel allocation code. For example: 02:03.0---0c:00.0---0d:04.0---18:00.0 18:00.0 need 0x1000, and 0x0001. BIOS only allocate 0x1010 to 0d:04.0