Skip to content

: RPAPHP pci hotplug cleanup patchbomb

Linas Vepstas linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19PCI: rpaphp: Cleanup flow of control for rpaphp_add_slotdrivers/pci/hotplug/rpaphp_core.c+20 -202 replies
1/19PCI: rpaphp: Cleanup flow of control for rpaphp_add_slotdrivers/pci/hotplug/rpaphp_core.c+20 -200 replies
1/19PCI: rpaphp: Cleanup flow of control for rpaphp_add_slotdrivers/pci/hotplug/rpaphp_core.c+20 -200 replies
2/19PCI: rpaphp: Remove global num_slots variabledrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_slot.c+1 -70 replies
2/19PCI: rpaphp: Remove global num_slots variabledrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_slot.c+1 -70 replies
2/19PCI: rpaphp: Remove global num_slots variabledrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_slot.c+1 -70 replies
3/19PCI: rpaphp: match up alloc and free in same routinedrivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c drivers/pci/hotplug/rpaphp_slot.c+5 -20 replies
3/19PCI: rpaphp: match up alloc and free in same routinedrivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c drivers/pci/hotplug/rpaphp_slot.c+5 -20 replies
3/19PCI: rpaphp: match up alloc and free in same routinedrivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c drivers/pci/hotplug/rpaphp_slot.c+5 -20 replies
4/19PCI: rpaphp: Fix a memleak; slot->location string was never freeddrivers/pci/hotplug/rpaphp_slot.c+4 -50 replies
4/19PCI: rpaphp: Fix a memleak; slot->location string was never freeddrivers/pci/hotplug/rpaphp_slot.c+4 -50 replies
4/19PCI: rpaphp: Fix a memleak; slot->location string was never freeddrivers/pci/hotplug/rpaphp_slot.c+4 -50 replies
5/19PCI: rpaphp: Remove un-needed gotodrivers/pci/hotplug/rpaphp_slot.c+2 -42 replies
5/19PCI: rpaphp: Remove un-needed gotodrivers/pci/hotplug/rpaphp_slot.c+2 -40 replies
5/19PCI: rpaphp: Remove un-needed gotodrivers/pci/hotplug/rpaphp_slot.c+2 -40 replies
6/19PCI: rpaphp: remove a function that does nothing but wrap debug printk'sdrivers/pci/hotplug/rpaphp_pci.c+13 -240 replies
6/19PCI: rpaphp: remove a function that does nothing but wrap debug printk'sdrivers/pci/hotplug/rpaphp_pci.c+13 -240 replies
6/19PCI: rpaphp: remove a function that does nothing but wrap debug printk'sdrivers/pci/hotplug/rpaphp_pci.c+13 -240 replies
7/19PCI: rpaphp: Remve another call that is a wrapperdrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c +1 more+10 -220 replies
7/19PCI: rpaphp: Remve another call that is a wrapperdrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c +1 more+10 -220 replies
7/19PCI: rpaphp: Remve another call that is a wrapperdrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c +1 more+10 -220 replies
8/19PCI: rpaphp: Remove another wrappered functiondrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+29 -470 replies
8/19PCI: rpaphp: Remove another wrappered functiondrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+29 -470 replies
8/19PCI: rpaphp: Remove another wrappered functiondrivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+29 -470 replies
9/19PCI: rpaphp: remove a call that does nothing but a pointer lookupdrivers/pci/hotplug/rpaphp_core.c+2 -150 replies
9/19PCI: rpaphp: remove a call that does nothing but a pointer lookupdrivers/pci/hotplug/rpaphp_core.c+2 -150 replies
9/19PCI: rpaphp: remove a call that does nothing but a pointer lookupdrivers/pci/hotplug/rpaphp_core.c+2 -150 replies
10/19PCI: rpaphp: Remove setup_pci_slot()drivers/pci/hotplug/rpaphp_pci.c+33 -630 replies
10/19PCI: rpaphp: Remove setup_pci_slot()drivers/pci/hotplug/rpaphp_pci.c+33 -630 replies
11/19PCI: rpaphp: remove print_slot_pci_funcs()drivers/pci/hotplug/rpaphp_pci.c+7 -160 replies
11/19PCI: rpaphp: remove print_slot_pci_funcs()drivers/pci/hotplug/rpaphp_pci.c+7 -160 replies
12/19PCI: rpaphp: remove rpaphp_set_attention_status()drivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_slot.c+10 -242 replies
12/19PCI: rpaphp: remove rpaphp_set_attention_status()drivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_slot.c+10 -240 replies
13/19PCI: rpaphp: refactor tail call to rpaphp_register_slot()drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+4 -10 replies
13/19PCI: rpaphp: refactor tail call to rpaphp_register_slot()drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+4 -10 replies
14/19PCI: rpaphp: Rename rpaphp_register_pci_slot() to rpaphp_enable_slot()drivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+11 -50 replies
14/19PCI: rpaphp: Rename rpaphp_register_pci_slot() to rpaphp_enable_slot()drivers/pci/hotplug/rpaphp.h drivers/pci/hotplug/rpaphp_core.c drivers/pci/hotplug/rpaphp_pci.c+11 -50 replies
15/19PCI: rpaphp: Document find_php_slot()drivers/pci/hotplug/rpadlpar_core.c+13 -50 replies
15/19PCI: rpaphp: Document find_php_slot()drivers/pci/hotplug/rpadlpar_core.c+13 -50 replies
16/19PCI: rpaphp: Document is_php_dn()drivers/pci/hotplug/rpaphp_core.c+29 -130 replies
16/19PCI: rpaphp: Document is_php_dn()drivers/pci/hotplug/rpaphp_core.c+29 -130 replies
17/19PCI: rpaphp: Use pcibios_remove_pci_devices() symmetricallydrivers/pci/hotplug/rpaphp_core.c+2 -80 replies
17/19PCI: rpaphp: Use pcibios_remove_pci_devices() symmetricallydrivers/pci/hotplug/rpaphp_core.c+2 -82 replies
18/19PCI: rpaphp: Ensure more pcibios_add/pcibios_remove symmetrydrivers/pci/hotplug/rpadlpar_core.c+2 -70 replies
18/19PCI: rpaphp: Ensure more pcibios_add/pcibios_remove symmetrydrivers/pci/hotplug/rpadlpar_core.c+2 -70 replies
19/19PCI: rpaphp: Remove semaphoresdrivers/pci/hotplug/rpaphp_core.c+3 -350 replies
19/19PCI: rpaphp: Remove semaphoresdrivers/pci/hotplug/rpaphp_core.c+3 -350 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/19]: RPAPHP pci hotplug cleanup patchbomb

Hi Greg,

Please queue these cleanp patches for 2.6.22; cc'ing akpm.

This is a collection of very small patches that clean up various bits and pieces of the RPAPHP hotplug code. They eliminate about 100 lines of code, almost without changing any function; there are a few minor bugfixes to various error paths, and one memleak fix. Some documentation is added. The result is, I beleive, slightly more readable, easier to understand code. In particular, the enable/disable add/remove code paths are now more obviously symmetrical in thier function.

--linas