mbox series

[PATCHv2,0/5] pci cleanup/prep patches

Message ID 20240827192826.710031-1-kbusch@meta.com (mailing list archive)
Headers show
Series pci cleanup/prep patches | expand

Message

Keith Busch Aug. 27, 2024, 7:28 p.m. UTC
From: Keith Busch <kbusch@kernel.org>

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 v1: 

  Added the reviews and some minor commit log changes

  Dropped the more invasive patches for a later time

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    | 15 ++++++++++++--
 drivers/pci/remove.c | 20 ++++++++----------
 3 files changed, 38 insertions(+), 46 deletions(-)