From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993561AbcKQKne (ORCPT ); Thu, 17 Nov 2016 05:43:34 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:54784 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993500AbcKQKna (ORCPT ); Thu, 17 Nov 2016 05:43:30 -0500 From: Christoph Hellwig To: mst@redhat.com Cc: axboe@kernel.dk, virtualization@lists.linux-foundation.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: automatic IRQ affinity for virtio Date: Thu, 17 Nov 2016 11:43:12 +0100 Message-Id: <1479379403-27880-1-git-send-email-hch@lst.de> X-Mailer: git-send-email 2.1.4 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, this series contains a couple cleanups for the virtio_pci interrupt handling code, including a switch to the new pci_irq_alloc_vectors helper, and support for automatic affinity by the PCI layer if the consumers ask for it. It then converts over virtio_blk to use this functionality so that it's blk-mq queues are aligned to the MSI-X vector routing. I have a similar patch in the queue for virtio-scsi, but that would require pulling in the SCSI tree, so I'm not sure if you'd like it for this window, but if you do I can send it in another series. The third driver using per-CPU virtqueues is virtio_net, but that will take some more time as I haven't started work on the networking infrastructure yet. Note that these patches require core IRQ changes from a stable branch in the tip tree to be pulled in first: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-block Gitweb: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/log/?h=irq/for-block