PCI: pci_host_bridge related cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | PCI: Separate host_bridge code out from probe.cdrivers/ drivers/ drivers/ +1 more | +97 | 0 replies | |
| 2/11 | x86, PCI: Fix memleak with get_current_resources()arch/ | +30 | 0 replies | |
| 3/11 | PCI: Rename pci_host_bridge() to find_pci_root_bridge()drivers/ | +13 | 0 replies | |
| 4/11 | PCI: Add generic device into pci_host_bridge structdrivers/ drivers/ drivers/ +1 more | +39 | 0 replies | |
| 5/11 | PCI: Add host bridge release supportdrivers/ drivers/ include/ | +15 | 0 replies | |
| 6/11 | x86, PCI: Break down get_current_resource()arch/ | +13 | 0 replies | |
| 7/11 | x86, PCI: Add host bridge resource release for _CRS patharch/ | +51 | 0 replies | |
| 8/11 | x86, PCI: Embed name into pci_root_info structarch/ | +2 | 0 replies | |
| 9/11 | x86, PCI: Embed pci_sysdata into pci_root_info on acpi patharch/ | +4 | 0 replies | |
| 10/11 | x86, PCI: Allocate pci_root_info for not using _CRS patharch/ arch/ arch/ +1 more | +88 | 0 replies | |
| 11/11 | x86, PCI: Merge root info printing for not using _CRS patharch/ arch/ arch/ +1 more | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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
Signature · 1 line
1.7.7