[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH -v3 00/11] PCI: pci_host_bridge related cleanup



will add struct device dev into host_bridge struct.
also will add release support to make sure allocated resource get
freed during root bus removal including hostbridge and pci_sysdata.

The patches need to apply to linus v3.3 plus pci/linux-next

could get from
        git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-hostbridge-cleanup

-v2: dropped the patch that is with x86 pcibios_bus_to_resource that Bjorn objected.
     reorder the patchesset to mold one appended patch into previous patch.
-v3: separate the patchset.

Thanks

Yinghai

Yinghai Lu (11):
  PCI: Separate host_bridge code out from probe.c
  x86, PCI: Fix memleak with get_current_resources()
  PCI: Rename pci_host_bridge() to find_pci_root_bridge()
  PCI: Add generic device into pci_host_bridge struct
  PCI: Add host bridge release support
  x86, PCI: Break down get_current_resource()
  x86, PCI: Add host bridge resource release for _CRS path
  x86, PCI: Embed name into pci_root_info struct
  x86, PCI: Embed pci_sysdata into pci_root_info on acpi path
  x86, PCI: Allocate pci_root_info for not using _CRS path
  x86, PCI: Merge root info printing for not using _CRS path

 arch/x86/pci/acpi.c         |  116 +++++++++++++++++++++-------------
 arch/x86/pci/amd_bus.c      |   78 +++++++----------------
 arch/x86/pci/broadcom_bus.c |   17 +----
 arch/x86/pci/bus_numa.c     |   86 +++++++++++++++++++-------
 arch/x86/pci/bus_numa.h     |   19 +++---
 drivers/pci/Makefile        |    2 +-
 drivers/pci/host-bridge.c   |   96 ++++++++++++++++++++++++++++
 drivers/pci/probe.c         |  146 +++++++++++--------------------------------
 include/linux/pci.h         |    9 +++-
 9 files changed, 313 insertions(+), 256 deletions(-)
 create mode 100644 drivers/pci/host-bridge.c

-- 
1.7.7

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


[Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Photo]     [Yosemite]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]


  Powered by Linux