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

From: Alex Williamson
Date: Fri Jun 25 2021 - 11:07:44 EST


On Fri, 25 Jun 2021 09:04:51 -0600
Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:

> On Tue, 22 Jun 2021 19:28:22 -0700
> Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote:
>
> > 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(-)
> >
>
> Applied to vfio next branch for v5.14 with Bjorn's Ack, thanks!

(and Jason & Conny's R-b)