diff options
author | Yinghai Lu <yinghai@kernel.org> | 2013-12-20 21:55:44 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-08 03:24:33 +0400 |
commit | d56dbf5bab8ce44c5407bb099f71987f58d18bb4 (patch) | |
tree | eb75a24b8515218bea59898b6da37e1152cbbe0f /drivers/pci/setup-bus.c | |
parent | f75b99d5a77d63f20e07bd276d5a427808ac8ef6 (diff) | |
download | linux-d56dbf5bab8ce44c5407bb099f71987f58d18bb4.tar.xz |
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>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions