Skip to content

PCI: pci_host_bridge related cleanup

Yinghai Lu linux-pci lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11PCI: Separate host_bridge code out from probe.cdrivers/pci/Makefile drivers/pci/host-bridge.c drivers/pci/pci.h +1 more+97 -810 replies
2/11x86, PCI: have own version for pcibios_bus_to_resourcearch/x86/pci/i386.c drivers/pci/host-bridge.c+19 -40 replies
3/11x86, PCI: Fix memleak with get_current_resourcesarch/x86/pci/acpi.c+30 -190 replies
4/11PCI: rename pci_host_bridge() to find_pci_root_bridge()drivers/pci/host-bridge.c+13 -50 replies
5/11PCI: add generic device into pci_host_bridge structdrivers/pci/host-bridge.c drivers/pci/pci.h drivers/pci/probe.c +1 more+38 -480 replies
6/11PCI: add host bridge release supportdrivers/pci/host-bridge.c drivers/pci/probe.c include/linux/pci.h+15 -10 replies
7/11x86, PCI: break down get_current_resource()arch/x86/pci/acpi.c+13 -210 replies
8/11x86, PCI: add host bridge resource release for using _CRSarch/x86/pci/acpi.c+53 -130 replies
9/11x86, PCI: embed name acpi version pci_root_info structarch/x86/pci/acpi.c+2 -50 replies
10/11x86, PCI: Allocating pci_root_info for nocrs patharch/x86/pci/amd_bus.c arch/x86/pci/broadcom_bus.c arch/x86/pci/bus_numa.c +1 more+88 -840 replies
11/11x86, PCI: Merge root info printing for nocrs patharch/x86/pci/amd_bus.c arch/x86/pci/broadcom_bus.c arch/x86/pci/bus_numa.c +1 more+20 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -v2 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.

The patches need to apply to pci/for-linus and pci/linux-next

because one patch that is needed only get into pci/for-linus only

could get from

git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-next

-v2: remove several null checking requested by Bjorn

64c033c: x86, PCI: Merge root info printing for nocrs path 690fe82: x86, PCI: Allocating pci_root_info for nocrs path 2f7ea95: x86, PCI: embed name acpi version pci_root_info struct 2f79741: x86, PCI: add host bridge resource release for using _CRS 698ed24: x86, PCI: break down get_current_resource() 5acc80e: PCI: add host bridge release support
6068c94: PCI: add generic device into pci_host_bridge struct 6d34e92: PCI: rename pci_host_bridge() to find_pci_root_bridge()
bd114df: x86, PCI: Fix memleak with get_current_resources
e92c582: x86, PCI: have own version for pcibios_bus_to_resource 56f109d: PCI: Separate host_bridge code out from probe.c

Thanks

Yinghai Lu

 arch/x86/pci/acpi.c         |  116 +++++++++++++++++++++++-----------
 arch/x86/pci/amd_bus.c      |   78 +++++++----------------
 arch/x86/pci/broadcom_bus.c |   14 +---
 arch/x86/pci/bus_numa.c     |   86 +++++++++++++++++++-------
 arch/x86/pci/bus_numa.h     |   19 +++---
 arch/x86/pci/i386.c         |   14 ++++
 drivers/pci/Makefile        |    2 +-
 drivers/pci/host-bridge.c   |   97 +++++++++++++++++++++++++++++
 drivers/pci/probe.c         |  145 ++++++++++--------------------------------
 include/linux/pci.h         |    9 +++-
 10 files changed, 334 insertions(+), 246 deletions(-)
 create mode 100644 drivers/pci/host-bridge.c