From: Keith Busch <kbusch@xxxxxxxxxx> This is a subset of a previous RFC bus lock patches that are simply good cleanups that should help make it easier to introduce different locking later. Changes from v2: Rebased to pci/next Added memory barriers around bit ops for patch 1. Added reviews. Keith Busch (5): pci: make pci_stop_dev concurrent safe pci: make pci_destroy_dev concurrent safe pci: move the walk bus lock to where its needed pci: walk bus recursively pci: unexport pci_walk_bus_locked drivers/pci/bus.c | 49 +++++++++++++++----------------------------- drivers/pci/pci.h | 17 +++++++++++++-- drivers/pci/remove.c | 22 +++++++++----------- 3 files changed, 41 insertions(+), 47 deletions(-) -- 2.43.5