[PATCH -v2 00/26] PCI, x86: Add for_each_res and addon resource support

From: Yinghai Lu
Date: Mon Mar 19 2012 - 01:49:32 EST


Make device resource loop easier and readable.
Also add addon_resource support about non-stanard resources.

The patches need to apply to pci/for-linus and pci/linux-next
[PATCH -v3] PCI: pci_host_bridge related cleanup
[PATCH -v11] PCI: allocate pci bus num range for unassigned bridge busn
[PATCH -v3] PCI, x86: pci root bus hotplug support

could get from
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-for-each-res-addon

-v2: Split to small patches.

Thanks

Yinghai

Yinghai Lu (26):
PCI: Add pci_dev_resource_n()
PCI: Add for_each_resource helpers to make resource loop easier.
PCI: Add pci_dev_resource_idx()
PCI: Update pci_resource_start to use pci_dev_resource_n()
x86, PCI: Use for_each_res with pci_allocate_bridge_resources
x86, PCI: Use for_each_res with pci_allocate_dev_resources
PCI: Use for_each_res with IOV releated funcs
PCI, acpiphp: Use for_each_pci_dev_resource helper
PCI, pciehp: Use for_each_pci_dev_resource helper
PCI: Use for_each_pci_dev_resource pci_enable_dev
PCI: Use for_each_pci_dev_resource pci_reassigndev
PCI: Use for_each_res with pci bar reassign funcs
PCI: Use for_each_res pci_assign_resource
PCI: Use for_each_res with noassign_bars
PCI: Use for_each_res pci bases pci_dev_driver()
PCI: Use for_each_res pci release release
PCI: Use for_each_res pci bases reading
PCI: Use for_each_res with mrs
PCI: Use for_each_res with xen pci
PCI: Add addon_resource support for pci_dev
PCI: Add helpers for add addon_resource
PCI: Update pci_resource_bar() to support addon_resource
PCI: Make assign/update resource to support addon_res
PCI: Make piix4 quirk to use addon_resource support
PCI: Make quirk_io_region to use addon_resource support
PCI: Use addon_fixed_resource with ati fixed resource

arch/x86/pci/common.c | 3 +-
arch/x86/pci/i386.c | 57 +++-----
arch/x86/pci/mrst.c | 7 +-
drivers/pci/hotplug/acpiphp_glue.c | 4 +-
drivers/pci/hotplug/pciehp_hpc.c | 5 +-
drivers/pci/iov.c | 31 ++---
drivers/pci/pci-driver.c | 6 +-
drivers/pci/pci.c | 28 +++--
drivers/pci/probe.c | 114 ++++++++++++++++-
drivers/pci/quirks.c | 256 +++++++++++++++++++++---------------
drivers/pci/remove.c | 5 +-
drivers/pci/setup-bus.c | 28 ++---
drivers/pci/setup-res.c | 38 ++++--
drivers/pci/xen-pcifront.c | 4 +-
include/linux/pci.h | 79 +++++++++++-
15 files changed, 446 insertions(+), 219 deletions(-)

--
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/