Skip to content

PCI: resource allocation related

Yinghai Lu linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 43 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11PCI: Should add children device res to fail listdrivers/pci/setup-bus.c+1 -10 replies
2/11PCI: Try to allocate mem64 above 4G at firstdrivers/pci/bus.c+13 -341 replies
3/11intel-gtt: Read 64bit for gmar_bus_addrdrivers/char/agp/intel-gtt.c+10 -42 replies
4/11PCI: Make sure assign same align with large size resource at firstdrivers/pci/setup-bus.c+5 -20 replies
5/11resources: Split out __allocate_resource()kernel/resource.c+21 -50 replies
6/11resource: make find_resource could return just fit resourcekernel/resource.c+56 -40 replies
7/11PCI: Don't allocate small resource in big empty space.drivers/pci/bus.c drivers/pci/setup-bus.c drivers/pci/setup-res.c +3 more+81 -210 replies
8/11resource: only return range with needed alignkernel/resource.c+13 -10 replies
9/11PCI: Add is_pci_iov_resource_idx()drivers/pci/setup-bus.c include/linux/pci.h+11 -40 replies
10/11PCI: Sort unassigned resources with correct alignmentdrivers/pci/setup-bus.c+26 -70 replies
11/11PCI: Treat ROM resource as optional during assigning.drivers/pci/setup-bus.c include/linux/pci.h+12 -140 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/11
2/11
3/11R-b
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] PCI: resource allocation related

From: Yinghai Lu <[email protected]>

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(-)
Signature · 1 line
1.7.7