mbox series

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

Message ID 20210623022824.308041-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series vfio: export and make use of pci_dev_trylock() | expand

Message

Luis Chamberlain June 23, 2021, 2:28 a.m. UTC
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(-)

Comments

Alex Williamson June 23, 2021, 6:17 p.m. UTC | #1
On Tue, 22 Jun 2021 19:28:22 -0700
Luis Chamberlain <mcgrof@kernel.org> 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

Looks ok to me and I assume by Bjorn's Ack that he's expecting it to go
through my tree.  I'll give a bit of time to note otherwise if that's
not the case.  Thanks,

Alex

> 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(-)
>
Alex Williamson June 25, 2021, 3:04 p.m. UTC | #2
On Tue, 22 Jun 2021 19:28:22 -0700
Luis Chamberlain <mcgrof@kernel.org> 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!

Alex
Alex Williamson June 25, 2021, 3:07 p.m. UTC | #3
On Fri, 25 Jun 2021 09:04:51 -0600
Alex Williamson <alex.williamson@redhat.com> wrote:

> On Tue, 22 Jun 2021 19:28:22 -0700
> Luis Chamberlain <mcgrof@kernel.org> 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)