mbox series

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

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

Message

Keith Busch Oct. 22, 2024, 10:48 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 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(-)

Comments

Bjorn Helgaas Oct. 23, 2024, 10:20 p.m. UTC | #1
On Tue, Oct 22, 2024 at 03:48:46PM -0700, Keith Busch wrote:
> 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 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(-)

Applied to pci/locking for v6.13, thanks Keith!