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

From: Luis Chamberlain
Date: Tue Jun 22 2021 - 22:28:38 EST


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(-)

--
2.30.2