From: Christoph Hellwig <hch@lst.de>
To: Jason Wang <jasowang@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>,
mst@redhat.com, axboe@kernel.dk, pbonzini@redhat.com,
virtualization@lists.linux-foundation.org,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/9] virtio_pci: remove struct virtio_pci_vq_info
Date: Fri, 3 Feb 2017 09:22:50 +0100 [thread overview]
Message-ID: <20170203082250.GA26800@lst.de> (raw)
In-Reply-To: <a5568074-d92e-8322-6955-19c640006fda@redhat.com>
On Fri, Feb 03, 2017 at 03:54:36PM +0800, Jason Wang wrote:
>> + list_for_each_entry(vq, &vp_dev->vdev.vqs, list) {
>> + if (vq->callback && vring_interrupt(irq, vq) == IRQ_HANDLED)
>
> The check of vq->callback seems redundant, we will check it soon in
> vring_interrupt().
Good point - I wanted to keep things exactly as-is and dіdn't notice
we were already protected.
next prev parent reply other threads:[~2017-02-03 8:22 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 8:16 automatic IRQ affinity for virtio V2 Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-01-27 8:16 ` [PATCH 1/9] virtio_pci: remove struct virtio_pci_vq_info Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 7:54 ` Jason Wang
2017-02-03 7:54 ` Jason Wang
2017-02-03 8:22 ` Christoph Hellwig
2017-02-03 8:22 ` Christoph Hellwig [this message]
2017-01-27 8:16 ` [PATCH 2/9] virtio_pci: use shared interrupts for virtqueues Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 7:54 ` Jason Wang
2017-02-03 8:26 ` Christoph Hellwig
2017-02-03 8:26 ` Christoph Hellwig
2017-02-03 9:47 ` Jason Wang
2017-02-03 9:47 ` Jason Wang
2017-02-03 9:52 ` Christoph Hellwig
2017-02-03 9:52 ` Christoph Hellwig
2017-02-03 9:56 ` Jason Wang
2017-02-03 9:56 ` Jason Wang
2017-02-03 7:54 ` Jason Wang
2017-01-27 8:16 ` [PATCH 3/9] virtio_pci: don't duplicate the msix_enable flag in struct pci_dev Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 7:56 ` Jason Wang
2017-02-03 7:56 ` Jason Wang
2017-01-27 8:16 ` [PATCH 4/9] virtio_pci: simplify MSI-X setup Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 7:57 ` Jason Wang
2017-02-03 7:57 ` Jason Wang
2017-01-27 8:16 ` [PATCH 5/9] virtio: allow drivers to request IRQ affinity when creating VQs Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 8:01 ` Jason Wang
2017-02-03 8:01 ` Jason Wang
2017-01-27 8:16 ` [PATCH 6/9] virtio: provide a method to get the IRQ affinity mask for a virtqueue Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-02-03 8:02 ` Jason Wang
2017-02-03 8:02 ` Jason Wang
2017-01-27 8:16 ` [PATCH 7/9] blk-mq: provide a default queue mapping for virtio device Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-01-27 8:16 ` [PATCH 8/9] virtio_blk: use virtio IRQ affinity Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
2017-01-27 8:16 ` [PATCH 9/9] virtio_scsi: " Christoph Hellwig
2017-01-27 8:16 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2017-02-05 17:15 automatic IRQ affinity for virtio V3 Christoph Hellwig
2017-02-05 17:15 ` [PATCH 1/9] virtio_pci: remove struct virtio_pci_vq_info Christoph Hellwig
2017-02-05 17:15 ` Christoph Hellwig
2017-02-07 7:17 ` Jason Wang
2017-02-07 7:17 ` Jason Wang
2017-02-07 9:38 ` Christoph Hellwig
2017-02-07 9:38 ` Christoph Hellwig
2017-02-08 2:52 ` Jason Wang
2017-02-08 2:52 ` Jason Wang
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=20170203082250.GA26800@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=jasowang@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.