commit | d56dbf5bab8ce44c5407bb099f71987f58d18bb4 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Fri Dec 20 10:55:44 2013 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jan 07 16:24:33 2014 -0700 |
tree | eb75a24b8515218bea59898b6da37e1152cbbe0f | |
parent | f75b99d5a77d63f20e07bd276d5a427808ac8ef6 [diff] |
PCI: Allocate 64-bit BARs above 4G when possible Try to allocate space for 64-bit BARs above 4G first, to preserve the space below 4G for 32-bit BARs. If there's no space above 4G available, fall back to allocating anywhere. [bhelgaas: reworked starting from http://lkml.kernel.org/r/1387485843-17403-2-git-send-email-yinghai@kernel.org] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>