linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Luis Chamberlain <mcgrof@kernel.org>,
	bhelgaas@google.com, alex.williamson@redhat.com, jgg@ziepe.ca,
	kevin.tian@intel.com, eric.auger@redhat.com,
	giovanni.cabiddu@intel.com, mjrosato@linux.ibm.com,
	jannh@google.com, kvm@vger.kernel.org, linux-pci@vger.kernel.org,
	schnelle@linux.ibm.com
Cc: minchan@kernel.org, gregkh@linuxfoundation.org,
	rafael@kernel.org, jeyu@kernel.org, ngupta@vflare.org,
	sergey.senozhatsky.work@gmail.com, mcgrof@kernel.org,
	axboe@kernel.dk, mbenes@suse.com, jpoimboe@redhat.com,
	tglx@linutronix.de, keescook@chromium.org, jikos@kernel.org,
	rostedt@goodmis.org, peterz@infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] vfio: use the new pci_dev_trylock() helper to simplify try lock
Date: Wed, 23 Jun 2021 11:31:15 +0200	[thread overview]
Message-ID: <87pmwdlyfw.fsf@redhat.com> (raw)
In-Reply-To: <20210623022824.308041-3-mcgrof@kernel.org>

On Tue, Jun 22 2021, Luis Chamberlain <mcgrof@kernel.org> wrote:

> Use the new pci_dev_trylock() helper to simplify our locking.
>
> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
> ---
>  drivers/vfio/pci/vfio_pci.c | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


  reply	other threads:[~2021-06-23  9:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  2:28 [PATCH v2 0/2] vfio: export and make use of pci_dev_trylock() Luis Chamberlain
2021-06-23  2:28 ` [PATCH v2 1/2] PCI: Export pci_dev_trylock() and pci_dev_unlock() Luis Chamberlain
2021-06-23  9:30   ` Cornelia Huck
2021-06-23  2:28 ` [PATCH v2 2/2] vfio: use the new pci_dev_trylock() helper to simplify try lock Luis Chamberlain
2021-06-23  9:31   ` Cornelia Huck [this message]
2021-06-23 18:20   ` Jason Gunthorpe
2021-06-23 18:17 ` [PATCH v2 0/2] vfio: export and make use of pci_dev_trylock() Alex Williamson
2021-06-25 15:04 ` Alex Williamson
2021-06-25 15:07   ` Alex Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmwdlyfw.fsf@redhat.com \
    --to=cohuck@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=bhelgaas@google.com \
    --cc=eric.auger@redhat.com \
    --cc=giovanni.cabiddu@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jannh@google.com \
    --cc=jeyu@kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=jikos@kernel.org \
    --cc=jpoimboe@redhat.com \
    --cc=keescook@chromium.org \
    --cc=kevin.tian@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mbenes@suse.com \
    --cc=mcgrof@kernel.org \
    --cc=minchan@kernel.org \
    --cc=mjrosato@linux.ibm.com \
    --cc=ngupta@vflare.org \
    --cc=peterz@infradead.org \
    --cc=rafael@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=schnelle@linux.ibm.com \
    --cc=sergey.senozhatsky.work@gmail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).