Path: csiph.com!news.freedyn.net!newsfeed.datemas.de!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!news.spin.it!bofh.it!news.nic.it!robomod From: Christoph Hellwig Newsgroups: linux.kernel Subject: automatic interrupt affinity for MSI/MSI-X capable devices V2 Date: Tue, 14 Jun 2016 22:00:02 +0200 Message-ID: X-Original-To: tglx@linutronix.de, axboe@fb.com 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: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 24 Organization: linux.* mail to news gateway X-Original-Cc: linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org X-Original-Date: Tue, 14 Jun 2016 21:58:53 +0200 X-Original-Message-ID: <1465934346-20648-1-git-send-email-hch@lst.de> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1422263 This series enhances the irq and PCI code to allow spreading around MSI and MSI-X vectors so that they have per-cpu affinity if possible, or at least per-node. For that it takes the algorithm from blk-mq, moves it to a common place, and makes it available through a vastly simplified PCI interrupt allocation API. It then switches blk-mq to be able to pick up the queue mapping from the device if available, and demonstrates all this using the NVMe driver. There also is a git tree available at: git://git.infradead.org/users/hch/block.git Gitweb: http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/msix-spreading.4 Changes since V1: - irq core improvements to properly assign the affinity before request_irq (tglx) - better handling of the MSI vs MSI-X differences in the low level MSI allocator (hch and tglx) - various improvements to pci_alloc_irq_vectors (hch) - remove blk-mq hardware queue reassigned on hotplug cpu events (hch) - forward ported to Jens' current for-next tree (hch)