[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1337754877-19759-1-git-send-email-yinghai@kernel.org>
Date: Tue, 22 May 2012 23:34:26 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Yinghai Lu <ying6hai@...nel.org>
Subject: [PATCH 00/11] PCI: resource allocation related
From: Yinghai Lu <ying6hai@...nel.org>
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists