Re: [PATCH v5 1/3] PCI: Try to allocate mem64 above 4G at first

2013-12-19 Thread Yinghai Lu
On Wed, Dec 18, 2013 at 10:09 PM, Yinghai Lu wrote: > On system with more pcie cards, we do not have enough range under 4G > to allocate those pci devices. > > On 64bit system, we could try to allocate mem64 above 4G at first, > and fall back to below 4g if it can not find any above 4g. > > x86 32

[PATCH v5 1/3] PCI: Try to allocate mem64 above 4G at first

2013-12-18 Thread Yinghai Lu
On system with more pcie cards, we do not have enough range under 4G to allocate those pci devices. On 64bit system, we could try to allocate mem64 above 4G at first, and fall back to below 4g if it can not find any above 4g. x86 32bit without X86_PAE support will have bottom set to 0, because re