From: Yinghai Lu <ying6hai@xxxxxxxxxx> This patchset will try to make allocation to find suitable assignement. 1. will try to assign 64 bit resource above 4g at first. 2. will find space that is matched with needed size 3. will put resource in right location to leave more big alignment with left blank resource 4. will try option rom BAR as optional resources. Could be found: git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-res-alloc and it is based on pci for-3.6 branch. Thanks Yinghai Lu Yinghai Lu (11): PCI: Should add children device res to fail list PCI: Try to allocate mem64 above 4G at first intel-gtt: Read 64bit for gmar_bus_addr PCI: Make sure assign same align with large size resource at first resources: Split out __allocate_resource() resource: make find_resource could return just fit resource PCI: Don't allocate small resource in big empty space. resource: only return range with needed align PCI: Add is_pci_iov_resource_idx() PCI: Sort unassigned resources with correct alignment PCI: Treat ROM resource as optional during assigning. drivers/char/agp/intel-gtt.c | 14 ++++-- drivers/pci/bus.c | 38 +++++++++++--- drivers/pci/setup-bus.c | 78 ++++++++++++++++++----------- drivers/pci/setup-res.c | 28 +++++++---- include/linux/ioport.h | 8 +++ include/linux/pci.h | 23 ++++++++ kernel/resource.c | 114 ++++++++++++++++++++++++++++++++++++++--- 7 files changed, 243 insertions(+), 60 deletions(-) -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html