Skip to content

vfio: export and make use of pci_dev_trylock()

Luis Chamberlain kvm linux-pci lkml 1 version Applied

Status from this message: Applied to vfio next branch for v5.14 with Bjorn's Ack, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: Export pci_dev_trylock() and pci_dev_unlock()drivers/pci/pci.c include/linux/pci.h+7 -21 reply
2/2vfio: use the new pci_dev_trylock() helper to simplify try lockdrivers/vfio/pci/vfio_pci.c+4 -72 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBjorn HelgaasCornelia HuckJason Gunthorpe
1/2A-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] vfio: export and make use of pci_dev_trylock()

This v2 series addreses the changes requested by Bjorn, namely:

- moved the new forward declarations next to pci_cfg_access_lock() as requested
- modify the subject patch for the first PCI patch

Luis Chamberlain (2):
PCI: Export pci_dev_trylock() and pci_dev_unlock()
vfio: use the new pci_dev_trylock() helper to simplify try lock

 drivers/pci/pci.c           |  6 ++++--
 drivers/vfio/pci/vfio_pci.c | 11 ++++-------
 include/linux/pci.h         |  3 +++
 3 files changed, 11 insertions(+), 9 deletions(-)
Signature · 1 line
2.30.2